UIKit
How to preview UIViewControllers using SwiftUI
Take advantage of SwiftUI previews in UIKit!
Want to preview your UIViewControllers without launching you app in the simulator? You could just use Storyboards and/or XIB’s. If you’re like me then Storyboards and XIB’s don’t work for you then is there an alternative? The answer is SwiftUI previews!
In this post I will show you how to preview your programmatically built UIViewControllers. I assume you are familiar with iOS app development and Swift. You should…