Re: Core data question in multiwindow doc app

2008-06-28 Thread Steven Hamilton
On 28/06/2008, at 2:41 PM, Chris Hanson wrote: On Jun 27, 2008, at 7:25 PM, Steven Hamilton wrote: [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(buildSourceList) name:@NSManagedObjectContextObjectsDidChangeNotification object: [self.document

Core data question in multiwindow doc app

2008-06-27 Thread Steven Hamilton
Easy one this I reckon (but not that easy or I wouldn't ask), I've converted my core data app to NSPersistentDocument and using a multi-nib model for my 3 windows. I have an account window using the IB wizard Master-Detail interface with bindings to add and manage Account entities. I also

Re: Core data question in multiwindow doc app

2008-06-27 Thread Steven Hamilton
On 28/06/2008, at 4:32 AM, Ben Trumbull wrote: When I add a new account entity my outlineview doesn't know. Should I be using a notification to find out when a new account entity is added. If so, which one? The easiest way to track insertions and deletions in the NSManagedObjectContext is