Skip to content

[Fabric] Convert UIView to RCTUIView shim #1524

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Dec 7, 2022

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 UIView to RCTUIView shim

Changelog

[macOS][Fabric] - Replacing references of UIView to RCTUIView shim

Test Plan

[x] Build RNTester-macOS w/ Fabric - doesn’t run yet, but no UIView errors
CleanShot 2022-11-23 at 13 04 18

Build RNTester-macOS_2022-11-23T13-02-55.txt

[x] Build RNTester - iOS w/ Fabric - should work
https://user-images.githubusercontent.com/96719/203647093-7d05dff3-760a-4053-9d4b-164d133482aa.mp4

[x] Build RNTester-macOS w/ Paper - should work
https://user-images.githubusercontent.com/96719/203647140-a37bbc9e-53b1-4628-b1e7-7c4a14754c58.mp4

[x] Build RNTester - iOS w/ Paper - should work
https://user-images.githubusercontent.com/96719/203646958-e64d1c13-580f-446d-8b87-d452f7c38932.mp4

@shwanton shwanton marked this pull request as ready for review November 30, 2022 19:49
@shwanton shwanton requested a review from a team as a code owner November 30, 2022 19:49
@Saadnajmi Saadnajmi linked an issue Dec 1, 2022 that may be closed by this pull request
Shawn Dempsey added 3 commits December 6, 2022 15:03
# Conflicts:
#	React/Fabric/Mounting/ComponentViews/ScrollView/RCTScrollViewComponentView.mm
…w-shim"

This reverts commit 8d36246, reversing
changes made to a36200d.
@Saadnajmi Saadnajmi merged commit 1ae2e06 into microsoft:main Dec 7, 2022
@shwanton shwanton deleted the fabric/rctuiview-shim branch December 7, 2022 19:46
shwanton added a commit to shwanton/react-native-macos that referenced this pull request Feb 13, 2023
* [Fabric] Replace UIKit with RCTUIKit

* [Fabric] Convert UIView to RCTUIView shim

* Add macOS tags

* Add missing tags

* Revert "Merge remote-tracking branch 'meta/main' into fabric/rctuiview-shim"

This reverts commit 8d36246, reversing
changes made to a36200d.

* Fix bad merge of meta/main

* Actually fix bad merge!

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 UIView to RCTUIView shim

* Add macOS tags

* Add missing tags

* Revert "Merge remote-tracking branch 'meta/main' into fabric/rctuiview-shim"

This reverts commit 8d36246, reversing
changes made to a36200d.

* Fix bad merge of meta/main

* Actually fix bad merge!

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

* [Fabric] Convert UIView to RCTUIView shim

* Add macOS tags

* Add missing tags

* Revert "Merge remote-tracking branch 'meta/main' into fabric/rctuiview-shim"

This reverts commit 8d36246, reversing
changes made to a36200d.

* Fix bad merge of meta/main

* Actually fix bad merge!

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 UIView with RCTUIView
2 participants