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
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsAuthor information
Authors and Affiliations
Rights and permissions
Copyright information
© 2019 Wallace Wang
About this chapter
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
DOI: https://doi.org/10.1007/978-1-4842-4944-4_6
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-4943-7
Online ISBN: 978-1-4842-4944-4
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)