Passing Data From SwiftUI To a UIKit View Controller
Daily Coding Tip 042

Most of the time, when we talk about combining UIKit and SwiftUI, we talk about UIViewRepresentable. This gives us the ability to reuse a UIView, which is especially useful when SwiftUI doesn’t include the same controls as UIKit. But it’s possible to use an entire view controller (VC), which means that SwiftUI can act…


