Week 4 assignment errors - please help

I followed instructions one-to-one but keep getting this issue when during Week 3 To-Do List Part 2 video.

I assume it is something to do with the Core data, but I’m not sure. I dont know how to pass this assignment I’ve built it 5 times from scratch but can’t overcome it.

Please see screenshot below


Found a solution. Because of the the different Xcode version you should write self.persistentContainer.viewContext instead of self.managedObjectContext. So the full line is like this:

rootVC.myContext = self.persistentContainer.viewContext