CCTableViewDataSource Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | CCTableView.h |
Overview
Protocol for a CCTableView data source. It is similar to but technically incompatible with the UITableViewDataSource protocol.
For complex table views or such cells which are potentially expensive to create it is recommended that the data source caches the cells after creation, so that when tableView:nodeForRowAtIndex: requests a new set of cells the cached cells can be returned rather than creating all cells anew.