GPKGUserCustomColumns

Objective-C

@interface GPKGUserCustomColumns : GPKGUserColumns

Swift

class GPKGUserCustomColumns : GPKGUserColumns

Collection of user custom columns

  • Required columns

    Declaration

    Objective-C

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

    Swift

    var requiredColumns: [String]! { get set }
  • Initialize

    Declaration

    Objective-C

    - (instancetype)initWithTable:(NSString *)tableName
                       andColumns:(NSArray *)columns;

    Swift

    init!(table tableName: String!, andColumns columns: [Any]!)

    Parameters

    tableName

    table name

    columns

    columns

    Return Value

    new user custom columns

  • Initialize

    Declaration

    Objective-C

    - (instancetype)initWithTable:(NSString *)tableName
                       andColumns:(NSArray *)columns
               andRequiredColumns:(NSArray<NSString *> *)requiredColumns;

    Swift

    init!(table tableName: String!, andColumns columns: [Any]!, andRequiredColumns requiredColumns: [String]!)

    Parameters

    tableName

    table name

    columns

    columns

    requiredColumns

    list of required columns

    Return Value

    new user custom columns

  • Initialize

    Declaration

    Objective-C

    - (instancetype)initWithTable:(NSString *)tableName
                       andColumns:(NSArray *)columns
                        andCustom:(BOOL)custom;

    Swift

    init!(table tableName: String!, andColumns columns: [Any]!, andCustom custom: Bool)

    Parameters

    tableName

    table name

    columns

    columns

    custom

    custom column specification

    Return Value

    new user custom columns

  • Initialize

    Declaration

    Objective-C

    - (instancetype)initWithTable:(NSString *)tableName
                       andColumns:(NSArray *)columns
               andRequiredColumns:(NSArray<NSString *> *)requiredColumns
                        andCustom:(BOOL)custom;

    Swift

    init!(table tableName: String!, andColumns columns: [Any]!, andRequiredColumns requiredColumns: [String]!, andCustom custom: Bool)

    Parameters

    tableName

    table name

    columns

    columns

    custom

    custom column specification

    requiredColumns

    list of required columns

    Return Value

    new user custom columns

  • Initialize

    Declaration

    Objective-C

    - (instancetype)initWithUserCustomColumns:
        (GPKGUserCustomColumns *)userCustomColumns;

    Swift

    init!(userCustomColumns: GPKGUserCustomColumns!)

    Parameters

    userCustomColumns

    user custom columns

    Return Value

    new user custom columns