sebastienwindal / frdlivelybutton Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Hey, I have a Issue with PKRevealController.
I set the button in the BaseViewController in the viewdidload.
After maybe 4-5 viewcontroller changes the app crashed.
BaseViewController
- (void)viewDidLoad{
[super viewDidLoad]
// Do any additional setup after loading the view.
if (self.revealController){
menuBt = [[FRDLivelyButton alloc] initWithFrame:CGRectMake(0,0,36,28)];
[menuBt setStyle:kFRDLivelyButtonStyleHamburger animated:NO];
[menuBt addTarget:self action:@selector(menuAction:) forControlEvents:UIControlEventTouchUpInside];
[menuBt setOptions:@{ kFRDLivelyButtonLineWidth: @(2.0f),
kFRDLivelyButtonHighlightedColor: [UIColor colorWithWhite:1. alpha:0.5],
kFRDLivelyButtonColor: [UIColor whiteColor]
}];
UIBarButtonItem *buttonItem = [[UIBarButtonItem alloc] initWithCustomView:menuBt];
self.navigationItem.rightBarButtonItem = buttonItem;
self.revealController.delegate = self;
}
Any idea what can I do?
With iPhone 6 Plus it would be nice to have support for FRDLivelyButton when the display is running @3x.
I think this can run on iOS 6.0.
Why did you set required version to iOS 6.1?
Hi!
I've put lively button on top right in navigation bar of modal viewconroller and added dismissViewController as a handler. And right in the moment I tap on this button crash happens. Brief analysis shows that message have been sent to deallocated instance. That happens in showUnHighlight when block is being called after dealloc. I placed this into dealloc to fix the issue:
[self.layer removeAllAnimations];
self.shapeLayers = nil;
Could you verify this issue?
Thanks.
Hi!
Would it be hard for you to add such a popular icons like: share (export), retry (reload) and a checkmark? Appreciate if you could do that. Thanks.
Can You Put Swift version of this buttons?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.