Contents

cubicTimingParameters

The cubic timing parameters to use.

Declaration

var cubicTimingParameters: UICubicTimingParameters? { get }

Discussion

Implement this property and use it to provide your custom cubic timing information. If the value of the timingCurveType property is UITimingCurveType.builtin, UITimingCurveType.cubic, or UITimingCurveType.composed, you must return an object from this property. The object you return can specify one of the built-in UIKit curves, such as UIView.AnimationCurve.linear, or it can specify a timing curve based on a custom Bézier path.

For more information about configuring this object, see UICubicTimingParameters.

See Also

Getting the timing information