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