Initializer

init()

Initializes the object with the system’s default timing curve.

Declaration

init()

Return Value

An initialized timing parameter object or nil if the object could not be created.

Discussion

Use this method to create a timing curve based on the default Core Animation timing function.

See Also

Initializing a Cubic Timing Parameters Object

init(animationCurve: UIView.AnimationCurve)

Initializes the object with the specified UIKit timing curve.

init(controlPoint1: CGPoint, controlPoint2: CGPoint)

Initializes the object with the specified control points for a cubic Bézier curve.