Type Method

functionWithName:

Creates and returns a new instance of CAMediaTimingFunction configured with the predefined timing function specified by name.

Declaration

+ (instancetype)functionWithName:(CAMediaTimingFunctionName)name;

Parameters

name

The timing function to use as specified in Predefined Timing Functions.

Return Value

A new instance of CAMediaTimingFunction with the timing function specified by name.

See Also

Creating Timing Functions

+ functionWithControlPoints::::

Creates and returns a new instance of CAMediaTimingFunction timing function modeled as a cubic Bézier curve using the specified control points.

- initWithControlPoints::::

Returns an initialized timing function modeled as a cubic Bézier curve using the specified control points.