Informs the view that the user has pressed a key.
- macOS 10.15+
- Xcode 11.0+
An object encapsulating information about the key-down event.
The view handles the event instead of passing it to the next responder. See
NSResponder for more information about the responder chain.