Graphics Programs Reference
In-Depth Information
Creating and retrieving UITableViewCells
In this chapter, each cell will display the description of a BNRItem as its textLa-
bel . To make this happen, you need to implement the second required method from the
UITableViewDataSource protocol, tableView:cellForRowAtIndexPath: .
This method will create a cell, set its textLabel to the description of the corres-
ponding BNRItem , and return it to the UITableView ( Figure 9.15 ).
Figure 9.15 UITableViewCell retrieval
 
Search WWH ::




Custom Search