UITableViewController methods are called by the
UITableView to populate its cells and determine other information about the corresponding data. These methods (Figs. 4.33–4.36) are defined in the UITableViewDataSource protocol, which
UITableViewController (and thus
MasterViewController) implements. A
UITableView gets its data from its data source—in this case, the
Model. Xcode generated these methods as part of the Master-Detail Application template and we modified them to interact with our
UITableView may contain many sections—for example, an alphabetical list might have separate sections for each ...