karelia / BSManagedDocument

Brings UIManagedDocument's design to OS X
Other
55 stars 25 forks source link

Work around Core Data external attributes bug #11

Open mikeabdullah opened 11 years ago

mikeabdullah commented 11 years ago

When the store's URL changes, Core Data doesn't propagate that change to externally stored attributes.

The best workaround we appear to have is to rebuild the whole Core Data stack, likely by generating a fresh managed object context etc. If all in the document hangs off of .managedObjectContext that could neatly use KVO to reset the UI.