• 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: Setting the selection of an array controller?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting the selection of an array controller?


  • Subject: Re: Setting the selection of an array controller?
  • From: Mike Abdullah <email@hidden>
  • Date: Sat, 26 Mar 2011 00:23:24 +0000

On 26 Mar 2011, at 00:13, Rick Mann wrote:

> I have an array controller associated with a set of objects that appear in a custom view. When the user selects one or more of those objects, I want the array controller selection to change appropriately, so that my inspector can then update accordingly.
>
> I've got examples working where the selection is managed by Cocoa, but I don't know how to set it myself.
>
> What should I be looking for in the literature on the subject?

The NSArrayController and NSObjectController docs. It provides several methods for setting the selection.

>
> Thanks,
> Rick
>
> _______________________________________________
>
> 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

_______________________________________________

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

References: 
 >Setting the selection of an array controller? (From: Rick Mann <email@hidden>)

  • Prev by Date: Re: Hash Values in Custom Classes
  • Next by Date: Re: Setting the selection of an array controller?
  • Previous by thread: Setting the selection of an array controller?
  • Next by thread: Re: Setting the selection of an array controller?
  • Index(es):
    • Date
    • Thread