Instance Method

init

Initializes the object with the default timing parameters.

Declaration

- (instancetype)init;

Return Value

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

Discussion

This method sets the initial velocity of any animated properties to 0.0 and sets the damping ratio to 4.56.

See Also

Initializing a Spring Timing Parameters Object

- initWithDampingRatio:

Initializes the timing parameters with the specified damping ratio.

- initWithDampingRatio:initialVelocity:

Initializes the object with the specified damping ratio and velocity vector.

- initWithMass:stiffness:damping:initialVelocity:

Initializes the object with the specified spring stiffness, mass, and damping coefficients.