Type Method

animationTimingFunction()

Returns the timing function used for all animations within this transaction group.

Declaration

class func animationTimingFunction() -> CAMediaTimingFunction?

Return Value

An instance of CAMediaTimingFunction.

Discussion

This is a convenience method that returns the CAMediaTimingFunction for the value(forKey:) value returned by the kCATransactionAnimationTimingFunction key.

See Also

Overriding Animation Duration and Timing

class func animationDuration() -> CFTimeInterval

Returns the animation duration used by all animations within this transaction group.

class func setAnimationDuration(CFTimeInterval)

Sets the animation duration used by all animations within this transaction group.

class func setAnimationTimingFunction(CAMediaTimingFunction?)

Sets the timing function used for all animations within this transaction group.

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