Graphics Programs Reference
In-Depth Information
Spinning with CABasicAnimation
In this section, you are going to use an animation object to spin the implicit layer of the
(Recall that an implicit layer is a layer created by a view when the view is instantiated. The
time field is a
UILabel
, which is a subclass of
UIView
, so it has an implicit layer that
we can animate.)
Figure 23.5 Current time mid-spin
Open
HypnoTime.xcodeproj
.