OAFCollection
Objective-C
@interface OAFCollection : OAFFeaturesObject
Swift
class OAFCollection : OAFFeaturesObject
Collection
-
Identifier of the collection used
Declaration
Objective-C
@property (nonatomic, strong) NSString *id;Swift
var id: String! { get set } -
Human readable title of the collection
Declaration
Objective-C
@property (nonatomic, strong) NSString *title;Swift
var title: String! { get set } -
A description of the features in the collection
Declaration
Objective-C
@property (nonatomic, strong) NSString *theDescription;Swift
var theDescription: String! { get set } -
Collection of links
Declaration
Objective-C
@property (nonatomic, strong) NSMutableArray<OAFLink *> *links;Swift
var links: NSMutableArray! { get set } -
The list of coordinate reference systems supported by the service; the first item is the default coordinate reference system
Declaration
Objective-C
@property (nonatomic, strong) NSMutableArray<NSString *> *crs;Swift
var crs: NSMutableArray! { get set } -
Indicator about the type of the items in the collection (the default value is ‘feature’)
Declaration
Objective-C
@property (nonatomic, strong) NSString *itemType;Swift
var itemType: String! { get set } -
Initialize
Declaration
Objective-C
- (instancetype)init;Swift
init!()Return Value
new collection
-
Initialize
Declaration
Objective-C
- (instancetype)initWithId:(NSString *)id;Swift
init!(id: String!)Parameters
idid
Return Value
new collection
-
Initialize
Declaration
Objective-C
- (instancetype)initWithTree:(NSDictionary *)tree;Swift
init!(tree: [AnyHashable : Any]!)Parameters
treeJSON tree
Return Value
new collection
-
Add a link
Parameters
linklink
-
Add a crs
Declaration
Objective-C
- (void)addCrs:(NSString *)crs;Swift
func addCrs(_ crs: String!)Parameters
crscrs
View on GitHub
OAFCollection Class Reference