Skip to content

Instantly share code, notes, and snippets.

@Gaia-Murata
Created May 14, 2014 11:17
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/29fb62f5b7cf3f57c4bc to your computer and use it in GitHub Desktop.
Save Gaia-Murata/29fb62f5b7cf3f57c4bc to your computer and use it in GitHub Desktop.
mcAnimateBlock.m
[NSObject animate:^{
_mcAnimateSampleView.springBounciness = 24.0f;
_mcAnimateSampleView.springSpeed = 10.0f;
_mcAnimateSampleView.spring.pop_scaleXY = CGPointMake(2.f, 2.f);
} completion:^(BOOL finished) {
//ScaleAnimation実行後にX軸で回転を加える
_mcAnimateSampleView.layer.pop_duration = 4;
_mcAnimateSampleView.layer.easeInEaseOut.pop_rotationX = 60.0f;
}];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment