Graphics Reference
In-Depth Information
CHAPTER 13
IN THIS CHAPTER
Core Animation
on the iPhone
. The (Cold Hard) Facts About
Core Animation on the iPhone
. Building a Core Animation
Application for Cocoa Touch
. Core Animation and Cocoa
Touch Example
. Doing Animations at the
UIView Level
U ntil now, we discussed Core Animation as it exists on
the desktop. However, Core Animation is also available as
part of Cocoa Touch, which runs on the iPhone and iPod
touch. When it comes to Cocoa Touch, Core Animation is
a foundational part of the user interface for those devices.
As the story goes, Core Animation was originally written
for Cocoa Touch and then exported to Mac OS X Leopard
and expanded for use in desktop applications. Considering
how intertwined Core Animation is with the entire user
interface, it certainly makes sense.
In this chapter, we walk through a few example projects
that utilize Core Animation on Cocoa Touch. Each project
demonstrates a different way to use Core Animation
effectively.
As with the desktop version of Core Animation, there is no
single right away to use the API. Core Animation is
designed to be extremely flexible and useful in a variety of
situations. With Core Animation developed originally for
Cocoa Touch, it is even more flexible than its desktop
counterpart.
The (Cold Hard) Facts About
Core Animation on the iPhone
As noted in the introduction, Core Animation was origi-
nally developed for Cocoa Touch for the iPhone, and was
originally known as Layer Kit. However, several features of
Core Animation are not available, or at least not exposed,
 
 
Search WWH ::




Custom Search