Skip to content

feat(layout): add coordinate space modifiers - #1131

Merged
Kyle-Ye merged 1 commit into
mainfrom
feature/coordinate
Oct 7, 2026
Merged

Kyle-Ye merged 1 commit into
mainfrom
feature/coordinate

Conversation

@Kyle-Ye

@Kyle-Ye Kyle-Ye commented Oct 7, 2026

Copy link
Copy Markdown
Member

Summary

  • Add coordinateSpace(_:) and coordinateSpace(name:), using each view's animated position and size to define its named coordinate space.
  • Add _CoordinateSpaceModifier and DocC comments with usage examples for both overloads.

Validated the public declarations against the 6.5.4 SDK interface. Scoped Swift 5 type checking and documentation checks passed.

@github-actions github-actions Bot added area: layout Layout, geometry, safe area, alignment, stacks, or sizing. area: view View APIs, modifiers, AnyView, ForEach, DynamicView, and related behavior. type: feature New API, behavior, platform support, or user-facing capability. labels Oct 7, 2026
@tuist

tuist Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

🛠️ Tuist Run Report 🛠️

Tests 🧪

Scheme Status Ran test modules Commit
OpenSwiftUI ✅ 7 dafbcc0e0

Builds 🔨

Scheme Status Duration Commit
OpenSwiftUI ✅ 57.6s dafbcc0e0

@codecov

codecov Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 34 lines in your changes missing coverage. Please review.
✅ Project coverage is 30.91%. Comparing base (e443e3c) to head (3a6cd3f).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
...ftUI/Layout/Modifier/CoordinateSpaceModifier.swift 0.00% 34 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1131      +/-   ##
==========================================
- Coverage   30.92%   30.91%   -0.01%     
==========================================
  Files         878      879       +1     
  Lines       70950    70984      +34     
==========================================
+ Hits        21943    21947       +4     
- Misses      49007    49037      +30     

☔ 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 4fa6573 into main Oct 7, 2026
6 checks passed
@Kyle-Ye
Kyle-Ye deleted the feature/coordinate branch October 7, 2026 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: layout Layout, geometry, safe area, alignment, stacks, or sizing. area: view View APIs, modifiers, AnyView, ForEach, DynamicView, and related behavior. 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