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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.