Skip to content

Instantly share code, notes, and snippets.

@Me1000
Created June 2, 2010 00:38
Show Gist options
  • Select an option

  • Save Me1000/421750 to your computer and use it in GitHub Desktop.

Select an option

Save Me1000/421750 to your computer and use it in GitHub Desktop.
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