April 2020
Intermediate to advanced
528 pages
15h 40m
English
A UITableView displays a list of UITableViewCell objects. For many applications, the basic cell with its textLabel, detailTextLabel, and imageView is sufficient. However, when you need a cell with more detail or a different layout, you subclass UITableViewCell.
In this chapter, you will create a subclass of UITableViewCell named ItemCell that will display Item instances more effectively. Each of these cells will show an Item’s name, its value in dollars, and its serial number (Figure 10.1).
Figure 10.1 LootLogger with subclassed table view cells
You customize the appearance of UITableViewCell ...
Read now
Unlock full access