Protocol

CAAnimationDelegate

Methods your app can implement to respond when animations start and stop.

Declaration

@protocol CAAnimationDelegate

Overview

You can use an animation delegate to execute additional logic when an animation starts or ends. For example, you may want to remove a layer from its parent once a fade out animation has completed.

Topics

Customizing Start and Stop Times

- animationDidStart:

Tells the delegate the animation has started.

- animationDidStop:finished:

Tells the delegate the animation has ended.

Relationships

Inherits From

See Also

Animation

CAAnimation

The abstract superclass for animations in Core Animation.

CAPropertyAnimation

An abstract subclass of CAAnimation for creating animations that manipulate the value of layer properties.

CABasicAnimation

An object that provides basic, single-keyframe animation capabilities for a layer property.

CAKeyframeAnimation

An object that provides keyframe animation capabilities for a layer object.

CASpringAnimation

An animation that applies a spring-like force to a layer's properties.

CATransition

An object that provides an animated transition between a layer's states.

CAValueFunction

An object that provides a flexible method of defining animated transformations.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software