• 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
Bindings & NSMenu selections
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bindings & NSMenu selections


  • Subject: Bindings & NSMenu selections
  • From: Jonathan del Strother <email@hidden>
  • Date: Fri, 16 Dec 2005 15:37:56 +0000

I have a view menu which allows a user to specify sort order (View by Album, View by Artist etc). Only one can be selected at a time, so the user selects one, a tick appears next to it, and the remaining options get unticked.

Is it possible to do this easily with Cocoa Bindings? Since the menu items are bound separately (rather than all-in-one like an NSPopupButton), the only binding ways I can see of doing this seem to involve writing more controller code than there would be with a non- binding, custom controller.

Am I missing something, or is this one of those things that binding isn't so suitable for?

Jon

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
  • Prev by Date: Re: Set of controls offered in IB palette
  • Next by Date: Re: Set of controls offered in IB palette
  • Previous by thread: Re: What does crash in setSelectedRanges:affinity:stillSelecting mean?
  • Next by thread: Using Zip executable in Cocoa Application
  • Index(es):
    • Date
    • Thread