keyDown(with:)
Called when the user presses a key on the keyboard while this view is in the responder chain.
Declaration
@MainActor @preconcurrency override dynamic func keyDown(with event: NSEvent)Called when the user presses a key on the keyboard while this view is in the responder chain.
@MainActor @preconcurrency override dynamic func keyDown(with event: NSEvent)