与动画有关的几个类的继承关系 涉及到动画的类主要有6个,看一下它们的基本用途: 1. CAAnimation 动画基类 2. CAAnimationGroup 组合多个动画 3. CAPropertyAnimation CAPropertyAnimation is an abstract subclass of CAAnimation for creating animations that manipulate the value of layer properties. The prope
在网上经常看到关于layer的tree的描述,不太理解,今天找到了官方文档,原文在Core Animation Programming Guide 中. Layer Trees Reflect Different Aspects of the Animation State An app using Core Animation has three sets of layer objects. Each set of layer objects has a different role in m
一.核心动画 l 核心动画基本概念 l 基本动画 l 关键帧动画 l 动画组 l 转场动画 l Core Animation是一组非常强大的动画处理API,使用它能做出非常炫丽的动画效果,而且往往是事半功倍! l 使用它需要先添加QuartzCore.framework和引入对应的框架<QuartzCore/QuartzCore.h> l 开发步骤: 初始化一个动画对象(CAAnimation)并设置一些动画相关属性 CALayer中很多属性都可以通过CAAnimation实现动画效果,包括: