Login required for access
In order to watch this lesson, you'll need to login to the website.
Background Thread Updates
Intermediate Training Core Data
In order to view this lesson, you must purchase this course.
In this lesson, we will learn how to update the UI after we create all of our Companies in core data by using DispatchQueue.main to get back on the main thread. Next we move onto updating our Company objects on a background thread which is much trickier. To perform this correctly, we are forced to reset our context on the main thread so that we can refetch everything. However, this is incredibly inefficient since we don't want to get everything again if we're just making a small set of changes. In the next lesson, we examine how we can set up relationships on our contexts so that we can merge changes automatically.

Comments (9)
romer_96p@hotmail.com
4 years ago
romer_96p@hotmail.com
4 years ago
romer_96p@hotmail.com
4 years ago
Cinquain
5 years ago
jwaples
6 years ago
iOS-Dev
5 years ago
Savoki
6 years ago
johnicode101
4 years ago
jpickard
6 years ago
Brian Voong
6 years ago
Nicolas.Jochnick
6 years ago
Brian Voong
6 years ago
pawelcichonski
6 years ago
Asaad Mirza
6 years ago
Brian Voong
6 years ago
magic
6 years ago
Please contact admin@letsbuildthatapp.com if you have any issues.
HELP & SUPPORT