An array of objects that specify the keyframe values to use for the animation.
- iOS 2.0+
- macOS 10.5+
- Mac Catalyst 13.0+
- tvOS 9.0+
- Core Animation
The keyframe values represent the values through which the animation must proceed. The time at which a given keyframe value is applied to the layer depends on the animation timing, which is controlled by the
timing properties. Values between keyframes are created using interpolation, unless the calculation mode is set to
Depending on the type of the property, you may need to wrap the values in this array with an
NSValue object. For some Core Graphics data types, you may also need to cast them to
id before adding them to the array.
The values in this property are used only if the value in the
path property is