In order to view this lesson, you must purchase this course.
With all of our JSON objects downloaded into our Service function, we're now ready to convert all of this data into Core Data entities. We start off by inserting all of our companies into Core Data using a private context, that has our main queue context as the parent. It's very important that you set this relationship up correctly, otherwise the saving of a private context will not push the changes to the UI.
Finally we create our employees along with their information in Core Data. We wrap it all up by enabling the download functionality to fire when we drag our table view downwards.