• 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
Fwd: bindings and menu items in Leopard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fwd: bindings and menu items in Leopard


  • Subject: Fwd: bindings and menu items in Leopard
  • From: Mitchell Livingston <email@hidden>
  • Date: Mon, 29 Oct 2007 22:47:51 -0400

Looking at it further, it seems that any menu item that has any kind of binding on it will have strange behavior, not performing validateMenuItem: for example. Is this intentional, because it seems pretty big to be a Leopard bug.

Thanks,
Mitchell Livingston

Begin forwarded message:

From: Mitchell Livingston <email@hidden>
Date: October 29, 2007 2:45:58 PM EDT
To: email@hidden
Subject: bindings and menu items in Leopard

Hello,

It seems that in Leopard, when I have a menu item bound to a value in NSUserDefaults, when sending the action, the action is sent before the value is toggled (as in checked/unchecked). In Tiger it first changed the value and then sent the action. The annoying thing is a button bound to the value will change the value and then send the action, making it difficult when a menu and button are bound to the same method. Is this a bug on Apple's end or some new desired behavior.

Thanks,
Mitchell Livingston

_______________________________________________

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 and menu items in Leopard (From: Mitchell Livingston <email@hidden>)

  • Prev by Date: Re: -[NSPopUpButton indexOfItemWithRepresentedObject:] broken?
  • Next by Date: Re: bindings and menu items in Leopard
  • Previous by thread: bindings and menu items in Leopard
  • Next by thread: Re: bindings and menu items in Leopard
  • Index(es):
    • Date
    • Thread