MBMSize


@interface MBMSize : NSObject

Size type.

  • 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)initWithWidth:(float)width
                                   height:(float)height;

    Swift

    init(width: Float, height: Float)
  • Width of the size.

    Declaration

    Objective-C

    @property (nonatomic, readonly) float width;

    Swift

    var width: Float { get }
  • Height of the size.

    Declaration

    Objective-C

    @property (nonatomic, readonly) float height;

    Swift

    var height: Float { get }
  • Undocumented

    Declaration

    Objective-C

    - (BOOL)isEqualToSize:(nonnull MBMSize *)other;

    Swift

    func isEqual(to other: Size) -> Bool