O'Reilly logo

iOS 7 Development Recipes: A Problem-Solution Approach by Joseph Hoffman, Shawn Grimes, Colin Francis, Hans-Eric Grönlund

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

Chapter     15

Data Storage Recipes

When working in iOS, one of the most important concepts to understand is the implementation of persistence. This means having information saved and retrieved, or persisted, through the closing or restarting of an application. Just as pages from books can be read and re-read, even after closing and re-opening them, you can make use of certain key concepts in iOS to allow your information—from the simplest values to the most complex data structures—to stay stored in your device for indefinite periods of time.

In this chapter, we cover many data persistence methods that will allow you to save data for offline use including user defaults, documents, databases, and even iCloud. We will show you the different advantages ...

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