osx - validateMenuItem on NSViewController -


is possible have validatemenuitem work nsviewcontrollers? docs nsviewcontroller subclass of nsresponder think participate in responder chain, have never been able work. can make work nsview, no problem.

the particular use case have menu item in mainmenu.xib, connected first responder. selector view controller subclass shows in first responder pop list of selectors in mainmenu, think work, doesn't. validatemenuitem method of subclass never called. (the 1 in app delegate called, not item connected first responder.)


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -