TKDataSourceGroup Class Reference
Inherits from | NSObject |
Declared in | TKDataSourceGroup.h |
Tasks
-
key
property -
displayKey
property -
valueKey
property -
items
property -
– initWithItems:
-
– initWithItems:valueKey:
-
– initWithItems:valueKey:displayKey:
Properties
displayKey
A display key specific for this group. TKDataSource displayKey property is used if this property value is set to nil.
@property (nonatomic, copy, nullable) NSString *displayKey
Declared In
TKDataSourceGroup.h
items
An array containing the items specific for this group.
@property (nonatomic, strong, nonnull) NSArray *items
Declared In
TKDataSourceGroup.h
valueKey
A value key specific for this group. TKDataSource valueKey property is used if this property value is set to nil.
@property (nonatomic, copy, nullable) NSString *valueKey
Declared In
TKDataSourceGroup.h
Instance Methods
initWithItems:
Initializes the group with an array of items.
- (instancetype __nonnull)initWithItems:(NSArray *__nonnull)items
Parameters
- items
The items array specific for this group.
Declared In
TKDataSourceGroup.h
initWithItems:valueKey:
- (instancetype __nonnull)initWithItems:(NSArray *__nonnull)items valueKey:(NSString *__nullable)valueKey
Declared In
TKDataSourceGroup.h
initWithItems:valueKey:displayKey:
Initializes the group with an array of items value and display keys.
- (instancetype __nonnull)initWithItems:(NSArray *__nonnull)items valueKey:(NSString *__nullable)valueKey displayKey:(NSString *__nullable)displayKey
Parameters
- items
The items array specific for this group.
- valueKey
The value key.
- displayKey
The display key.
Declared In
TKDataSourceGroup.h