Re: Refreshing NSArrayController after Undo/Redo

2010-03-23 Thread Joanna Carter
Hi folks Now which one of you here hasn't read the docs fully and properly before asking a question? :-) Jerry Krinock dropped me a private line and suggested that the title for this thread should have been "How to register Undo when syncing MOCs with mergeChangesFromContextDidSaveNotificati

Re: Refreshing NSArrayController after Undo/Redo

2010-03-22 Thread Joanna Carter
OK, I've done some more digging and found where the problem appears to be happening. The Undo isn't happening because there is nothing to undo!!! The situation is happening because I am using a secondary MOC for editing. Once the edited object is saved to the secondary MOC, I reconcile the main

Refreshing NSArrayController after Undo/Redo

2010-03-22 Thread Joanna Carter
Hi folks I understand how to manage the NSUndoManager on a NSManagedObjectContext, but getting the visuals to react is proving elusive. Example === Core Data application (not document-based) Main form contains an NSTableView connected to an NSArrayController in Entity mode. I can add and