Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
In editing mode, the red circles with the dash (shown in Figure 10.7) are deletion controls, and touching one should delete that row. However, at this point, touching a deletion control doesn’t do anything. (Try it and see.) Before the table view will delete a row, it sends its data source a message about the proposed deletion and waits for a confirmation message before pulling the trigger.
When deleting a cell, you must do two things: remove the row from the UITableView and remove the BNRItem associated with it from the BNRItemStore. To pull this off, the BNRItemStore must know how to remove objects from itself. In BNRItemStore.h, declare a new method.