Informs the receiver that the user has pressed or released a modifier key (Shift, Control, and so on).
SDK
- macOS 10.0+
Framework
- App
Kit
Declaration
func flagsChanged(with event: NSEvent)
Parameters
event
An object encapsulating information about the modifier-key event.
Discussion
The default implementation simply passes this message to the next responder.