© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
W. WangPro iPhone Development with SwiftUIhttps://doi.org/10.1007/978-1-4842-7827-7_14

14. Integrating SwiftUI with UIKit

Wallace Wang1  
(1)
San Diego, CA, USA
 

The previous way to create user interfaces was to rely on storyboards and the UIKit framework. While storyboards and UIKit have been around for years, Apple is encouraging developers to migrate to SwiftUI. Not only is SwiftUI adaptable to different screen sizes without requiring a lot of work, but SwiftUI can create user interfaces with far less code than storyboards or UIKit.

Although SwiftUI is clearly the future for developing apps in all of Apple’s operating systems, there’s still a problem. SwiftUI ...

Get Pro iPhone Development with SwiftUI: Design and Manage Top Quality Apps now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.