• 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: validateMenuItem() not always being called
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: validateMenuItem() not always being called
      • From: j o a r <email@hidden>
    • Re: validateMenuItem() not always being called
      • From: "Kyle Sluder" <email@hidden>
References: 
 >validateMenuItem() not always being called (From: email@hidden)

  • Prev by Date: Re: validateMenuItem() not always being called
  • Next by Date: Re: validateMenuItem() not always being called
  • Previous by thread: Re: validateMenuItem() not always being called
  • Next by thread: Re: validateMenuItem() not always being called
  • Index(es):
    • Date
    • Thread