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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2022 The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature
About this chapter
Cite this chapter
Wang, W. (2022). Understanding Data Persistence. In: Pro iPhone Development with SwiftUI. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-7827-7_6
Download citation
DOI: https://doi.org/10.1007/978-1-4842-7827-7_6
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-7826-0
Online ISBN: 978-1-4842-7827-7
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)