StandardAnimation

public struct StandardAnimation: Animation

A wrapper around the standard UIViewAnimation block with options publicly accessible. See, UIViewAnimation for more - Note: animationOptions defaults to .curveEaseOut. If you do not update this value before calling the animate method than the changes will not be reflected.

  • A wrapper around the standard UIViewAnimation block with options publicly accessible. See, UIViewAnimation for more - Note: animationOptions defaults to .curveEaseOut. If you do not update this value before calling the animate method than the changes will not be reflected.

    Declaration

    Swift

    public var changeFunction: ChangeFunction?
  • Undocumented

    Declaration

    Swift

    public struct StandardAnimation: Animation
  • Undocumented

    Declaration

    Swift

    public struct StandardAnimation: Animation
  • Undocumented

    Declaration

    Swift

    public struct StandardAnimation: Animation
  • Undocumented

    Declaration

    Swift

    public struct StandardAnimation: Animation
  • A wrapper around the standard UIViewAnimation block with options publicly accessible. See, UIViewAnimation for more - Note: animationOptions defaults to .curveEaseOut. If you do not update this value before calling the animate method than the changes will not be reflected.

    Declaration

    Swift

    public func animate(delay: TimeInterval, view: UIView, completion: CompletionHandler?)

    Parameters

    delay

    the time interval that this animation should wait to start from the moment this method is called

    view

    the view to animate

    completion

    a closure that is called upon the animation completing. A Bool is passed into the closure letting you know if the animation has completed.