Instance Property

calculationMode

Specifies how intermediate keyframe values are calculated by the receiver.

Declaration

var calculationMode: CAAnimationCalculationMode { get set }

Discussion

The possible values are described in Value calculation modes. The default value of this property is linear.

See Also

Keyframe timing

var keyTimes: [NSNumber]?

An optional array of NSNumber objects that define the time at which to apply a given keyframe segment.

var timingFunctions: [CAMediaTimingFunction]?

An optional array of CAMediaTimingFunction objects that define the pacing for each keyframe segment.

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