Introduction to Animation Programming Guide for Cocoa

Cocoa provides facilities for animating certain types of operations over a finite or indefinite amount of time. The basic animation support provided by the NSAnimation class focuses on providing you with a source for animation timing and management. Although the word "animation" may make you think of cartoons or other forms of movies, animation objects are more designed for animating portions of your program's user interface. For example, you can use the NSViewAnimation class (a subclass of NSAnimation) to create smooth transitions in the size, position, or opacity of a view or window. This animated appearance lets you create a user interface with a more fluid appearance.

This document describes the fundamental concepts involved in using Cocoa animation objects and also provides examples of how to use them in your own applications.

Organization of This Document

This document contains the following articles:

See Also

Sample code is available that provides examples for using the Cocoa animation classes: