• 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: Enabling add button
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Enabling add button


  • Subject: Re: Enabling add button
  • From: Andre Masse <email@hidden>
  • Date: Thu, 18 Dec 2008 15:27:40 -0500


On Dec 18, 2008, at 15:10, I. Savant wrote:

It's almost the classic "more security == less convenience" scenario. In this case "security"
refers to that of your data integrity. :-)


Exactly :-)

 Perhaps all your tables should use a datasource (and delegate). This
way your add button can call a method that directly checks the
responder status, then if everything is okay, adds the object, reloads
the table's data (so the object is available immediately - not
possible using Bindings), then call the table's
-editColumn:row:withEvent:select: method to make the table ready to
edit.

I guess I have no choice. BTY, when does NSArrayController canInsert: returns NO?


Thanks again,

Andre Masse
_______________________________________________

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


  • Follow-Ups:
    • Re: Enabling add button
      • From: "I. Savant" <email@hidden>
References: 
 >Enabling add button (From: Andre Masse <email@hidden>)
 >Re: Enabling add button (From: "I. Savant" <email@hidden>)
 >Re: Enabling add button (From: Andre Masse <email@hidden>)
 >Re: Enabling add button (From: "I. Savant" <email@hidden>)

  • Prev by Date: Re: Enabling add button
  • Next by Date: Re: Enabling add button
  • Previous by thread: Re: Enabling add button
  • Next by thread: Re: Enabling add button
  • Index(es):
    • Date
    • Thread