TSTableView Class Reference
Inherits from | UIView |
Declared in | TSTableView.h |
Tasks
-
dataSource
property -
delegate
property -
maxNestingLevel
property -
highlightControlsOnTap
property -
allowRowSelection
property -
allowColumnSelection
property -
lineNumbersHidden
property -
headerPanelHidden
property -
expandPanelHidden
property -
lineNumbersColor
property -
headerBackgroundImage
property -
expandPanelBackgroundImage
property -
topLeftCornerBackgroundImage
property -
expandItemNormalBackgroundImage
property -
expandItemSelectedBackgroundImage
property -
expandSectionBackgroundImage
property -
headerBackgroundColor
property -
expandPanelBackgroundColor
property -
– reloadData
-
– reloadRowsData
-
– dequeueReusableCellViewWithIdentifier:
-
– clearCachedData
-
– changeExpandStateForRow:toValue:animated:
-
– expandAllRowsWithAnimation:
-
– collapseAllRowsWithAnimation:
-
– selectRowAtPath:animated:
-
– resetRowSelectionWithAnimtaion:
-
– selectColumnAtPath:animated:
-
– resetColumnSelectionWithAnimtaion:
-
– pathToSelectedRow
-
– pathToSelectedColumn
-
– insertRowAtPath:animated:
-
– removeRowAtPath:animated:
-
– updateRowAtPath:
-
– insertRowsAtPathes:animated:
-
– updateRowsAtPathes:animated:
-
– removeRowsAtPathes:animated:
Properties
allowColumnSelection
Allow column selection on tap @def YES
@property (nonatomic, assign) BOOL allowColumnSelection
Declared In
TSTableView.h
allowRowSelection
Allow row selection on tap @def YES
@property (nonatomic, assign) BOOL allowRowSelection
Declared In
TSTableView.h
expandItemNormalBackgroundImage
This image is used for expand item control in normal (not expanded) state. Image wouldn’t be stretched and will have bottom left alignment
@property (nonatomic, strong) UIImage *expandItemNormalBackgroundImage
Declared In
TSTableView.h
expandItemSelectedBackgroundImage
This image is used for expand item control in selected (expanded) state. Image wouldn’t be stretched and will have bottom left alignment
@property (nonatomic, strong) UIImage *expandItemSelectedBackgroundImage
Declared In
TSTableView.h
expandPanelBackgroundColor
Background color for expand panel
@property (nonatomic, strong) UIColor *expandPanelBackgroundColor
Declared In
TSTableView.h
expandPanelBackgroundImage
Set background image for expand panel to customize appearance
@property (nonatomic, strong) UIImage *expandPanelBackgroundImage
Declared In
TSTableView.h
expandPanelHidden
If YES then expand niew isn’t shown @def NO
@property (nonatomic, assign) BOOL expandPanelHidden
Declared In
TSTableView.h
expandSectionBackgroundImage
Provide background image for expand section in side control panel. Image would be stretched depending on the size of section.
@property (nonatomic, strong) UIImage *expandSectionBackgroundImage
Declared In
TSTableView.h
headerBackgroundColor
Background color for header panel
@property (nonatomic, strong) UIColor *headerBackgroundColor
Declared In
TSTableView.h
headerBackgroundImage
Set background image for header panel to customize appearance
@property (nonatomic, strong) UIImage *headerBackgroundImage
Declared In
TSTableView.h
headerPanelHidden
If YES then header niew isn’t shown @def NO
@property (nonatomic, assign) BOOL headerPanelHidden
Declared In
TSTableView.h
highlightControlsOnTap
Show hihlights when user taps control (slide control in header secrion and expand control in side panel)
@property (nonatomic, assign) BOOL highlightControlsOnTap
Declared In
TSTableView.h
lineNumbersColor
Color for row line numbers in side panel
@property (nonatomic, strong) UIColor *lineNumbersColor
Declared In
TSTableView.h
lineNumbersHidden
If NO then line numbers are displayed in side panel
@property (nonatomic, assign) BOOL lineNumbersHidden
Declared In
TSTableView.h
Instance Methods
changeExpandStateForRow:toValue:animated:
Change expand state of the row
- (void)changeExpandStateForRow:(NSIndexPath *)rowPath toValue:(BOOL)expanded animated:(BOOL)animated
Declared In
TSTableView.h
clearCachedData
Clear cached data (reusable rows, cells that aren’t used at this moment).
- (void)clearCachedData
Declared In
TSTableView.h
collapseAllRowsWithAnimation:
Collapse all rows
- (void)collapseAllRowsWithAnimation:(BOOL)animated
Declared In
TSTableView.h
dequeueReusableCellViewWithIdentifier:
Reuse cached instance of cell view with specified Id.
- (TSTableViewCell *)dequeueReusableCellViewWithIdentifier:(NSString *)identifier
Declared In
TSTableView.h
expandAllRowsWithAnimation:
Expand all rows
- (void)expandAllRowsWithAnimation:(BOOL)animated
Declared In
TSTableView.h
insertRowAtPath:animated:
Modify content
- (void)insertRowAtPath:(NSIndexPath *)path animated:(BOOL)animated
Declared In
TSTableView.h
pathToSelectedColumn
Return path to selected column. If no column currently selected return nil.
- (NSIndexPath *)pathToSelectedColumn
Declared In
TSTableView.h
pathToSelectedRow
Return path to selected row. If no row currently selected return nil.
- (NSIndexPath *)pathToSelectedRow
Declared In
TSTableView.h
reloadData
Reload content. Both columns and rows are updated
- (void)reloadData
Declared In
TSTableView.h
resetColumnSelectionWithAnimtaion:
Hide current selection
- (void)resetColumnSelectionWithAnimtaion:(BOOL)animated
Declared In
TSTableView.h
resetRowSelectionWithAnimtaion:
Hide current selection
- (void)resetRowSelectionWithAnimtaion:(BOOL)animated
Declared In
TSTableView.h
selectColumnAtPath:animated:
Select row at path
- (void)selectColumnAtPath:(NSIndexPath *)rowPath animated:(BOOL)animated
Declared In
TSTableView.h