Skip to content

feat(view): implement _CALayerView - #1116

Merged
Kyle-Ye merged 1 commit into
mainfrom
feature/calayer_view
Sep 30, 2026
Merged

Kyle-Ye merged 1 commit into
mainfrom
feature/calayer_view

Conversation

@Kyle-Ye

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

Copy link
Copy Markdown
Member

Summary

  • Add _CALayerView with typed layer updates and a CALayer convenience initializer.
  • Integrate layer content with the renderer and require main-thread updates.
  • Add SDK documentation for the update callback and initializers.

@github-actions github-actions Bot added area: rendering DisplayList, render backends, renderer hosts, drawing, and effects. area: view View APIs, modifiers, AnyView, ForEach, DynamicView, and related behavior. type: feature New API, behavior, platform support, or user-facing capability. labels Sep 29, 2026
@tuist

tuist Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

🛠️ Tuist Run Report 🛠️

Tests 🧪

Scheme Status Ran test modules Commit
OpenSwiftUI ✅ 7 d5537379b

Builds 🔨

Scheme Status Duration Commit
OpenSwiftUI ✅ 1m 13s d5537379b

@codecov

codecov Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 14 lines in your changes missing coverage. Please review.
✅ Project coverage is 32.78%. Comparing base (de48bff) to head (5592124).

Files with missing lines Patch % Lines
Sources/OpenSwiftUI/View/CALayerView.swift 0.00% 14 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1116      +/-   ##
==========================================
- Coverage   32.79%   32.78%   -0.02%     
==========================================
  Files         822      823       +1     
  Lines       66340    66354      +14     
==========================================
- Hits        21759    21755       -4     
- Misses      44581    44599      +18     

☔ 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 b17d55b into main Sep 30, 2026
6 checks passed
@Kyle-Ye
Kyle-Ye deleted the feature/calayer_view branch September 30, 2026 03:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: rendering DisplayList, render backends, renderer hosts, drawing, and effects. 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