I would like to be able to initialize an NSPersistentDocument only when a new Untitled Document is created. In other words I would like to populate it's model with a few objects, but I don't want a newly opened document to be repopulated with these items. Does anyone have some ideas how I could go about doing this, preferably within the NSPersistentDocument subclass.
I have tried checking the managedObjectContext within init to see if those items are already there, but unfortunately it seems that the managedObjectContext hasn't been filled at this point.