INTUAnimationEngine是一个动画引擎,可以方便地定制很多动画效果。可以自定义动画,自定义动画时间,自定义动画完成的回调等等。
示例代码:
+ (INTUAnimationID)animateWithDuration:(NSTimeInterval)duration delay:(NSTimeInterval)delay easing:(INTUEasingFunction)easingFunction animations:(void (^)(CGFloat progress))animations completion:(void (^)(BOOL finished))completion;