Login required for access
In order to watch this lesson, you'll need to login to the website.
Nested Parent Child Context Relationship
Intermediate Training Core Data
In order to view this lesson, you must purchase this course.
For today's lesson, we'll learn about how to very easily setup Core Data Contexts so that we can merge in small changes. Let's first discuss what a Nested Parent Child Context Relationship is and how changes will propagate upwards to a parent context. Next, we write the code that constructs a private concurrency context ourselves, which will then allow us to set the parent to the main context. Finally, we'll have to execute a save on the main context to make sure changes are persisted all the way into Core Data. If we fail to do this, all changes are discarded upon restart of our app.

Comments (8)
iosmkarim
4 years ago
Cinquain
5 years ago
Cinquain
5 years ago
overcome
6 years ago
Tùng Vux
6 years ago
Brian Voong
6 years ago
Rupali Ghate
6 years ago
Brian Voong
6 years ago
Tube
6 years ago
Brian Voong
6 years ago
iHobbit
6 years ago
Brian Voong
6 years ago
Please contact admin@letsbuildthatapp.com if you have any issues.
HELP & SUPPORT