Open hermu opened 4 years ago
With SwiftUI it's easy, Apple has made it part of the SDK very nicely. Check out UIViewControllerRepresentable, for example.
React Native also has ways to embed old UIKit stuff: Native UI Components.
Flutter has UiKitView for embedding UIViews to Flutter Widget hierarchy.
I'm sure there are gotchas and cornercases for all these (there's always something 😄), but in theory support is there.
Any thoughts on how the various frameworks work when combining them with older code e.g. around existing UIKit components?