Chapter 11

Core Data Recipes

One of the most common problems that developers face is the concept of persistence, or more simply, storing data. For certainly a very high percentage of applications, it is not enough to simply store information in your variables, as everything will be lost as soon as the application is closed. While the previous chapter covered a wide variety of options for storing data between uses, none of them can quite compare to the versatility, power, and simplicity of Core Data.

There are a great many resources, including entire books (I highly recommend Pro Core Data for iOS, by Michael Privat and Robert Warner) that focus simply on the topic of Core Data. It would be ridiculous to assume that you could cover every part ...

Get iOS 5 Recipes: A Problem-Solution Approach now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.