Abstract
SwiftUI is different from many other UI toolkits you might have worked with before: you cannot manipulate the UI views directly. Any changes you see on screen are determined by the state of the application’s data model and its transitions. You might have heard “in SwiftUI, the view is a function of the application’s state.”
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsNotes
- 1.
You’re laughing, but I use several apps (and websites) that have this exact behaviour.
- 2.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2023 The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature
About this chapter
Cite this chapter
Friese, P. (2023). State Management. In: Asynchronous Programming with SwiftUI and Combine. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-8572-5_4
Download citation
DOI: https://doi.org/10.1007/978-1-4842-8572-5_4
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-8571-8
Online ISBN: 978-1-4842-8572-5
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)