CRSScopeExtentIdentifierRemark

Objective-C

@protocol CRSScopeExtentIdentifierRemark <CRSIdentifiable>

Swift

protocol CRSScopeExtentIdentifierRemark : CRSIdentifiable

Interface Scope, Extent, Identifier, and Remark values

  • Get the name

    Declaration

    Objective-C

    - (NSString *)name;

    Swift

    func name() -> String!

    Return Value

    name

  • Set the name

    Declaration

    Objective-C

    - (void)setName:(NSString *)name;

    Swift

    func setName(_ name: String!)

    Parameters

    name

    name

  • Get the usages

    Declaration

    Objective-C

    - (NSMutableArray<CRSUsage *> *)usages;

    Swift

    func usages() -> NSMutableArray!

    Return Value

    usages

  • Has usages

    Declaration

    Objective-C

    - (BOOL)hasUsages;

    Swift

    func hasUsages() -> Bool

    Return Value

    true if has usages

  • Number of usages

    Declaration

    Objective-C

    - (int)numUsages;

    Swift

    func numUsages() -> Int32

    Return Value

    usages count

  • Get the usage at the index

    Declaration

    Objective-C

    - (CRSUsage *)usageAtIndex:(int)index;

    Swift

    func usage(at index: Int32) -> CRSUsage!

    Parameters

    index

    usage index

    Return Value

    usage

  • Set the usages

    Declaration

    Objective-C

    - (void)setUsages:(NSArray<CRSUsage *> *)usages;

    Swift

    func setUsages(_ usages: [CRSUsage]!)

    Parameters

    usages

    usages

  • Add the usage

    Declaration

    Objective-C

    - (void)addUsage:(CRSUsage *)usage;

    Swift

    func add(_ usage: CRSUsage!)

    Parameters

    usage

    usage

  • Add the usages

    Declaration

    Objective-C

    - (void)addUsages:(NSArray<CRSUsage *> *)usages;

    Swift

    func add(_ usages: [CRSUsage]!)

    Parameters

    usages

    usages

  • Get the remark

    Declaration

    Objective-C

    - (NSString *)remark;

    Swift

    func remark() -> String!

    Return Value

    remark

  • Has remark

    Declaration

    Objective-C

    - (BOOL)hasRemark;

    Swift

    func hasRemark() -> Bool

    Return Value

    true if has remark

  • Set the remark

    Declaration

    Objective-C

    - (void)setRemark:(NSString *)remark;

    Swift

    func setRemark(_ remark: String!)

    Parameters

    remark

    remark