animSettings

public struct animSettings

Animation settings.

  • Delay before animation starts.

    Declaration

    Swift

    public var delay: TimeInterval
  • Duration of animation.

    Declaration

    Swift

    public var duration: TimeInterval
  • Easing of animation.

    Declaration

    Swift

    public var ease: animEase
  • Completion block which runs after animation.

    Declaration

    Swift

    public var completion: (animClosure)?
  • Preferred animator used for the animation.

    Declaration

    Swift

    lazy public var preferredAnimator: AnimatorType = AnimatorType.default
  • Enables user interactions on views while animating. Not available on macOS.

    Declaration

    Swift

    public var isUserInteractionsEnabled: Bool