AnimatorType
public enum AnimatorType
Defines which animator will be used in animation.
-
Uses
UIViewPropertyAnimator
, only available on iOS 10.Declaration
Swift
case propertyAnimator
-
Uses
UIView.animate
. Available on iOS versions below 10.Declaration
Swift
case viewAnimator
-
Uses
NSAnimationContext
. Only available on macOS.Declaration
Swift
case macAnimator