Type Method

setAnimationTimingFunction:

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

Declaration

+ (void)setAnimationTimingFunction:(CAMediaTimingFunction *)function;

Parameters

function

An instance of CAMediaTimingFunction.

Discussion

This is a convenience method that sets the CAMediaTimingFunction for the valueForKey: value of the kCATransactionAnimationTimingFunction key.

See Also

Overriding Animation Duration and Timing

+ animationDuration

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

+ setAnimationDuration:

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

+ animationTimingFunction

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