Responding to modifier keys only (NSView->General)NSView's keyDown: and keyUp: don't fire when just a modifier key goes down. If you do want to react to this, you'll need to overrideflagsChanged: (NSEvent *) eventand look at the event there. (flagsChanged: comes from NSResponder, so any responder in the responder chain can react to it)