Re: Setting the selection of an array controller?
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