© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
A. NekrasovSwift Recipes for iOS Developershttps://doi.org/10.1007/978-1-4842-8098-0_4

4. UIKit and Storyboards

Alexander Nekrasov1  
(1)
Moscow, Russia
 

For many years, UIKit was the only way to implement user interfaces in iOS apps, and storyboards mechanism was the main tool to make layouts. Recently, SwiftUI was introduced, which is a logical part of the transition from Objective-C to native Swift-only code. But UIKit still plays an important role in iOS development.

First of all, there’s a lot of legacy code. Many apps and frameworks started long before the moment SwiftUI was introduced. The most popular iOS libraries gained developers’ trust for years, ...

Get Swift Recipes for iOS Developers: Real-Life Code from App Store 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.