GPKGIconDao
Objective-C
@interface GPKGIconDao : GPKGMediaDao
Swift
class GPKGIconDao : GPKGMediaDao
Icon DAO for reading icon tables
-
Initialize
Declaration
Objective-C
- (instancetype)initWithDao:(GPKGUserCustomDao *)dao;
Swift
init!(dao: GPKGUserCustomDao!)
Parameters
dao
user custom data access object
Return Value
new icon dao
-
Get the icon table
Return Value
icon table
-
Get the icon row for the current result in the result set
Declaration
Objective-C
- (GPKGIconRow *)row:(GPKGResultSet *)results;
Swift
func row(_ results: GPKGResultSet!) -> GPKGIconRow!
Parameters
results
result set
Return Value
icon row
-
Create a new icon row
Return Value
icon row
-
Get the icon rows that exist with the provided ids
Declaration
Objective-C
- (NSArray<GPKGIconRow *> *)rowsWithIds:(NSArray<NSNumber *> *)ids;
Swift
func rows(withIds ids: [NSNumber]!) -> [GPKGIconRow]!
Parameters
ids
list of ids
Return Value
icon rows
-
Query for the icon row from a style mapping row
Declaration
Objective-C
- (GPKGIconRow *)queryForRow:(GPKGStyleMappingRow *)styleMappingRow;
Swift
func query(for styleMappingRow: GPKGStyleMappingRow!) -> GPKGIconRow!
Parameters
styleMappingRow
style mapping row
Return Value
icon row