TransitionOptions

extension TransitionOptions
  • Initializes TransitionOptions with provided duration, delay and enablePlacementTransitions flag.

    Declaration

    Swift

    public convenience init(duration: TimeInterval?,
                            delay: TimeInterval?,
                            enablePlacementTransitions: Bool?)

    Parameters

    duration

    Time allotted for transitions to complete.

    delay

    Length of time before the transition begins.

    enablePlacementTransitions

    Whether the fade in/out symbol placement transition is enabled.

  • Time allotted for transitions to complete. Units in milliseconds. Defaults to 300.0.

    Declaration

    Swift

    public var duration: TimeInterval? { get }
  • Length of time before a transition begins. Units in milliseconds. Defaults to 0.0.

    Declaration

    Swift

    public var delay: TimeInterval? { get }
  • Whether the fade in/out symbol placement transition is enabled. Defaults to true.

    Declaration

    Swift

    public var enablePlacementTransitions: Bool? { get }