ChainedAnimation

public class ChainedAnimation : AnimationType

Defines an Animation object with multiple animations to be played.

  • Initializer for the ChainedAnimation object.

    Declaration

    Swift

    init(view: UIView, loop: Bool = false)

    Parameters

    view

    the view of the object.

    loop

    Boolean value indicating whether the animation should loop.

Add Methods

Start Methods

  • Starts the first animation on the object’s animation list.

    Declaration

    Swift

    public func startAnimation(completion: ((Bool) -> Void)? = .none)

    Parameters

    completion

    completion handler for when the animation has finished.