Re: Enabling add button
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