CRSAxis
Objective-C
@interface CRSAxis : NSObject <CRSIdentifiable>
Swift
class CRSAxis : NSObject, CRSIdentifiable
Axis
-
Name
Declaration
Objective-C
@property (nonatomic, strong) NSString *name;
Swift
var name: String! { get set }
-
Abbreviation
Declaration
Objective-C
@property (nonatomic, strong) NSString *abbreviation;
Swift
var abbreviation: String! { get set }
-
Axis Direction
Declaration
Objective-C
@property (nonatomic) enum CRSAxisDirectionType direction;
Swift
var direction: CRSAxisDirectionType { get set }
-
Meridian
Declaration
Objective-C
@property (nonatomic, strong) NSDecimalNumber *meridian;
Swift
var meridian: NSDecimalNumber! { get set }
-
Meridian Text
Declaration
Objective-C
@property (nonatomic, strong) NSString *meridianText;
Swift
var meridianText: String! { get set }
-
Bearing
Declaration
Objective-C
@property (nonatomic, strong) NSDecimalNumber *bearing;
Swift
var bearing: NSDecimalNumber! { get set }
-
Bearing Text
Declaration
Objective-C
@property (nonatomic, strong) NSString *bearingText;
Swift
var bearingText: String! { get set }
-
Order
Declaration
Objective-C
@property (nonatomic, strong) NSNumber *order;
Swift
var order: NSNumber! { get set }
-
Identifiers
Declaration
Objective-C
@property (nonatomic, strong) NSMutableArray<CRSIdentifier *> *identifiers;
Swift
var identifiers: NSMutableArray! { get set }
-
Create
Declaration
Objective-C
+ (CRSAxis *)create;
Swift
class func create() -> CRSAxis!
Return Value
new instance
-
Initialize
Declaration
Objective-C
- (instancetype)init;
Swift
init!()
Return Value
new instance
-
Initialize
Declaration
Objective-C
- (instancetype)initWithName:(NSString *)name andDirection:(enum CRSAxisDirectionType)direction;
Swift
init!(name: String!, andDirection direction: CRSAxisDirectionType)
Parameters
name
name
direction
axis direction
Return Value
new instance
-
Has a name
Declaration
Objective-C
- (BOOL)hasName;
Swift
func hasName() -> Bool
Return Value
true if has name
-
Has an abbreviation
Declaration
Objective-C
- (BOOL)hasAbbreviation;
Swift
func hasAbbreviation() -> Bool
Return Value
true if has abbreviation
-
Has a meridian
Declaration
Objective-C
- (BOOL)hasMeridian;
Swift
func hasMeridian() -> Bool
Return Value
true if has meridian
-
Has a bearing
Declaration
Objective-C
- (BOOL)hasBearing;
Swift
func hasBearing() -> Bool
Return Value
true if has bearing
-
Has an order
Declaration
Objective-C
- (BOOL)hasOrder;
Swift
func hasOrder() -> Bool
Return Value
true if has order
-
Has a unit
Declaration
Objective-C
- (BOOL)hasUnit;
Swift
func hasUnit() -> Bool
Return Value
true if has unit