• 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: NSPopUpButton binding value/selected problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >NSPopUpButton binding value/selected problem (From: Trygve Inda <email@hidden>)

  • Prev by Date: Re: Converting views to use layer backing
  • Next by Date: Re: Core Data with ODBC databases?
  • Previous by thread: NSPopUpButton binding value/selected problem
  • Next by thread: Re: NSPopUpButton binding value/selected problem
  • Index(es):
    • Date
    • Thread