Use SwiftUI Previews in UIKit
ViewControllers need to be final
2 min readNov 25, 2021
Wouldn’t it be wonderful if you could take a UIView
or a UIViewController
and use SwiftUI’s previews to be able to have an interactive preview for it?
Guess what: You can.