Table Views

Table views are extremely complex objects. There isn’t room enough in this book to list every method of the table view classes or to explain everything that can be done with table views. Instead, three examples are presented. The first example shows the basic setup of a table view and the simplest possible data source. The second example expands on the first by doing some custom formatting of the data displayed by the table view. The third and final example shows a complex data source that implements a master-detail interface.

NOTE

In a master-detailinterface, a table view (the master) or other complex data-display objects display several data records. Selecting a particular record in the master causes a detail area, made of many ...

Get Cocoa® Programming now with O’Reilly online learning.

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