© Jayant Varma 2019
Jayant VarmaSwiftUI for Absolute Beginnershttps://doi.org/10.1007/978-1-4842-5516-2_5

5. Layout and Presentation

Jayant Varma
Melbourne, VIC, Australia
In the last chapter, we had a look at how Data works in SwiftUI and the principles behind it all. Now that we have a better idea on some of the interesting parts that make SwiftUI work, let’s focus our attention now to the visual, interesting part of SwiftUI that allows us to layout our UI and presentation.

Elements and Modifiers

We had a quick and brief introduction to SwiftUI (in earlier chapters) and saw that SwiftUI is a combination of UI elements and modifiers that manipulate the elements as required. We shall use these modifiers to layout our elements.
SwiftUI does not ...

Get SwiftUI for Absolute Beginners: Program Controls and Views for iPhone, iPad, and Mac Apps now with O’Reilly online learning.

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