Skip to content

fix(spi): type macOS UIKit bridge selectors and import CFStringTokenizer.h - #1277

Merged
Kyle-Ye merged 3 commits into
mainfrom
optimize/sdk
Nov 28, 2026
Merged

Kyle-Ye merged 3 commits into
mainfrom
optimize/sdk

Conversation

@Kyle-Ye

@Kyle-Ye Kyle-Ye commented Nov 28, 2026

Copy link
Copy Markdown
Member

Summary

  • Import <CoreFoundation/CFStringTokenizer.h> explicitly in Localization.m for sentence tokenization APIs.
  • Declare a local OpenSwiftUICorePlatformUIColor protocol in OpenSwiftUICoreColor.m on macOS so UIColor component extraction and initialization dispatch directly with the expected BOOL and instancetype signatures instead of methodForSelector: or transitive AppKit declarations.
  • Replace the NSObject category in OpenSwiftUICorePlatformImage.m on macOS with a local OpenSwiftUICorePlatformUIImage protocol and UIImageRenderingMode enum, adding the CGFloat scale property so non-AppKit image scale queries read the floating-point return value instead of matching Foundation's -(short)scale.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-28T16:09:43.671754Z 6568a6e PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions github-actions Bot added area: graphics Color, shape, gradient, image, symbols, and graphics primitives. platform: macOS macOS-specific behavior or support. type: bug Something is not working correctly. labels Nov 28, 2026
@tuist

tuist Bot commented Nov 28, 2026 •

Copy link
Copy Markdown

🛠️ Tuist Run Report 🛠️

Tests 🧪

Scheme Status Ran test modules Commit
OpenSwiftUI ✅ 7 76ee6ecd5

Builds 🔨

Scheme Status Duration Commit
OpenSwiftUI ✅ 1m 6s 76ee6ecd5

Reported by Tuist, faster builds and reliable tests for Xcode, Gradle, Bazel, and more.

@codecov

codecov Bot commented Nov 28, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 35.08%. Comparing base (6265481) to head (6568a6e).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1277      +/-   ##
==========================================
- Coverage   35.09%   35.08%   -0.02%     
==========================================
  Files        1046     1046              
  Lines       85554    85554              
==========================================
- Hits        30025    30014      -11     
- Misses      55529    55540      +11     

☔ 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 8751bee into main Nov 28, 2026
7 checks passed
@Kyle-Ye
Kyle-Ye deleted the optimize/sdk branch November 28, 2026 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: graphics Color, shape, gradient, image, symbols, and graphics primitives. platform: macOS macOS-specific behavior or support. type: bug Something is not working correctly.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant