CRSTypes

Objective-C

@interface CRSTypes : NSObject

Swift

class CRSTypes : NSObject

CRS Type

  • Get the type name

    Declaration

    Objective-C

    + (NSString *)name:(enum CRSType)type;

    Swift

    class func name(_ type: CRSType) -> String!

    Parameters

    type

    type

    Return Value

    type name

  • Get the type names

    Declaration

    Objective-C

    + (NSArray<NSString *> *)names:(NSArray<NSNumber *> *)types;

    Swift

    class func names(_ types: [NSNumber]!) -> [String]!

    Parameters

    types

    types

    Return Value

    type names

  • Get the type from the name

    Declaration

    Objective-C

    + (enum CRSType)type:(NSString *)name;

    Swift

    class func type(_ name: String!) -> CRSType

    Parameters

    name

    type name

    Return Value

    type

  • Get the category type

    Declaration

    Objective-C

    + (enum CRSCategoryType)categoryType:(enum CRSType)crsType;

    Swift

    class func categoryType(_ crsType: CRSType) -> CRSCategoryType

    Parameters

    crsType

    CRS type

    Return Value

    category type