Created
October 2, 2013 09:36
-
-
Save chbeer/6791293 to your computer and use it in GitHub Desktop.
How to animate changing the textColor of a UILabel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[UIView transitionWithView:nameLabel | |
duration:0.25 | |
options:UIViewAnimationOptionTransitionCrossDissolve | |
animations:^{ | |
[nameLabel setTextColor:textColor]; | |
} | |
completion:nil]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment