Core Data is Apple's data persistence framework. You can utilize this framework whenever your application needs to store data. Simple data can often be stored in
NSUserDefaults, but when you're handling data that's more complex, has relations, or needs some form of efficient searching, Core Data is much better suited for your needs.
You don't need to build a very complex app or have vast amounts of data to make Core Data worth your while. Regardless of your app's size, even if it's really small with only a couple of records or if you're holding on to thousands of records, Core Data has your back.
In this chapter, you'll learn how to add Core Data to an existing app. The app we will build keeps track of a ...