Skip to content

feat: add labeled content text initializers - #1239

Merged
Kyle-Ye merged 1 commit into
mainfrom
feature/text_api
Oct 31, 2026
Merged

Kyle-Ye merged 1 commit into
mainfrom
feature/text_api

Conversation

@Kyle-Ye

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

Copy link
Copy Markdown
Member

Summary

  • Add the missing text and formatted value initializers for LabeledContent and the legacy LabeledView SPI.
  • Add the LabeledContent style configuration initializer and preserve localization, deferred formatting, and accessibility presentation defaults.
  • Add DocC comments for all seven new public initializers.

@github-actions github-actions Bot added area: text Text, labels, line style, and text rendering APIs. area: view View APIs, modifiers, AnyView, ForEach, DynamicView, and related behavior. type: feature New API, behavior, platform support, or user-facing capability. labels Oct 31, 2026
@tuist

tuist Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

🛠️ Tuist Run Report 🛠️

Tests 🧪

Scheme Status Ran test modules Commit
OpenSwiftUI ✅ 7 0d4a69347

Builds 🔨

Scheme Status Duration Commit
OpenSwiftUI ✅ 1m 2s 0d4a69347

@codecov

codecov Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 43 lines in your changes missing coverage. Please review.
✅ Project coverage is 31.35%. Comparing base (050fd53) to head (77022ec).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
...OpenSwiftUI/View/LabelContent/LabeledContent.swift 0.00% 25 Missing ⚠️
...es/OpenSwiftUI/View/LabelContent/LabeledView.swift 0.00% 18 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1239      +/-   ##
==========================================
+ Coverage   31.33%   31.35%   +0.01%     
==========================================
  Files         982      982              
  Lines       80761    80804      +43     
==========================================
+ Hits        25310    25335      +25     
- Misses      55451    55469      +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 e764438 into main Oct 31, 2026
7 checks passed
@Kyle-Ye
Kyle-Ye deleted the feature/text_api branch October 31, 2026 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: text Text, labels, line style, and text rendering APIs. 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