Skip to main content

Understanding Data Persistence

  • Chapter
  • First Online:
  • 1051 Accesses

Abstract

All but the simplest apps need to store data. The Stocks app lets users track their favorite stocks, so it needs to store the list of stocks to follow that the user chose. Each time the user launches the Stocks app again, it displays the list of stocks the user inputted previously. If the user adds or deletes stocks from this list, the Stocks app needs to store this updated list and retrieve it again the next time the user loads the Stocks app.

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   34.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Wallace Wang

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Wang, W. (2019). Understanding Data Persistence. In: Pro iPhone Development with Swift 5. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-4944-4_6

Download citation

Publish with us

Policies and ethics