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 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.