## Summary Key presses on macOS do not trigger actions in OpenSwiftUI views. Add the path from AppKit key events to focus and key press actions. ## Scope - Convert AppKit key events and send them to the focused view. - Build the focusable view graph and support focus navigation. - Connect focus between `NSHostingView` and the AppKit responder chain. - Support the `onKeyPress` down, repeat, and up phases, and Space and Return activation of the focused control. - Add a macOS example. ## Acceptance criteria - In an `NSHostingView`, `onKeyPress` handlers receive down, repeat, and up events. - Space or Return triggers the action of the focused control. ## API reference - [onKeyPress](https://developer.apple.com/documentation/swiftui/view/onkeypress(_:action:)) - [focusable(_:)](https://developer.apple.com/documentation/swiftui/view/focusable(_:))
Activity