• 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: Enabling menu items...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Enabling menu items...


  • Subject: Re: Enabling menu items...
  • From: Jens Alfke <email@hidden>
  • Date: Fri, 18 Dec 2009 09:19:42 -0800

On Dec 18, 2009, at 7:52 AM, Doug Knowles wrote:

> It's been my experience that validateUserInterfaceItem: is only called for
> toolbar items; there may be other cases, but I haven't run across them, and
> I've never seen it called on menu items.

No, that's not true; it's called for menu items as well. It exists so that you don't have to have two separate methods for menu and toolbar items.

Jim, are you certain that your validate method isn't being called for the Delete menu item? Have you set a breakpoint or added logging to check?

—Jens_______________________________________________

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

  • Follow-Ups:
    • Re: Enabling menu items...
      • From: Jim Majure <email@hidden>
References: 
 >Enabling menu items... (From: Jim Majure <email@hidden>)
 >Re: Enabling menu items... (From: Doug Knowles <email@hidden>)

  • Prev by Date: Re: App works when launched from Xcode, not from Finder
  • Next by Date: Re: Question about MVC
  • Previous by thread: Re: Enabling menu items...
  • Next by thread: Re: Enabling menu items...
  • Index(es):
    • Date
    • Thread