Although these pieces don't change often, having a basic, workable understanding of the low level pieces in Core Data will help you understand the different architectures we will be covering. These pieces include: the persistent store, coordinator, and the context.
- View Offline
- [Narrator] Before we dive into Core Data,…we've got to make sure our basics are covered.…We need to understand these three main objects:…the Context, the Coordinator, and the Data Store.…How do you use two of these objects…affects how your Core Data stack performs.…All of these together are sometimes…referred to as the Stack.…The lowest level object that we'll be working with…is the Persistent Store.…It's a wrapper around the database,…and it manages the connections, the reads, the writes,…and schedules through the operating system.…
You usually don't have to know much more…than that this is a pointer to your database.…Before we go any further, we have to understand…that these objects typically have…very long and verbose names:…the Persistent Store Coordinator, the Persistent Store.…Instead of referring to these as that,…we're going to just call it the Coordinator…and the Data Store, or the Store.…The Coordinator handles everything…such as your connections, your memory, your performance,…and it's really something you can mostly ignore.…
This course is meant for the enterprise developer who wants to get up to speed with the latest methods with Core Data. Instructor Jon Bott starts with a review of the basics, explaining the different architectural data models currently in use, the issues that can arise from these different models, and how the latest changes in Core Data 2016 simplify these models. He wraps up with hands-on migration to the new APIs and further tips on leveraging them in iOS 10 and macOS 10.12 apps.
- Fetching data
- Working with objects, queues, and threads
- Understanding the architectural models
- Managing local and server-side data
- Understanding iOS 10 and macOS 10.12 updates to Core Data
- Migrating to the new core data