一、案例:https://github.com/sindrilin/Animations
二、国外:https://github.com/tapharmonic(出自:http://www.bobmccune.com/)
三、书上的案例:https://zsisme.gitbooks.io/ios-/content/chapter14/loading-and-latency.html
----------------分割线--------------
一、.继承关系:[CAKeyFrameAnimation|CABasicAnimation]:CAPropertyAnimation:CAAnimation;
2.CAKeyFrameAnimation paths和Values是不会同时生效的;
【详细看树叶下落的例子】
3.专场动画CATransition
4.组动画:CAAnimationGroup
[animationGroup setAnimations:@[rotationAnimation, scaleAnimation]];
5.2rotationAnimation.timingFunction = [CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionEaseInEaseOut];
二、回调:CAAnimationDelegate
- (void)animationDidStart:(CAAnimation *)anim;
- (void)animationDidStop:(CAAnimation *)anim finished:(BOOL)flag;
三、CATransaction
startProgress?
四、弹簧
CASpringAnimation(详解:http://www.jianshu.com/p/90a7a1787d1b)
网友评论