flagsChanged(with:)
Informs the receiver that the user has pressed or released a modifier key (Shift, Control, and so on).
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.