CRSVerticalExtent

Objective-C

@interface CRSVerticalExtent : NSObject

Swift

class CRSVerticalExtent : NSObject

Vertical Extent

  • Minimum Height

    Declaration

    Objective-C

    @property (nonatomic) double minimumHeight;

    Swift

    var minimumHeight: Double { get set }
  • Minimum Height Text

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *minimumHeightText;

    Swift

    var minimumHeightText: String! { get set }
  • Maximum Height

    Declaration

    Objective-C

    @property (nonatomic) double maximumHeight;

    Swift

    var maximumHeight: Double { get set }
  • Maximum Height Text

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *maximumHeightText;

    Swift

    var maximumHeightText: String! { get set }
  • Unit (Length)

    Declaration

    Objective-C

    @property (nonatomic, strong) CRSUnit *unit;

    Swift

    var unit: CRSUnit! { get set }
  • Create

    Declaration

    Objective-C

    + (CRSVerticalExtent *)create;

    Swift

    class func create() -> CRSVerticalExtent!

    Return Value

    new instance

  • Initialize

    Declaration

    Objective-C

    - (instancetype)init;

    Swift

    init!()

    Return Value

    new instance

  • Initialize

    Declaration

    Objective-C

    - (instancetype)initWithMinimumHeight:(double)minimumHeight
                         andMaximumHeight:(double)maximumHeight;

    Swift

    init!(minimumHeight: Double, andMaximumHeight maximumHeight: Double)

    Parameters

    minimumHeight

    minimum height

    maximumHeight

    maximum height

    Return Value

    new instance

  • Initialize

    Declaration

    Objective-C

    - (instancetype)initWithMinimumHeightText:(NSString *)minimumHeight
                         andMaximumHeightText:(NSString *)maximumHeight;

    Swift

    init!(minimumHeightText minimumHeight: String!, andMaximumHeightText maximumHeight: String!)

    Parameters

    minimumHeight

    minimum height

    maximumHeight

    maximum height

    Return Value

    new instance

  • Initialize

    Declaration

    Objective-C

    - (instancetype)initWithMinimumHeight:(double)minimumHeight
                         andMaximumHeight:(double)maximumHeight
                                  andUnit:(CRSUnit *)unit;

    Swift

    init!(minimumHeight: Double, andMaximumHeight maximumHeight: Double, andUnit unit: CRSUnit!)

    Parameters

    minimumHeight

    minimum height

    maximumHeight

    maximum height

    unit

    unit (length)

    Return Value

    new instance

  • Initialize

    Declaration

    Objective-C

    - (instancetype)initWithMinimumHeightText:(NSString *)minimumHeight
                         andMaximumHeightText:(NSString *)maximumHeight
                                      andUnit:(CRSUnit *)unit;

    Swift

    init!(minimumHeightText minimumHeight: String!, andMaximumHeightText maximumHeight: String!, andUnit unit: CRSUnit!)

    Parameters

    minimumHeight

    minimum height

    maximumHeight

    maximum height

    unit

    unit (length)

    Return Value

    new instance

  • Has a unit (length)

    Declaration

    Objective-C

    - (BOOL)hasUnit;

    Swift

    func hasUnit() -> Bool

    Return Value

    true if has unit (length)