Skip to content

feat(event): implement UIKit and AppKit view responders - #1071

Merged
Kyle-Ye merged 4 commits into
mainfrom
feature/uikit_responder
Sep 13, 2026
Merged

Kyle-Ye merged 4 commits into
mainfrom
feature/uikit_responder

Conversation

@Kyle-Ye

@Kyle-Ye Kyle-Ye commented Sep 13, 2026

Copy link
Copy Markdown
Member

Summary

  • Replace platform responder placeholders with UIKit and AppKit hit testing and point containment.
  • Add shared hit-test caching, enabled-state filtering, content-path forwarding, and responder tree descriptions.
  • Supply the current UIKit event to native hit testing through the hosting-view delegate.

Validation

Isolated responder type checks passed for iOS, visionOS, and macOS using native SDK types and Core stand-ins. Syntax and whitespace checks passed for the complete diff.

@Kyle-Ye
Kyle-Ye requested a review from Mx-Iris as a code owner September 13, 2026 09:37
@github-actions github-actions Bot added area: event-gesture Events, gestures, tracing, or interaction plumbing. area: hosting-bridge SwiftUI bridge, UIHosting/NSHosting, representables, and platform host views. platform: iOS iOS-specific behavior or support. platform: macOS macOS-specific behavior or support. type: feature New API, behavior, platform support, or user-facing capability. labels Sep 13, 2026
@tuist

tuist Bot commented Sep 13, 2026 •

Copy link
Copy Markdown

🛠️ Tuist Run Report 🛠️

Tests 🧪

Scheme Status Cache hit rate Tests Skipped Ran Commit
OpenSwiftUI ✅ 0 % 1197 0 1197 28f8761dd

Builds 🔨

Scheme Status Duration Commit
OpenSwiftUI ✅ 1m 3s 28f8761dd

@codecov

codecov Bot commented Sep 13, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 93 lines in your changes missing coverage. Please review.
✅ Project coverage is 29.78%. Comparing base (975246e) to head (c163b58).

Files with missing lines Patch % Lines
...UI/Event/Responder/PlatformViewResponderBase.swift 0.00% 49 Missing ⚠️
...wiftUI/Event/Platform/AppKit/NSViewResponder.swift 0.00% 44 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1071      +/-   ##
==========================================
- Coverage   29.85%   29.78%   -0.07%     
==========================================
  Files         791      793       +2     
  Lines       62616    62709      +93     
==========================================
- Hits        18696    18680      -16     
- Misses      43920    44029     +109     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Kyle-Ye
Kyle-Ye merged commit b1470aa into main Sep 13, 2026
6 checks passed
@Kyle-Ye
Kyle-Ye deleted the feature/uikit_responder branch September 13, 2026 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: event-gesture Events, gestures, tracing, or interaction plumbing. area: hosting-bridge SwiftUI bridge, UIHosting/NSHosting, representables, and platform host views. platform: iOS iOS-specific behavior or support. platform: macOS macOS-specific behavior or support. type: feature New API, behavior, platform support, or user-facing capability.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant