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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software