Type Definitions

The following type definitions are available globally.

  • Undocumented

    Declaration

    Objective-C

    typedef NSString * MBExceptionName

    Swift

    typealias MBExceptionName = UnsafeMutablePointer<Int32>
  • Undocumented

    Declaration

    Objective-C

    typedef CGPoint CGDelta

    Swift

    typealias CGDelta = CGPoint
  • Undocumented

    See more

    Declaration

    Objective-C

    typedef struct {
        CGPoint point1;
        CGPoint point2;
    } CGLine
  • Undocumented

    See more

    Declaration

    Objective-C

    typedef struct _MBImageExtensionFactors MBImageExtensionFactors

    Swift

    typealias MBImageExtensionFactors = _MBImageExtensionFactors
  • Undocumented

    Declaration

    Objective-C

    typedef void(^MBBlock)(void)

    Swift

    typealias MBBlock = () -> Void
  • Block for returning high resolution MBImage photo with capture or still output

    Declaration

    Objective-C

    typedef void (^MBCaptureHighResImage)(MBImage *_Nullable)

    Swift

    typealias MBCaptureHighResImage = (MBImage?) -> Void