TSCell Class Reference
Inherits from | NSObject |
Declared in | TSTableViewModel.h |
Tasks
-
value
property -
details
property -
icon
property -
textAlignment
property -
textColor
property -
detailsColor
property -
+ cellWithValue:
-
+ cellWithDictionary:
-
– initWithValue:
-
– initWithDictionary:
Properties
details
Details text for cell.
@property (nonatomic, strong) NSString *details
Declared In
TSTableViewModel.h
detailsColor
Details color.
@property (nonatomic, strong) UIColor *detailsColor
Declared In
TSTableViewModel.h
icon
Icon image for cell.
@property (nonatomic, strong) UIImage *icon
Declared In
TSTableViewModel.h
textAlignment
Text aligment in cell.
@property (nonatomic, assign) NSTextAlignment textAlignment
Declared In
TSTableViewModel.h
Class Methods
cellWithDictionary:
Create cell with dictionary which define content and properties of TSCell.
+ (id)cellWithDictionary:(NSDictionary *)info
Parameters
- info
Dictionary containes values for named properties of TSCell.
NSDictionary *cellInfo = @{ @"value" : @1, @"icon" : @"image.png" };
Declared In
TSTableViewModel.h
Instance Methods
initWithDictionary:
Initialize cell with dictionary which define content and properties of TSCell.
- (id)initWithDictionary:(NSDictionary *)info
Parameters
- info
Dictionary containes values for named properties of TSCell.
NSDictionary *cellInfo = @{ @"value" : @1, @"icon" : @"image.png" };
Declared In
TSTableViewModel.h