MBMTransitionOptions


@interface MBMTransitionOptions : NSObject

The transition options controls timing for the interpolation between a transitionable style property’s previous value and new value. These can be used to define the style default property transition behavior. Also, any transitionable style property may also have its own -transition property that defines specific transition timing for that specific layer property, overriding the global transition values.

  • Unavailable

    Undocumented

    Declaration

    Objective-C

    - (nonnull instancetype)init NS_UNAVAILABLE;
  • Unavailable

    Undocumented

    Declaration

    Objective-C

    + (nonnull instancetype)new NS_UNAVAILABLE;
  • Undocumented

    Declaration

    Objective-C

    - (nonnull instancetype)initWithDuration:(nullable NSNumber *)duration
                                       delay:(nullable NSNumber *)delay
                  enablePlacementTransitions:(nullable NSNumber *)enablePlacementTransitions NS_REFINED_FOR_SWIFT;
  • Time allotted for transitions to complete. Units in milliseconds. Defaults to 300.0.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSNumber *duration;
  • Length of time before a transition begins. Units in milliseconds. Defaults to 0.0.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSNumber *delay;
  • Whether the fade in/out symbol placement transition is enabled. Defaults to true.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSNumber *enablePlacementTransitions;