Predefined Timing Functions

Constants that specify system-provided timing functions, used by functionWithName:.

Topics

Constants

kCAMediaTimingFunctionLinear

Linear pacing, which causes an animation to occur evenly over its duration.

kCAMediaTimingFunctionEaseIn

Ease-in pacing, which causes an animation to begin slowly and then speed up as it progresses.

kCAMediaTimingFunctionEaseOut

Ease-out pacing, which causes an animation to begin quickly and then slow as it progresses.

kCAMediaTimingFunctionEaseInEaseOut

Ease-in-ease-out pacing, which causes an animation to begin slowly, accelerate through the middle of its duration, and then slow again before completing.

kCAMediaTimingFunctionDefault

The system default timing function. Use this function to ensure that the timing of your animations matches that of most system animations.