Re: Enabling add button
Re: Enabling add button
- Subject: Re: Enabling add button
- From: Andre Masse <email@hidden>
- Date: Thu, 18 Dec 2008 18:23:40 -0500
On Dec 18, 2008, at 15:42, I. Savant wrote:
I've only ever seen it return NO when the content collection isn't
present. In other words, if your Widget Detail controller's content
array (or set) is bound to the Master's selection.widgets and a valid
Master object is selected, it would return YES. If there is no Master
selection, you'd get NO.
I had a bug that was setting the content array to nil, strangely the
button bound to "canInsert:" was enabled... Didn't try binding to
selection though.
Thanks for your help,
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