Rough Cuts are manuscripts that are developed but not yet published, available through Safari. Rough Cuts provide you access to the very latest information on a given topic and offer you the opportunity to interact with the author to influence the final publication.
This is a working draft of a pre-release book. It is available before the published date as part of the Rough Cuts service.
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