I saw many tutorials on SwiftUI and interfacing with UIKit, I am wondering if interactions between UIViewControllerRepresentable are possible (For example passing data), or it's better having one UIViewControllerRepresentable that has inside UIContainerViews
which they could interact between them?
Any hints? Thanks
Asked
Active
Viewed 108 times
0

Edoardo
- 657
- 7
- 24
-
1Yes, it is. Just search [swiftui+UIViewControllerRepresentable](https://stackoverflow.com/search?q=%5Bswiftui%5D+UIViewControllerRepresentable) - a lot of examples. – Asperi Mar 02 '20 at 19:38
1 Answers
1
Here's an example of what you're asking. Passing data in UIViewControllerRepresentable
Refer to Asperi's suggestion below for many examples.

notech214
- 91
- 5