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.