Skip to main content

State Management

  • Chapter
  • First Online:
  • 533 Accesses

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

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   49.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   64.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Notes

  1. 1.

    You’re laughing, but I use several apps (and websites) that have this exact behaviour.

  2. 2.

    See https://developer.apple.com/swift/blog/?id=10

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

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

Publish with us

Policies and ethics