Graphics Programs Reference
In-Depth Information
23
Controlling Animation with CAAnimation
An animation object drives change over time. An animation object is an instruction set
(“move from point A to point B over 2 seconds”) that can be added to a
CALayer
in-
stance. When an animation object is added to a layer, that layer begins following the in-
structions of the animation. Many properties of
CALayer
can be animated by animation
objects:
opacity
,
position
,
transform
,
bounds
, and
contents
are just a few.