Skip to content

Conversation

shwanton
Copy link

@shwanton shwanton commented Nov 28, 2022

Please select one of the following

  • I am removing an existing difference between facebook/react-native and microsoft/react-native-macos 👍
  • I am cherry-picking a change from Facebook's react-native into microsoft/react-native-macos 👍
  • I am making a fix / change for the macOS implementation of react-native
  • I am making a change required for Microsoft usage of react-native

Summary

Fabric on macOS implementation:
Replacing references of UIColor to RCTUIColor shim

Changelog

[macOS][Fabric] - Replacing references of UIColor to RCTUIColor shim

Test Plan

[x] Build RNTester-macOS w/ Fabric - doesn’t run yet, but no UIColor errors

CleanShot 2022-11-23 at 11 31 10

Build errors:
Build RNTester-macOS_2022-11-23T11-29-34.txt

[x] Build RNTester - iOS w/ Fabric - should work
https://user-images.githubusercontent.com/96719/203632474-0780ca3a-930f-4c2f-a76d-b60e31626750.mp4

[x] Build RNTester-macOS w/ Paper - should work
https://user-images.githubusercontent.com/96719/203632503-80e0ecfa-994c-4f86-9303-04621af6b4af.mp4

[x] Build RNTester - iOS w/ Paper - should work
https://user-images.githubusercontent.com/96719/203632520-fd512c31-abe0-4d95-90f3-ce8183e5d765.mp4

@shwanton shwanton marked this pull request as ready for review November 29, 2022 23:00
@shwanton shwanton requested a review from a team as a code owner November 29, 2022 23:00
@Saadnajmi Saadnajmi linked an issue Dec 1, 2022 that may be closed by this pull request
@Saadnajmi Saadnajmi merged commit d0e7135 into microsoft:main Dec 6, 2022
@shwanton shwanton deleted the fabric/rctuicolor-shim branch December 7, 2022 19:38
shwanton added a commit to shwanton/react-native-macos that referenced this pull request Feb 13, 2023
* [Fabric] Replace UIKit with RCTUIKit

* [Fabric] Convert UIKit to RCTUIKit shim

* Add macOS tags

* Remove unnecessary tags

Co-authored-by: Shawn Dempsey <shawndempsey@fb.com>
shwanton added a commit to shwanton/react-native-macos that referenced this pull request Mar 10, 2023
* [Fabric] Replace UIKit with RCTUIKit

* [Fabric] Convert UIKit to RCTUIKit shim

* Add macOS tags

* Remove unnecessary tags

Co-authored-by: Shawn Dempsey <shawndempsey@fb.com>
shwanton added a commit to shwanton/react-native-macos that referenced this pull request Mar 10, 2023
* [Fabric] Replace UIKit with RCTUIKit

* [Fabric] Convert UIKit to RCTUIKit shim

* Add macOS tags

* Remove unnecessary tags

Co-authored-by: Shawn Dempsey <shawndempsey@fb.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replace UIColor with RCTUIColor

4 participants