On Thu, Dec 18, 2008 at 3:27 PM, Andre Masse <andre.ma...@videotron.ca> wrote:
> BTY, when does NSArrayController canInsert: returns NO?

  From the docs: "Returns a Boolean value that indicates whether an
object can be inserted into the receiver's content collection."

  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.

  There may be other stipulations but I can't think of them off-hand.

--
I.S.
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to