SwiftfuncSwiftUISwiftUI.View

onKeyPress

SwiftUI.View.onKeyPress(_: SwiftUI.KeyEquivalent, action: () -> SwiftUI.KeyPress.Result) -> some SwiftUI.View

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

param{}

  1. 0_
  2. 1action:
    function() -> SwiftUI.KeyPress.Resultescaping

result{}

opaquesome SwiftUI.View