ASTableView(Internal) Category Reference
Declared in | ASTableViewInternal.h |
---|
– _initWithFrame:style:dataControllerClass:
Initializer.
- (instancetype)_initWithFrame:(CGRect)frame style:(UITableViewStyle)style dataControllerClass:(Class)dataControllerClass
Parameters
frame |
A rectangle specifying the initial location and size of the table view in its superview’s coordinates. The frame of the table view changes as table cells are added and deleted. |
---|---|
style |
A constant that specifies the style of the table view. See UITableViewStyle for descriptions of valid constants. |
dataControllerClass |
A controller class injected to and used to create a data controller for the table view. |
Declared In
ASTableViewInternal.h
test_enableSuperUpdateCallLogging
Set YES and we’ll log every time we call [super insertRows…] etc
@property (nonatomic) BOOL test_enableSuperUpdateCallLogging
Declared In
ASTableViewInternal.h
– convertIndexPathFromTableNode:waitingIfNeeded:
Attempt to get the view-layer index path for the row with the given index path.
- (NSIndexPath *)convertIndexPathFromTableNode:(NSIndexPath *)indexPath waitingIfNeeded:(BOOL)wait
Parameters
indexPath |
The index path of the row. |
---|---|
wait |
If the item hasn’t reached the view yet, this attempts to wait for updates to commit. |
Declared In
ASTableViewInternal.h
– convertIndexPathToTableNode:
Attempt to get the node index path given the view-layer index path.
- (NSIndexPath *)convertIndexPathToTableNode:(NSIndexPath *)indexPath
Parameters
indexPath |
The index path of the row. |
---|
Declared In
ASTableViewInternal.h
– convertIndexPathsToTableNode:
Attempt to get the node index paths given the view-layer index paths.
- (NSArray<NSIndexPath*> *)convertIndexPathsToTableNode:(NSArray<NSIndexPath*> *)indexPaths
Parameters
indexPaths |
An array of index paths in the view space |
---|
Declared In
ASTableViewInternal.h
– sectionIndexWidth
Returns the width of the section index view on the right-hand side of the table, if one is present.
- (CGFloat)sectionIndexWidth
Declared In
ASTableViewInternal.h