Cover by Joe Conway, Aaron Hillegass

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

O'Reilly logo

UITableViewCells

A UITableViewCell is a subclass of UIView, and each row in a UITableView is a UITableViewCell. (Recall that a table in iOS can only have one column, so a row only has one cell.) The UITableViewCells are subviews of the UITableView.

A cell itself has one subview – its contentView (Figure 9.12). The contentView is the superview for the content of the cell. It also can 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’s what we’ll use in this chapter. But you’ll ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required