Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
As you'll probably be expecting by now, inserting and deleting rows is a multistage process that involves the tableView, the delegate, and the dataSource working in tandem with each other.
The process involves the following:
dataSourceThe sequence of events, and the passing of messages between tableView, dataSource, and delegate, is illustrated in Figure 7–9.
Figure 7–9. Messages passed during tableView editing
At first glance, this looks horrendously complicated. It's actually not that bad, as you'll see as you step through it.