Animator
public protocol Animator
Type for animation controller.
-
Should start animation.
Declaration
Swift
func startAnimation(animationClosure: @escaping animClosure,Parameters
animationClosureAnimation block which sets new values of animatable properties.
completionCompletion block which should be called when animation is over, but not stopped.
settingsAnimation settings.
-
Should stop animation before it’s finished.
Declaration
Swift
func stopAnimation()
Animator Protocol Reference