We analyze the arguments for using Child contexts and compare them to the benefits of moving to the new model provided by Core Data 2016. You should be able to make a decision if the new Persistent Container is for you.
- [Voiceover] So, before we go into analyzing…the Child Contexts,…let's at least get familiar again…with the different stack architecture.…On the left and on the right side of this…we have two examples of a process that has…two child contexts.…And the important part is just recognize…that there is that relationship…between the child and the parent,…and to understand that there's a merging process…that happens when the lower contexts save,…those changes bubble up to the main context.…In looking at stack two,…we have an even more complex structure.…
This is more performant…but there are complexities that come in…as these child contexts save their changes up.…So, let's look at the positives and the negatives of these.…Positives, it's somewhat performant…as we save large data sets,…there's less blocking on the UI thread,…and what I think is the most important part,…is it's easy to merge.…There's not a lot of complex code,…and so there's not a lot of potential for bugs.…Now, the negatives is it's not as performant…as other architectures,…
Author
Released
11/29/2016This 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
Skill Level Intermediate
Duration
Views
Related Courses
-
Google Firebase for iOS: First Look
with Joe Marini1h 4m Intermediate -
Distributing Your iOS App for Testing with TestFlight
with Ron Buencamino35m 10s Intermediate
-
Introduction
-
Welcome1m
-
-
1. Core Data Review
-
The Core Data stack2m 12s
-
Objects in Core Data5m 52s
-
Fetching data3m 15s
-
Queues and threads5m 24s
-
Faults5m 53s
-
-
2. Architectural Models in Core Data
-
Context project overview3m 10s
-
3. System of Record in Core Data
-
Local/server-only data2m 16s
-
Project overview1m 41s
-
4. Core Data Updates: iOS 10 and macOS 10.12
-
Mutiread/Single-write2m 1s
-
Swift API changes1m 45s
-
Other core data changes1m 23s
-
Query generations9m 57s
-
Example walkthrough7m 44s
-
-
5. Migrating Core Data: Architectural Models
-
Conclusion
-
Next steps1m 7s
-
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: Analysis of child contexts