SwiftUI is the new hotness. And for good reason – it takes a lot of the grunt code we’re used to and abstracts it away – making large-scale changes and development far, far quicker to develop and deploy. For instance, you might have a UIKit application and it has great functionality in it.
But you want to add another UITableView and now you have to code all that up, but an if/else in a delegate method, etc. It’s not hard, it’s just a pain, right? Instead, why not use SwiftUI for that table? Here is one way to integrate your SwiftUI view into ViewController’s view.