Created
June 6, 2014 19:09
-
-
Save eliperkins/b367ec0aafc1ad42142d to your computer and use it in GitHub Desktop.
UIView animateWithDuration in Swift
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.animateWithDuration(1) { | |
view.center = CGPoint(x: 500, y: 0) | |
view.alpha = 0 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment