GPKGColumnValues

Objective-C

@interface GPKGColumnValues : NSObject

Swift

class GPKGColumnValues : NSObject

Collection of column values

  • Mapping between columns and values

    Declaration

    Objective-C

    @property (nonatomic, strong) NSMutableDictionary *values;

    Swift

    var values: NSMutableDictionary! { get set }
  • Array of columns

    Declaration

    Objective-C

    @property (nonatomic, strong) NSMutableArray *columns;

    Swift

    var columns: NSMutableArray! { get set }
  • Initialize

    Declaration

    Objective-C

    - (instancetype)init;

    Swift

    init!()

    Return Value

    new column values

  • Get the column value count

    Declaration

    Objective-C

    - (int)count;

    Swift

    func count() -> Int32

    Return Value

    column value count

  • Add a column and value

    Declaration

    Objective-C

    - (void)addColumn:(NSString *)column withValue:(NSObject *)value;

    Swift

    func addColumn(_ column: String!, withValue value: NSObject!)

    Parameters

    column

    column

    value

    value

  • Get the value of the column

    Declaration

    Objective-C

    - (NSObject *)value:(NSString *)column;

    Swift

    func value(_ column: String!) -> NSObject!

    Parameters

    column

    column

    Return Value

    value