Summary
To sum up what we learned in this chapter, we introduced SwiftUI and saw the difference between the two programming paradigms, imperative and declarative. After that, we explored the Xcode interface. Then, we covered the important function of the state, and finally looked at the building blocks of SwiftUI – these are fundamentals that you will use throughout this book and are an essential first step toward creating beautiful animations in SwiftUI.
In the next chapter, we will explore animations, how they work, and the kinds of properties that can be animated.