Re: How to hide new objects in a NSTableView?
Re: How to hide new objects in a NSTableView?
- Subject: Re: How to hide new objects in a NSTableView?
- From: Jerry Krinock <email@hidden>
- Date: Wed, 24 Mar 2010 22:23:03 -0700
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 (email@hidden)
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:
This email sent to email@hidden