UITableViewCells

Each row of a table view is a view. These views are instances of UITableViewCell. In this section, you will be creating the instances of UITableViewCell to fill the table view. In Chapter 19, you will create a custom subclass of UITableViewCell.

A cell itself has one subview – its contentView (Figure 8.8). The contentView is the superview for the content of the cell. The cell may also draw an accessory indicator. The accessory indicator shows an action-oriented icon, such as a checkmark, a disclosure icon, or a fancy blue dot with a chevron inside. These icons are accessed through pre-defined constants for the appearance of the accessory indicator. The default is UITableViewCellAccessoryNone, and that is what you are ...

Get iOS Programming: The Big Nerd Ranch Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.