Type Definitions

The following type definitions are available globally.

  • Undocumented

    Declaration

    Objective-C

    typedef id MMMNavigationRequestId

    Swift

    typealias MMMNavigationRequestId = AnyObject
  • Undocumented

    Declaration

    Objective-C

    typedef void (^MMMNavigationCompletionBlock)(MMMNavigationRequestId requestId, BOOL finished)

    Swift

    typealias MMMNavigationCompletionBlock = (Any, Bool) -> Void
  • Undocumented

    Declaration

    Objective-C

    typedef id MMMNavigationHandlerId

    Swift

    typealias MMMNavigationHandlerId = AnyObject
  • Undocumented

    Declaration

    Objective-C

    typedef void (^MMMNavigationStackCompletion)(BOOL success)

    Swift

    typealias MMMNavigationStackCompletion = (Bool) -> Void
  • Undocumented

    Declaration

    Objective-C

    typedef void (^ _Nonnull MMMShadowViewSettingBlock

    Swift

    typealias MMMShadowViewSettingBlock = (MMMShadowViewSetting) -> Void
  • Called on every update cycle of MMMAnimator for the given animation item.

    The time is always within [0; 1] range here, which will correspond to the the [start; start + duration] interval of real time clock.

    Unless the item is cancelled it is guaranteed that the block will be called for 0 and 1 values.

    Declaration

    Objective-C

    typedef void (^MMMAnimatorUpdateBlock)(MMMAnimationHandle *_Nonnull, CGFloat)

    Swift

    typealias MMMAnimatorUpdateBlock = (MMMAnimationHandle, CGFloat) -> Void
  • Called when the animation item has been finished.

    Declaration

    Objective-C

    typedef void (^MMMAnimatorDoneBlock)(MMMAnimationHandle *_Nonnull, BOOL)

    Swift

    typealias MMMAnimatorDoneBlock = (MMMAnimationHandle, Bool) -> Void