Changes saved from one NSManagedObjectContext doesn't reflect on main NSManagedObjectContext
- 阅读更多 关于 Changes saved from one NSManagedObjectContext doesn't reflect on main NSManagedObjectContext
问题 I have a main NSManagedObjectContext that's created in the appDelegate . Now, I'm using another NSManagedObjectContext for editing/adding new objects without affecting the main NSManagedObjectContext , until I save them. When I save the second NSManagedObjectContext , the changes are not reflected in the main NSManagedObjectContext , yet if I open the .sqlite database from simulator, the changes have been saved correctly into the .sqlite database. It doesn't matter if I fetch the data again,