If you’re interested in how to add SwiftUI Views into your existing UIKit apps, Apple have made it super-simple to get started. Watch here for how to get the ball rolling with your projects:



[cc lang=”swift”]

@IBSegueAction func swiftUIAction(_ coder: NSCoder) -> UIViewController? {
return UIHostingController(coder: coder, rootView: NewSwiftUIView())


Leave a Reply

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