Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
All animations in iOS, ever
[UIView beginAnimations:nil context:NULL];
[UIView setAnimationDelegate:self];
[UIView setAnimationDuration:duration];
[UIView setAnimationDelay:delay];
[UIView setAnimationBeginsFromCurrentState:YES];
[UIView setAnimationCurve:UIViewAnimationCurveEaseOut];
//Change the property of the view (size, transparency etc) that you want to animate
[UIView commitAnimations];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.