CRSUnitTypes
Objective-C
@interface CRSUnitTypes : NSObject
Swift
class CRSUnitTypes : NSObject
Unit Type
-
Get the type name
Declaration
Objective-C
+ (NSString *)name:(enum CRSUnitType)type;
Swift
class func name(_ type: CRSUnitType) -> String!
Parameters
type
type
Return Value
type name
-
Get the type from the name
Declaration
Objective-C
+ (enum CRSUnitType)type:(NSString *)name;
Swift
class func type(_ name: String!) -> CRSUnitType
Parameters
name
type name
Return Value
type