Class

CAPropertyAnimation

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

Declaration

@interface CAPropertyAnimation : CAAnimation

Overview

The property to animate is specified using a key path that is relative to the layer using the animation.

You do not create instances of CAPropertyAnimation: to animate the properties of a Core Animation layer, create instance of the concrete subclasses CABasicAnimation or CAKeyframeAnimation.

Topics

Animated Key Path

keyPath

Specifies the key path the receiver animates.

Property Value Calculation Behavior

cumulative

Determines if the value of the property is the value at the end of the previous repeat cycle, plus the value of the current repeat cycle.

additive

Determines if the value specified by the animation is added to the current render tree value to produce the new render tree value.

valueFunction

An optional value function that is applied to interpolated values.

Creating an Animation

+ animationWithKeyPath:

Creates and returns an CAPropertyAnimation instance for the specified key path.

Relationships

Inherits From

See Also

Animation

CAAnimation

The abstract superclass for animations in Core Animation.

CAAnimationDelegate

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

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.