Skip to content

Conversation

@Kyle-Ye
Copy link
Collaborator

@Kyle-Ye Kyle-Ye commented Jan 25, 2026

Summary

  • Add DebugReplaceableView - a type that erases view opaque result types in debug builds, enabling Xcode Previews to replace view definitions without full rebuilds
  • Add CustomViewCountCache - a cache for tracking custom view counts during view list enumeration
  • Add DebugReplaceableViewInfo for debug replaceable view count tracking
  • Update _ViewListCountInputs with customViewCache and debugReplaceableViewInfo fields for 2025 API
  • Update CustomViewModifier to support 2025 API view list counting

Test plan

  • Build succeeds with swift build
  • Existing tests pass with swift test

@github-actions github-actions bot added the enhancement New feature or request label Jan 25, 2026
@Kyle-Ye Kyle-Ye merged commit bee243d into main Jan 25, 2026
5 of 8 checks passed
@Kyle-Ye Kyle-Ye deleted the feature/debug_replaceable_view branch January 25, 2026 19:26
@codecov
Copy link

codecov bot commented Jan 25, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 13.61%. Comparing base (9afbb33) to head (9f88ddc).
⚠️ Report is 2 commits behind head on main.

❗ There is a different number of reports uploaded between BASE (9afbb33) and HEAD (9f88ddc). Click for more details.

HEAD has 1 upload less than BASE
Flag BASE (9afbb33) HEAD (9f88ddc)
2 1
Additional details and impacted files
@@             Coverage Diff             @@
##             main     #747       +/-   ##
===========================================
- Coverage   27.23%   13.61%   -13.62%     
===========================================
  Files         626      598       -28     
  Lines       38201    35300     -2901     
===========================================
- Hits        10403     4806     -5597     
- Misses      27798    30494     +2696     

☔ View full report in Codecov by Sentry.
📢 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants