Chapter 23: Getting Started with SwiftUI

In previous chapters, you created the user interface (UI) for the Let's Eat app using storyboards. The process involved dragging objects representing views onto a storyboard, creating outlets in view controller files, and connecting the two together.

This chapter will focus on SwiftUI, an easy and innovative way to create apps across all Apple platforms. Instead of using storyboards, SwiftUI uses a declarative Swift syntax, and works with new Xcode design tools to keep your code and design in sync. Features such as Dynamic Type, Dark Mode, localization, and accessibility are automatically supported.

In this chapter, you will build a simplified version of the Let's Eat app using SwiftUI. This app will ...

Get iOS 14 Programming for Beginners - Fifth Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.