This eBook includes the following formats, accessible from your Account page after purchase:
EPUB The open industry format known for its reflowable content and usability on supported mobile devices.
PDF The popular standard, used most often with the free Adobe® Reader® software.
This eBook requires no passwords or activation to read. We customize your eBook by discreetly watermarking it with your name, making it uniquely yours.
Apple’s Core Animation framework enables Mac OS X, iPhone, and iPod touch developers to create richer, more visual applications—more easily than ever and with far less code. Now, there’s a comprehensive, example-rich, full-color reference to Core Animation for experienced OS X and iPhone developers who want to make the most of this powerful framework.
Marcus Zarra and Matt Long reveal exactly what Core Animation can and can’t do, how to use it most effectively—and how to avoid misusing it. Building on your existing knowledge of Objective-C, Cocoa, and Xcode, they present expert techniques, insights, and downloadable code for all aspects of Core Animation programming, from keyframing to movie playback.
Zarra and Long thoroughly review similarities and differences between Core Animation on the Mac and iPhone, helping you write code that can easily move between platforms. They also present a full chapter of innovative techniques and proven “rules of thumb” for optimizing Core Animation’s real-world performance.
Part I: Getting Started with Core Animation
Chapter 1: What Is Core Animation? 3
Chapter 2: What Can and Should I Animate? 15
Part II: Core Animation Fundamentals
Chapter 3: Basic Animations 27
Chapter 4: Keyframe Animation 45
Part III: Core Animation Layers
Chapter 5: Layer Transforms 69
Chapter 6: Layer Filters 83
Chapter 7: QuickTime Layers 111
Chapter 8: OpenGL Layer 131
Chapter 9: Quartz Composer Layer 149
Chapter 10: Other Useful Layers 161
Part IV: Advanced Core Animation
Chapter 11: User Interaction 177
Chapter 12: Performance 193
Chapter 13: Core Animation on the iPhone 207