I have an NSPersistentDocument. When I use the default managedObjectContext, it behaves as expected: the window shows the document is "edited" when new objects are added, and when I exit new, untitled, documents, the "save as" sheet appears.
When I replace the default managedObjectContext with one of my own creation (a private queue), however, all of these behaviors disappear. The document does not appear to recognize when edits to the document are made, and new, untitled, documents just close without the "save as" sheet appearing. This is all despite the fact that [managedObjectContext hasChanges] == YES.
Any ideas would be greatly appreciated.