Hi folks So, now I have worked out how to manage Undo and Redo for adding and removing new managed objects from an NSTableView, fed by an NSArrayController.
In the end, I had to use the same MOC for the "new object" sheet that I used for the main browsing form. Now, the only thing left, that is slightly distracting, is that you can see the new object in the underlying table view, whilst it is being populated in the sheet. I have tried adding a predicate to the array controller "objectID.isTemporaryID == NO" but it doesn't seem to get respected. Any other ideas please? Joanna -- Joanna Carter Carter Consulting _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com