GPKGRow

Objective-C

@interface GPKGRow : NSObject

Swift

class GPKGRow : NSObject

Result row

  • Column names

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<NSString *> *columns;

    Swift

    var columns: [String]! { get set }
  • Column values

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<NSObject *> *values;

    Swift

    var values: [NSObject]! { get set }
  • Initialize

    Declaration

    Objective-C

    + (GPKGRow *)create;

    Swift

    class func create() -> GPKGRow!

    Return Value

    new row

  • Initialize

    Declaration

    Objective-C

    + (GPKGRow *)createWithValues:(NSArray<NSObject *> *)values;

    Swift

    class func create(withValues values: [NSObject]!) -> GPKGRow!

    Parameters

    values

    columns values

    Return Value

    new row

  • Initialize

    Declaration

    Objective-C

    + (GPKGRow *)createWithColumns:(NSArray<NSString *> *)columns
                         andValues:(NSArray<NSObject *> *)values;

    Swift

    class func create(withColumns columns: [String]!, andValues values: [NSObject]!) -> GPKGRow!

    Parameters

    columns

    column names

    values

    columns values

    Return Value

    new row

  • Initialize

    Declaration

    Objective-C

    - (instancetype)init;

    Swift

    init!()

    Return Value

    new row

  • Initialize

    Declaration

    Objective-C

    - (instancetype)initWithValues:(NSArray<NSObject *> *)values;

    Swift

    init!(values: [NSObject]!)

    Parameters

    values

    columns values

    Return Value

    new row

  • Initialize

    Declaration

    Objective-C

    - (instancetype)initWithColumns:(NSArray<NSString *> *)columns
                          andValues:(NSArray<NSObject *> *)values;

    Swift

    init!(columns: [String]!, andValues values: [NSObject]!)

    Parameters

    columns

    column names

    values

    columns values

    Return Value

    new row

  • Get the count of values / columns

    Declaration

    Objective-C

    - (int)count;

    Swift

    func count() -> Int32

    Return Value

    count

  • Get the column name at the column index

    Declaration

    Objective-C

    - (NSString *)columnAtIndex:(int)index;

    Swift

    func column(at index: Int32) -> String!

    Parameters

    index

    column index

    Return Value

    column name

  • Get the value at the column index

    Declaration

    Objective-C

    - (NSObject *)valueAtIndex:(int)index;

    Swift

    func value(at index: Int32) -> NSObject!

    Parameters

    index

    column index

    Return Value

    value

  • Get the value for the column name

    Declaration

    Objective-C

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

    Swift

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

    Parameters

    column

    column name

    Return Value

    value