One Logo Pool Ball
SwiftUICore · IOS API REFERENCE

CubicKeyframe

struct · iOS 17.0+ · SDK 27.1

struct CubicKeyframe<Value> where Value : Animatable

A keyframe that uses a cubic curve to smoothly interpolate between values. If you don't specify a start or end velocity, SwiftUI automatically computes a curve that maintains smooth motion between keyframes. Adjacent cubic keyframes result in a Catmull-Rom spline. If a cubic keyframe follows a different type of keyframe, such as a linear keyframe, the end velocity of the segment defined by the previous keyframe will be used as the starting velocity. Likewise, if a cubic keyframe is followed by a different type of keyframe, the initial velocity of the next segment is used as the end velocity of the segment defined by this keyframe.

Members (0)

This type has no directly callable members in this snapshot. See the framework’s skipped declarations for unsupported APIs.

Skipped declarations

No declarations were skipped in this snapshot.

All SwiftUICore types →