Created
September 5, 2011 20:23
-
-
Save Krizzzn/1195836 to your computer and use it in GitHub Desktop.
Objective-C: Animation Block in Cocoa Touch
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.0 | |
delay: 0.0 | |
options: UIViewAnimationOptionCurveEaseIn | |
animations:^{ | |
self.view.alpha = 0.0; | |
drawingVC.view.alpha = 0.0; | |
drawingVC.view.frame = CGRectMake(400, 400, 400, 400); | |
} | |
completion:nil]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sample, because I keep forgetting