Advanced UITableView
Automatic Cell Loading and more
The old way of creating custom cell is…
A new interesting methods that I would like to try is
// newer dequeue method guarantees a cell is returned and resized properly, assuming identifier is registered
- (id)dequeueReusableCellWithIdentifier:(NSString *)identifier forIndexPath:(NSIndexPath *)indexPath NS_AVAILABLE_IOS(6_0);
The UITableView class includes the following changes:
- Support for a new UITableViewHeaderFooterView class implements the table’s headers and footers
- A simplified model for creating and managing cells and other views.
- The UITableViewController class allows you to add a built-in refresh control (UIRefreshControl) to reload the table contents.
Email me when Claire Jingwen Xiong publishes or recommends stories