TSTableViewContentHolder Class Reference
Inherits from | UIScrollView |
Declared in | TSTableViewContentHolder.h |
Tasks
-
contentHolderDelegate
property -
dataSource
property -
columnSelectionColor
property -
rowSelectionColor
property -
allowRowSelection
property -
– reloadData
-
– changeColumnWidthOnAmount:forColumn:animated:
-
– changeExpandStateForRow:toValue:animated:
-
– expandAllRowsWithAnimation:
-
– collapseAllRowsWithAnimation:
-
– selectRowAtPath:animated:
-
– selectColumnAtPath:animated:
-
– resetRowSelectionWithAnimtaion:
-
– resetColumnSelectionWithAnimtaion:
-
– pathToSelectedRow
-
– pathToSelectedColumn
-
– dequeueReusableCellViewWithIdentifier:
-
– clearCachedData
-
– insertRowAtPath:animated:
-
– removeRowAtPath:animated:
-
– updateRowAtPath:
Properties
allowRowSelection
Allow row selection on tap @def YES
@property (nonatomic, assign) BOOL allowRowSelection
Declared In
TSTableViewContentHolder.h
columnSelectionColor
Color of column selection outline
@property (nonatomic, strong) UIColor *columnSelectionColor
Declared In
TSTableViewContentHolder.h
contentHolderDelegate
@property (nonatomic, weak) id<TSTableViewContentHolderDelegate> contentHolderDelegate
Instance Methods
changeColumnWidthOnAmount:forColumn:animated:
Change width of specified column
- (void)changeColumnWidthOnAmount:(CGFloat)delta forColumn:(NSInteger)columnIndex animated:(BOOL)animated
Declared In
TSTableViewContentHolder.h
changeExpandStateForRow:toValue:animated:
Change expand state of the row
- (void)changeExpandStateForRow:(NSIndexPath *)rowPath toValue:(BOOL)expanded animated:(BOOL)animated
Declared In
TSTableViewContentHolder.h
clearCachedData
Clear cached data (reusable rows, cells that aren’t used at this moment).
- (void)clearCachedData
Declared In
TSTableViewContentHolder.h
collapseAllRowsWithAnimation:
Collapse all rows
- (void)collapseAllRowsWithAnimation:(BOOL)animated
Declared In
TSTableViewContentHolder.h
dequeueReusableCellViewWithIdentifier:
Reuse cached instance of cell view with specified Id.
- (TSTableViewCell *)dequeueReusableCellViewWithIdentifier:(NSString *)identifier
Declared In
TSTableViewContentHolder.h
expandAllRowsWithAnimation:
Expand all rows
- (void)expandAllRowsWithAnimation:(BOOL)animated
Declared In
TSTableViewContentHolder.h
pathToSelectedColumn
Return path to selected column. If no column currently selected return nil.
- (NSIndexPath *)pathToSelectedColumn
Declared In
TSTableViewContentHolder.h
pathToSelectedRow
Return path to selected row. If no row currently selected return nil.
- (NSIndexPath *)pathToSelectedRow
Declared In
TSTableViewContentHolder.h
resetColumnSelectionWithAnimtaion:
Hide current row selection
- (void)resetColumnSelectionWithAnimtaion:(BOOL)animated
Declared In
TSTableViewContentHolder.h
resetRowSelectionWithAnimtaion:
Hide current row selection
- (void)resetRowSelectionWithAnimtaion:(BOOL)animated
Declared In
TSTableViewContentHolder.h
selectColumnAtPath:animated:
Select column at path
- (void)selectColumnAtPath:(NSIndexPath *)columnPath animated:(BOOL)animated
Declared In
TSTableViewContentHolder.h