Skip to content

feat(event): implement leaf view responder APIs - #1063

Merged
Kyle-Ye merged 2 commits into
feature/hit_testfrom
feature/leaf_view_responder
Sep 8, 2026
Merged

Kyle-Ye merged 2 commits into
feature/hit_testfrom
feature/leaf_view_responder

Conversation

@Kyle-Ye

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

Copy link
Copy Markdown
Member

Summary

  • Implement leaf responder creation, cached point hit testing, geometry updates, and content-path observer forwarding.
  • Move ContentResponder into LeafViewResponder.swift, add TrivialContentResponder, and use point buffers across conformances.
  • Add parameterized containment tests for negative sizes, rectangle edges, and the 64-bit mask boundary.
  • Report a warning instead of trapping when forming a trivial path union.

Stack

Depends on #1062.

Move ContentResponder APIs into LeafViewResponder.swift and add TrivialContentResponder. Use point buffers and preserve half-open bounds for negative sizes. Add parameterized containment tests.
@github-actions github-actions Bot added area: event-gesture Events, gestures, tracing, or interaction plumbing. area: tests Test suites, UI tests, fixtures, snapshots, and test support code. type: feature New API, behavior, platform support, or user-facing capability. labels Sep 8, 2026
@Kyle-Ye
Kyle-Ye merged commit c8a20de into main Sep 8, 2026
1 of 5 checks passed
@Kyle-Ye
Kyle-Ye deleted the feature/leaf_view_responder branch September 8, 2026 19:30
@tuist

tuist Bot commented Sep 8, 2026 •

Copy link
Copy Markdown

🛠️ Tuist Run Report 🛠️

Tests 🧪

Scheme Status Cache hit rate Tests Skipped Ran Commit
OpenSwiftUI ✅ 0 % 0 0 0 ebcde0fcb

Builds 🔨

Scheme Status Duration Commit
OpenSwiftUI ✅ 38.9s ebcde0fcb

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: tests Test suites, UI tests, fixtures, snapshots, and test support code. 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