Skip to content

Instantly share code, notes, and snippets.

@Gaia-Murata
Last active August 29, 2015 14:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Gaia-Murata/80aaee4d8b6ef4f86c08 to your computer and use it in GitHub Desktop.
Save Gaia-Murata/80aaee4d8b6ef4f86c08 to your computer and use it in GitHub Desktop.
BasicAnimation.m
POPBasicAnimation *anim =
[POPBasicAnimation animationWithPropertyNamed:kPOPViewAlpha];
anim.timingFunction =
[CAMediaTimingFunction functionWithName:
kCAMediaTimingFunctionEaseInEaseOut];
anim.duration = 3.0f;
anim.fromValue = @(0.0);
anim.toValue = @(1.0);
[_basicSampleView pop_addAnimation:anim forKey:@"fade"];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment