Re: Notification when NSPersistentDocument done loading model

2008-12-30 Thread Richard Ashwell
Wow that worked suprisingly well, Thank you Dave, so basically I added a flag and set it during initWithType:error: so I new the flag was happening during a New document creation rather than a load document, I then checked the flag in windowControllerDidLoadNib and for a new document I was

Re: Notification when NSPersistentDocument done loading model

2008-12-29 Thread Richard Ashwell
If I understand Philip, I am having the same challenge, It isn't enough for me to let NSPersistentDocument do the load, I want a notification or some way of knowing after the load is completed so that I can fix up other related stuff. Is there someway to at a minimum: 1) In some

Notification when NSPersistentDocument done loading model

2008-12-22 Thread PHILIP GRANDINETTI
I'm using a Core Data model and letting NSPersistentDocument manage the task of finding and loading the application's model.   My model contains data that I am displaying in a graph (SM2DGraphView)   A problem I'm having is that once the model data is done loading I want to send a refresh