BNBSize

Objective-C

@interface BNBSize : NSObject
- (nonnull instancetype)initWithWidth:(int32_t)width
                               height:(int32_t)height;
+ (nonnull instancetype)sizeWithWidth:(int32_t)width
                               height:(int32_t)height;

@property (nonatomic, readonly) int32_t width;

@property (nonatomic, readonly) int32_t height;

@end

Swift

class BNBSize : NSObject

Undocumented

  • Undocumented

    Declaration

    Objective-C

    - (nonnull instancetype)initWithWidth:(int32_t)width
                                   height:(int32_t)height;

    Swift

    init(width: Int32, height: Int32)
  • Undocumented

    Declaration

    Objective-C

    + (nonnull instancetype)sizeWithWidth:(int32_t)width
                                   height:(int32_t)height;
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly) int32_t width

    Swift

    var width: Int32 { get }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly) int32_t height

    Swift

    var height: Int32 { get }