Re: NSPopUpButton binding value/selected problem
Re: NSPopUpButton binding value/selected problem
- Subject: Re: NSPopUpButton binding value/selected problem
- From: "email@hidden" <email@hidden>
- Date: Fri, 18 Oct 2013 09:35:59 +0100
On 17 Oct 2013, at 19:35, Trygve Inda <email@hidden> wrote:
>
> How can I tie the selected index to the Identifier (67897 instead of
> "Hello") since the Identifier will not change?
>
> I don't want to bind the Selected Index to a selection in the NSArray
> Controller, but do want to be able to change the Name in the Dictionary
> without the popup menu trying to maintain a selection based on the name...
> The name in the popup should simply change to whatever the new naem at that
> index is.
>
Is NSArrayController - preservesSelection set to YES?
I would at least observe the selectedIndex to help diagnose the issue.
J
_______________________________________________
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