-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UIButton & TOMSMorphingLabel #23
Comments
+1 tried some quick hacking here but with no good results =/ |
@tomknig @cytryn Hadn't actually given this a try until now, but it's a fairly simple solution. At first glance your gut may be telling you to simply set your Here's a quick code sample that should work out of the box (Make sure you define TOMSMorphingLabel *animatedButtonLabel = [[TOMSMorphingLabel alloc] init];
animatedButtonLabel.frame = self.testButton.bounds;
animatedButtonLabel.text = @"Your animated text goes here";
[self.testButton addSubview:animatedButtonLabel]; Note: By setting your |
Great idea... 👍 |
@tomknig No problem. Anything to help. Maybe you could add an example in the demo and / or description for others to easily come across. 😎 |
Cool! I'll do that as soon as possible and let you know! :) |
I would love to see UIButton's label support the morphing effect! Great job btw!
The text was updated successfully, but these errors were encountered: