I have been trying very unsuccessfully to create a simple UIManagedDocument
library style application (separate documents saved to iCloud).
I am confused with the following:
Do I subclass UIManagedDocument
and set up the persistentStoreCoordinator
, ManagedObjectModel
& ManagedObjectContext
within this subclass, or are these supposed to be configured within the AppDelegate
(and if so, how do I go about refreshing the persistentStoreCoordinator
to look at the new file - it seems that once that has read a persistentStore
that I can't get it to read a new persistent store)?