• 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 and MenuItems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bindings and MenuItems


  • Subject: Re: Bindings and MenuItems
  • From: Keary Suska <email@hidden>
  • Date: Wed, 1 Apr 2009 09:37:13 -0600

On Apr 1, 2009, at 3:34 AM, Ben Lachman wrote:

I have a menu item that is bound to a target. The menu is resides in has "Auto Enables Items" checked which means that it should call - validateMenuItem on a items target if it is available. However validate is never called on the target. If I remove the binding and set the target to one of the objects manually in IB the validation method is called as expected. Has anyone else run into this and if so, is there a work around?


IIRC, I had a situation where I discovered that both target & action have to be bound (i.e. key-value binding) or target-action fails entirely.

HTH,

Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"

_______________________________________________

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 MenuItems (From: Ben Lachman <email@hidden>)
 >Re: Bindings and MenuItems (From: Andy Lee <email@hidden>)

  • Prev by Date: Re: NSMutableArray is null?
  • Next by Date: Re: Best Strategy to Control iTunes
  • Previous by thread: Re: Bindings and MenuItems
  • Next by thread: Re: Bindings and MenuItems
  • Index(es):
    • Date
    • Thread