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.
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.