MBMTransitionOptions.h 1.6 KB

123456789101112131415161718192021222324252627282930313233343536
  1. // This file is generated and will be overwritten automatically.
  2. #import <Foundation/Foundation.h>
  3. /**
  4. * The `transition options` controls timing for the interpolation between a transitionable style
  5. * property's previous value and new value. These can be used to define the style default property
  6. * transition behavior. Also, any transitionable style property may also have its own `-transition`
  7. * property that defines specific transition timing for that specific layer property, overriding
  8. * the global transition values.
  9. */
  10. NS_SWIFT_NAME(TransitionOptions)
  11. __attribute__((visibility ("default")))
  12. @interface MBMTransitionOptions : NSObject
  13. // This class provides custom init which should be called
  14. - (nonnull instancetype)init NS_UNAVAILABLE;
  15. // This class provides custom init which should be called
  16. + (nonnull instancetype)new NS_UNAVAILABLE;
  17. - (nonnull instancetype)initWithDuration:(nullable NSNumber *)duration
  18. delay:(nullable NSNumber *)delay
  19. enablePlacementTransitions:(nullable NSNumber *)enablePlacementTransitions NS_REFINED_FOR_SWIFT;
  20. /** Time allotted for transitions to complete. Units in milliseconds. Defaults to `300.0`. */
  21. @property (nonatomic, readonly, nullable) NSNumber *duration NS_REFINED_FOR_SWIFT;
  22. /** Length of time before a transition begins. Units in milliseconds. Defaults to `0.0`. */
  23. @property (nonatomic, readonly, nullable) NSNumber *delay NS_REFINED_FOR_SWIFT;
  24. /** Whether the fade in/out symbol placement transition is enabled. Defaults to `true`. */
  25. @property (nonatomic, readonly, nullable) NSNumber *enablePlacementTransitions NS_REFINED_FOR_SWIFT;
  26. @end