© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
P. FrieseAsynchronous Programming with SwiftUI and Combinehttps://doi.org/10.1007/978-1-4842-8572-5_3

3. SwiftUI Building Blocks

Peter Friese1  
(1)
Hamburg, Germany
 

In the previous chapter, you learned how to use SwiftUI to build a simple UI and how to use Xcode’s refactoring tools to keep your code nicely organized and reusable. You also used SwiftUI’s state management system which keeps your app’s views and its data model in sync all the time.

Now that you’ve used SwiftUI’s key components, like views, view modifiers, and property wrappers, let’s take a closer look and understand how they work.

In this chapter, we will look at SwiftUI’s building blocks, learn ...

Get Asynchronous Programming with SwiftUI and Combine: Functional Programming to Build UIs on Apple Platforms 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.