Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

< Previous PageNext Page > Hide TOC

Animation Effects and Filters

In Mac OS X v10.5 and later, you can associate graphical effects with your views using the effects pane of the inspector window. The effects pane takes advantage of Core Animation layers and other Core Graphics behaviors to implement graphical effects. Core Animation is a lightweight drawing layer that combines the power of Quartz, Core Image, and OpenGL with the simplicity of Cocoa views. When you enable layers for a view, Cocoa automatically inserts a Core Animation layer behind the view to manage drawing. You continue drawing content in your view’s drawRect: method as before, but drawing operations are more heavily optimized by the Core Animation layer. In addition, the presence of the Core animation layer makes it possible to apply additional visual effects to your view, including content filters, alpha and shadow effects, and transitions, without degrading your application’s performance significantly.

This chapter describes the contents of the effects inspector and shows you how to configure some of its more advanced properties.

Contents:

The Effects Inspector
Configuring View Transitions
Configuring Filters




< Previous PageNext Page > Hide TOC


Last updated: 2007-10-31




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice