Chapter 11. Basic Data Persistence

So far, we've focused on the controller and view aspects of the Model-View-Controller paradigm. Although several of our applications have read data out of the application bundle, none of our applications have saved their data to any form of persistent storage, persistent storage being any form of non-volatile storage that survives a restart of the computer or device. So far, every sample application either did not store data or used volatile or nonpersistent storage. Every time one of our sample applications launched, it appeared with exactly the same data it had the first time you launched it.

This approach has worked for us up to this point. But in the real world, your application needs to persist data so that ...

Get Beginning iPhone Development: Exploring the iPhone SDK now with O’Reilly online learning.

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