With the introduction of SwiftUI comes a new coding paradigm called declarative syntax. Well, I say "new"—it's actually been around for a while; it's just something we've never really used in iOS or macOS development. In this section, we'll take a look at what exactly declarative syntax is and how it compares to the style of syntax we might be used to seeing already.





















































