On 2010 Mar 24, at 11:02, Joanna Carter wrote: > Well, I have found a very simple way to avoid secondary MOCs or new objects > appearing in the table view, whilst adding new objects. > > My example is to use a modal sheet to allow the editing of a new object....
and you don't even create the object until the sheet closes. The compromise is that the only Undo available in your modal sheet is the Undo manager for the field editor. But it's free and easy. Actually, I've always thought that providing an undo manager for filling in a "New Object" sheet of two or three text fields is kind of ridiculous. Even easier is to forget the stupid sheet. The "+" button inserts a new managed object, which appears in the table, makes the first column key view, and the user edits the table directly. Undo works as expected. _______________________________________________ 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