OAFFeatureCollection

Objective-C

@interface OAFFeatureCollection : OAFFeaturesObject

Swift

class OAFFeatureCollection : OAFFeaturesObject

Feature Collection

  • Feature collection

    Declaration

    Objective-C

    @property (nonatomic, strong) SFGFeatureCollection *featureCollection;

    Swift

    var featureCollection: SFGFeatureCollection! { get set }
  • Links

    Declaration

    Objective-C

    @property (nonatomic, strong) NSMutableArray<OAFLink *> *links;

    Swift

    var links: NSMutableArray! { get set }
  • Time Stamp

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *timeStamp;

    Swift

    var timeStamp: String! { get set }
  • Number Matched

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *numberMatched;

    Swift

    var numberMatched: NSNumber! { get set }
  • Number Returned

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *numberReturned;

    Swift

    var numberReturned: NSNumber! { get set }
  • Initialize

    Declaration

    Objective-C

    - (instancetype)init;

    Swift

    init!()

    Return Value

    new feature collection

  • Initialize

    Declaration

    Objective-C

    - (instancetype)initWithFeatureCollection:
        (SFGFeatureCollection *)featureCollection;

    Swift

    init!(featureCollection: SFGFeatureCollection!)

    Parameters

    featureCollection

    feature collection

    Return Value

    new feature collection

  • Initialize

    Declaration

    Objective-C

    - (instancetype)initWithTree:(NSDictionary *)tree;

    Swift

    init!(tree: [AnyHashable : Any]!)

    Parameters

    tree

    JSON tree

    Return Value

    new feature collection

  • Get a mapping between link relations and links

    Declaration

    Objective-C

    - (NSDictionary<NSString *, NSMutableArray<OAFLink *> *> *)relationLinks;

    Swift

    func relationLinks() -> [String : NSMutableArray]!

    Return Value

    relation links