O'Reilly logo

Sams Teach Yourself iPhone Application Development in 24 Hours by John Ray, Sean Johnson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Hour 16. Reading and Writing Data

What You’ll Learn in This Hour:

Application sandbox restrictions

Data storage locations

Object archiving

Data persistence with Core Data

Up to this point, the applications we’ve built have not allowed the user to create and store a lot of new data. Quite a few types of iPhone applications, however, do need to store a substantial amount of new information. Consider some of Apple’s applications, such as Notes and Contacts. These are data management applications whose main function is to reliably store and retrieve data for the user. Where does this data go when the application is not running? Just like with a desktop application, iPhone applications persist their data to the file system.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required