AnimationTimingFunc
public enum AnimationTimingFunc
An optional timing function defining the pacing of the animation.
-
The default timing function. Use this function to ensure that the timing of your animations matches that of most animations.
Declaration
Swift
case defaultValue
-
Linear pacing, which causes an animation to occur evenly over its duration.
Declaration
Swift
case linear
-
Ease-in pacing, which causes an animation to begin slowly and then speed up as it progresses.
Declaration
Swift
case easeIn
-
Ease-out pacing, which causes an animation to begin quickly and then slow as it progresses.
Declaration
Swift
case easeOut
-
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.
Declaration
Swift
case easeInEaseOut