How can I handle shortcuts when LSUIElement is set to YES?

When LSUIElement is set to NO most of shortcuts are handled by application's main menu. But when LSUIElement is set to YES, there is no main menu and then no common shortcuts are forwarded to a first responder.

The naive solution would be overriding performKeyEquivalent: for each view/window class. But I only want to handle common shortcuts, not special one. So, I'm looking for a better solution.

8
задан Kentzo 5 March 2011 в 17:35
поделиться