• 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: Willeke <email@hidden>
  • Date: Mon, 21 Oct 2013 14:38:26 +0200

>> Why don't you want to bind the Selected Index? It does what you want.
>>
> Because I don't want the menu to reflect the selection in the table. I just
> need the contents of the menu to match the contents of the table, but the
> selections in each place need to be independent of each other.
>

You could bind Selected Object of the popup button to something like a property of the windowcontroller. Or give the popup button its own arraycontroller.

Willeke
_______________________________________________

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


  • Prev by Date: Re: NSDocument and KVO compliance
  • Next by Date: How to change highlight colour on NSTableView row
  • Previous by thread: Re: NSPopUpButton binding value/selected problem
  • Next by thread: C functions
  • Index(es):
    • Date
    • Thread