Home > Store

Core Animation: Simplified Animation Techniques for Mac and iPhone Development, Rough Cuts

Rough Cuts

  • Available to Safari Subscribers
  • About Rough Cuts
  • 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.

Not for Sale

Description

  • Copyright 2010
  • Dimensions: 7" x 9"
  • Pages: 264
  • Edition: 1st
  • Rough Cuts
  • ISBN-10: 0-321-61784-3
  • ISBN-13: 978-0-321-61784-2

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.

Coverage includes:

  • Taking full advantage of Core Animation’s lightweight layers and views
  • Using keyframes to gain complete control over your animations
  • Creating startling effects with Core Animation transforms
  • Leveraging Core Image’s powerful filtering capabilities from within Core Animation
  • Playing QuickTime movies using Core Animation’s QTMovieLayer
  • Using the OpenGL layer to achieve greater control over movie playback
  • Integrating advanced Quartz Composer visualizations into your user interfaces
  • How to use helper layers to draw gradients, composite shapes, and replicate sublayers
  • Adding mouse and keyboard user interaction points, and much more…

Sample Content

Table of Contents

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

Index     227

Updates

Submit Errata

More Information