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
Post a Comment