Created
October 6, 2014 13:52
-
-
Save vikdenic/06409309b275d7bc950b to your computer and use it in GitHub Desktop.
Animate UILabel's alpha
This file contains hidden or 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
| //Animate the tipLabel's alpha changing from 0 to 1 over the period of 1.2 seconds | |
| tipLabel.alpha = 0 | |
| UIView.animateWithDuration(1.2, animations: { () -> Void in | |
| self.tipLabel.alpha = 1 | |
| }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment