• 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: Bindings for dynamically populated menu
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bindings for dynamically populated menu


  • Subject: Re: Bindings for dynamically populated menu
  • From: Jerry Krinock <email@hidden>
  • Date: Thu, 10 Apr 2014 14:13:10 -0700

On 2014 Apr 09, at 10:22, Sean McBride <email@hidden> wrote:

> A menu's selection is always visible, and I've found bindings on popup menus can be useful to deal with the selection.  If the object represented by the popup's selection is deleted (by some other piece of UI) then the popup's selection can be updated automagically with bindings.

You are correct, Sean.  I was just thinking of Main Menu menus, and had forgotten about menus under popup buttons.  I’ve used Cocoa Bindings not only on the Selected <Whatever>, but also Content and Content Values.

> But certainly the minute you want separators or other dynamic content, binding become less useful.

Yes, the pain starts to rise.


_______________________________________________

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: 
 >Bindings for dynamically populated menu (From: Jonathan Taylor <email@hidden>)
 >Re: Bindings for dynamically populated menu (From: Jonathan Taylor <email@hidden>)
 >Re: Bindings for dynamically populated menu (From: Michael Starke <email@hidden>)
 >Re: Bindings for dynamically populated menu (From: Jerry Krinock <email@hidden>)
 >Re: Bindings for dynamically populated menu (From: Sean McBride <email@hidden>)

  • Prev by Date: Re: NSTask: program launching another program, potential problem with path: how to do?
  • Next by Date: Re: NSTask: program launching another program, potential problem with path: how to do?
  • Previous by thread: Re: Bindings for dynamically populated menu
  • Next by thread: NSOperation subclass with abstract class?
  • Index(es):
    • Date
    • Thread