GPKGFeatureIndexResults

Objective-C

@interface GPKGFeatureIndexResults : NSObject <NSFastEnumeration>

Swift

class GPKGFeatureIndexResults : NSObject, NSFastEnumeration

Feature Index Results fast enumeration to iterate on feature rows in a for loop

  • ids

    Flag for iterating over feature ids in place of feature rows

    Declaration

    Objective-C

    @property (nonatomic) BOOL ids;

    Swift

    var ids: Bool { get set }
  • Initialize

    Declaration

    Objective-C

    - (instancetype)init;

    Swift

    init!()

    Return Value

    feature index results

  • Get the count of results

    Declaration

    Objective-C

    - (int)count;

    Swift

    func count() -> Int32

    Return Value

    count

  • Move to the next feature row if additional exist

    Declaration

    Objective-C

    - (BOOL)moveToNext;

    Swift

    func moveToNext() -> Bool

    Return Value

    true if feature row to retrieve

  • Get the current location feature row

    Declaration

    Objective-C

    - (GPKGFeatureRow *)featureRow;

    Swift

    func featureRow() -> GPKGFeatureRow!

    Return Value

    feature row

  • Get the current location feature id

    Declaration

    Objective-C

    - (NSNumber *)featureId;

    Swift

    func featureId() -> NSNumber!

    Return Value

    feature id

  • Close the results

    Declaration

    Objective-C

    - (void)close;

    Swift

    func close()