• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to hide new objects in a NSTableView?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >How to hide new objects in a NSTableView? (From: Joanna Carter <email@hidden>)
 >Re: How to hide new objects in a NSTableView? (From: Kyle Sluder <email@hidden>)
 >Re: How to hide new objects in a NSTableView? (From: Joanna Carter <email@hidden>)
 >Re: How to hide new objects in a NSTableView? (From: Jerry Krinock <email@hidden>)
 >Re: How to hide new objects in a NSTableView? (From: Joanna Carter <email@hidden>)

  • Prev by Date: Tooltips over buttons ?
  • Next by Date: Re: Tooltips over buttons ?
  • Previous by thread: Re: How to hide new objects in a NSTableView?
  • Next by thread: [MEET] Toronto Cocoaheads / tacow - April 13
  • Index(es):
    • Date
    • Thread