• 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: "I. Savant" <email@hidden>
  • Date: Thu, 18 Dec 2008 15:42:28 -0500

On Thu, Dec 18, 2008 at 3:27 PM, Andre Masse <email@hidden> 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 (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: Andre Masse <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>)
 >Re: Enabling add button (From: Andre Masse <email@hidden>)

  • Prev by Date: Re: Implementing a record counter (record n of records)
  • 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