mirror of
https://github.com/HackPlan/AsyncDisplayKit.git
synced 2026-04-05 22:33:53 +08:00
Update containers-astablenode.md
This commit is contained in:
@@ -9,13 +9,17 @@ next: containers-ascollectionnode.html
|
||||
|
||||
ASTableNode replaces both of UITableView's required methods
|
||||
|
||||
`- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath` and
|
||||
`- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath`
|
||||
|
||||
and
|
||||
|
||||
`- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath`
|
||||
|
||||
with **_one_** of the following methods (your choice)
|
||||
|
||||
`- (ASCellNode *)tableView:(ASTableView *)tableView nodeForRowAtIndexPath:(NSIndexPath *)indexPath` or
|
||||
`- (ASCellNode *)tableView:(ASTableView *)tableView nodeForRowAtIndexPath:(NSIndexPath *)indexPath`
|
||||
|
||||
or
|
||||
|
||||
`- (ASCellNodeBlock)tableView:(ASTableView *)tableView nodeBlockForRowAtIndexPath:(NSIndexPath *)indexPath` **_(recommended)_**
|
||||
|
||||
|
||||
Reference in New Issue
Block a user