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

Re: Disabling menu items


  • Subject: Re: Disabling menu items
  • From: Shane Stanley <email@hidden>
  • Date: Sat, 7 Oct 2017 10:46:21 +1100

On 7 Oct 2017, at 10:41 am, Kevin Perry <email@hidden> wrote:
>
> This should be handled automatically by NSDocumentController’s implementation
> of -validateUserInterfaceItem: / -validateMenuItem:. Any chance you’re
> overriding either of those methods and returning YES for menu items you don’t
> own (instead of calling super)?

Quite possibly. Thanks for the nudge.

--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>, <latenightsw.com>


_______________________________________________

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: 
 >Disabling menu items (From: Shane Stanley <email@hidden>)
 >Re: Disabling menu items (From: Kevin Perry <email@hidden>)

  • Prev by Date: Re: Disabling menu items
  • Next by Date: Re: Odd Behavior of UIText View in app compiled with a Base SDK of iOS 11
  • Previous by thread: Re: Disabling menu items
  • Next by thread: bare bones app crashing, is it a code signing issue?
  • Index(es):
    • Date
    • Thread