在开发中我们少不了要用到动画,在常用的动画类中,一般我们会用到
CAAnimation
隐式动画与CATransaction
CAAnimation 动画的暂停和恢复
UIViewAnimationOptions
CAKeyframeAnimation
iOS 动画之弹性 Spring
CAAnimation
provides the basic support for theCAMediaTiming
andCAAction
protocols. You do not create instance ofCAAnimation
: to animate Core Animation layers or SceneKit objects, create instances of the concrete subclassesCABasicAnimation
,CAKeyframeAnimation
,CAAnimationGroup
, orCATransition
.
翻译:
CAAnimation为CAMediaTiming和CAAction协议提供基本支持。您不创建CAAnimation的实例:要为Core Animation图层或SceneKit对象设置动画,请创建具体子类CABasicAnimation,CAKeyframeAnimation,CAAnimationGroup或CATransition的实例。
网友评论