Chapter 8: Adding Core Data to Your App
Core Data is Apple's data persistence framework. You can use this framework whenever your application needs to store data. Simple data can often be stored in UserDefaults, but when you're handling data that is more complex, has relationships, or needs some form of efficient searching, Core Data is much better suited to 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 tiny with only a couple of records, or if you're holding onto 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 you will build keeps track of a list of ...
Get Mastering iOS 14 Programming - Fourth Edition 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.