Created
June 2, 2010 00:38
-
-
Save Me1000/421750 to your computer and use it in GitHub Desktop.
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
| var animationDict3 = [CPDictionary new]; | |
| [animationDict3 setValue:topArea forKey:CPViewAnimationTargetKey]; | |
| [animationDict3 setValue:frame3 forKey:CPViewAnimationStartFrameKey]; | |
| [animationDict3 setValue:targetFrame3 forKey:CPViewAnimationEndFrameKey]; | |
| [animationDict3 setValue:nil forKey:CPViewAnimationEffectKey]; | |
| animation = [[CPViewAnimation alloc] initWithViewAnimations:[animationDict, animationDict2, animationDict3]]; | |
| [animation setDuration:.3]; | |
| [animation setDelegate:self]; | |
| [animation startAnimation]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment