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