CRSKeyword

Objective-C

@interface CRSKeyword : NSObject

Swift

class CRSKeyword : NSObject

Keyword

  • Get the type

    Declaration

    Objective-C

    - (enum CRSKeywordType)type;

    Swift

    func type() -> CRSKeywordType

    Return Value

    type

  • Get the name

    Declaration

    Objective-C

    - (NSString *)name;

    Swift

    func name() -> String!

    Return Value

    name

  • Get the keywords

    Declaration

    Objective-C

    - (NSArray<NSString *> *)keywords;

    Swift

    func keywords() -> [String]!

    Return Value

    keywords

  • Get the keyword type object from the keyword

    Declaration

    Objective-C

    + (CRSKeyword *)keyword:(NSString *)keyword;

    Swift

    /*not inherited*/ init!(_ keyword: String!)

    Parameters

    keyword

    CRS keyword

    Return Value

    type object

  • Get the keyword type from the keyword

    Declaration

    Objective-C

    + (enum CRSKeywordType)type:(NSString *)keyword;

    Swift

    class func type(_ keyword: String!) -> CRSKeywordType

    Parameters

    keyword

    CRS keyword

    Return Value

    type

  • Get the required keyword type object from the keyword

    Declaration

    Objective-C

    + (CRSKeyword *)requiredKeyword:(NSString *)keyword;

    Swift

    class func requiredKeyword(_ keyword: String!) -> CRSKeyword!

    Parameters

    keyword

    CRS keyword

    Return Value

    type object

  • Get the required keyword type from the keyword

    Declaration

    Objective-C

    + (enum CRSKeywordType)requiredType:(NSString *)keyword;

    Swift

    class func requiredType(_ keyword: String!) -> CRSKeywordType

    Parameters

    keyword

    CRS keyword

    Return Value

    type

  • Get the keyword types object from the keyword

    Declaration

    Objective-C

    + (NSArray<CRSKeyword *> *)keywords:(NSString *)keyword;

    Swift

    class func keywords(_ keyword: String!) -> [CRSKeyword]!

    Parameters

    keyword

    CRS keyword

    Return Value

    type objects

  • Get the keyword types from the keyword

    Declaration

    Objective-C

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

    Swift

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

    Parameters

    keyword

    CRS keyword

    Return Value

    types

  • Get the required keyword types object from the keyword

    Declaration

    Objective-C

    + (NSArray<CRSKeyword *> *)requiredKeywords:(NSString *)keyword;

    Swift

    class func requiredKeywords(_ keyword: String!) -> [CRSKeyword]!

    Parameters

    keyword

    CRS keyword

    Return Value

    type objects

  • Get the required keyword types from the keyword

    Declaration

    Objective-C

    + (NSArray<NSNumber *> *)requiredTypes:(NSString *)keyword;

    Swift

    class func requiredTypes(_ keyword: String!) -> [NSNumber]!

    Parameters

    keyword

    CRS keyword

    Return Value

    types

  • Get the keyword type object from the keyword type

    Declaration

    Objective-C

    + (CRSKeyword *)keywordOfType:(enum CRSKeywordType)type;

    Swift

    /*not inherited*/ init!(of type: CRSKeywordType)

    Parameters

    type

    keyword type

    Return Value

    type object

  • Get the keyword type name from the keyword

    Declaration

    Objective-C

    + (NSString *)nameOfType:(enum CRSKeywordType)type;

    Swift

    class func name(of type: CRSKeywordType) -> String!

    Parameters

    type

    keyword type

    Return Value

    type name