TransitionOptions
extension TransitionOptions
-
Initializes
TransitionOptionswith providedduration,delayandenablePlacementTransitionsflag.Declaration
Swift
public convenience init(duration: TimeInterval?, delay: TimeInterval?, enablePlacementTransitions: Bool?)Parameters
durationTime allotted for transitions to complete.
delayLength of time before the transition begins.
enablePlacementTransitionsWhether 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 }
TransitionOptions Extension Reference