CRSIdentifiable
Objective-C
@protocol CRSIdentifiable <NSObject>
Swift
protocol CRSIdentifiable : NSObjectProtocol
Identifiable object interface
-
Get the identifiers
Declaration
Objective-C
- (NSMutableArray<CRSIdentifier *> *)identifiers;
Swift
func identifiers() -> NSMutableArray!
Return Value
identifiers
-
Has identifiers
Declaration
Objective-C
- (BOOL)hasIdentifiers;
Swift
func hasIdentifiers() -> Bool
Return Value
true if has identifiers
-
Number of identifiers
Declaration
Objective-C
- (int)numIdentifiers;
Swift
func numIdentifiers() -> Int32
Return Value
identifiers count
-
Get the identifier at the index
Declaration
Objective-C
- (CRSIdentifier *)identifierAtIndex:(int)index;
Swift
func identifier(at index: Int32) -> CRSIdentifier!
Parameters
index
identifier index
Return Value
identifier
-
Set the identifiers
Declaration
Objective-C
- (void)setIdentifiers:(NSArray<CRSIdentifier *> *)identifiers;
Swift
func setIdentifiers(_ identifiers: [CRSIdentifier]!)
Parameters
identifiers
identifiers
-
Add the identifier
Declaration
Objective-C
- (void)addIdentifier:(CRSIdentifier *)identifier;
Swift
func add(_ identifier: CRSIdentifier!)
Parameters
identifier
identifier
-
Add the identifiers
Declaration
Objective-C
- (void)addIdentifiers:(NSArray<CRSIdentifier *> *)identifiers;
Swift
func add(_ identifiers: [CRSIdentifier]!)
Parameters
identifiers
identifiers