init(name:)
Creates and returns a new instance of CAMediaTimingFunction configured with the predefined timing function specified by name.
Declaration
convenience init(name: CAMediaTimingFunctionName)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
Related Documentation
- Core Animation Programming Guide