摘要: 在网上经常看到关于layer的tree的描述,不太理解,今天找到了官方文档,原文在Core Animation Programming Guide 中。Layer Trees Reflect Different Aspects of the Animation StateAn app using Core Animation has three sets of layer objects. Each set of layer objects has a different role in making the content of your app appear onscreen:Object 阅读全文
posted @ 2013-12-24 16:51 幻化成疯 阅读(1513) 评论(0) 推荐(0)
摘要: 与动画有关的几个类的继承关系涉及到动画的类主要有6个,看一下它们的基本用途:1. CAAnimation动画基类2. CAAnimationGroup组合多个动画3. CAPropertyAnimationCAPropertyAnimationis an abstract subclass ofCAAnimationfor creating animations that manipulate the value of layer properties. The property is specified using a key path that is relative to the lay 阅读全文
posted @ 2013-12-24 15:13 幻化成疯 阅读(820) 评论(0) 推荐(0)