• 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
validateUserInterfaceItem not called
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

validateUserInterfaceItem not called


  • Subject: validateUserInterfaceItem not called
  • From: email@hidden
  • Date: Sat, 23 Jul 2016 20:12:40 -0700

I have a simple AppDelegate that instantiates an NSWindowController and Window. I have an NSMenuItem that invokes an IBAction on the firstResponder in my xib. This works as expected. When I press command+1, the IBAction fires. However, I specified that my NSWindowController use the ‘NSUserInterfaceValidations’ protocol, but my ‘validateUserInterfaceItem’ is never invoked. Any ideas why?

Thanks,

Patrick
_______________________________________________

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: validateUserInterfaceItem not called
      • From: Ken Thomases <email@hidden>
  • Prev by Date: Re: NSTableView Drag/Drop - Which Column?
  • Next by Date: Re: validateUserInterfaceItem not called
  • Previous by thread: Re: NSTableView Drag/Drop - Which Column?
  • Next by thread: Re: validateUserInterfaceItem not called
  • Index(es):
    • Date
    • Thread