Re: validateMenuItem() not always being called
Re: validateMenuItem() not always being called
- Subject: Re: validateMenuItem() not always being called
- From: Hal Mueller <email@hidden>
- Date: Sun, 18 May 2008 15:46:59 -0700
-validateMenuItem: is deprecated; you should probably be using -
validateUserInterfaceItem: (these are both methods, not functions as
you wrote). Where to implement it depends on what functionality
you're trying to control/limit. If I'm only allowing one document
open for read/write at a time, then I want to implement it in one
place. If I want to restrict a window's maximum zoom level and I have
multiple windows, I'll implement it in a different place.
Hal
_______________________________________________
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