Use SwiftUI Previews in UIKit

ViewControllers need to be final

Steven Curtis

--

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.

The UIViewController

--

--