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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to