Tired of tedious coding in UIKit?

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.

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.

This site uses Akismet to reduce spam. Learn how your comment data is processed.