So far, you’ve focused on the controller and view aspects of the MVC paradigm. Although several of your applications read data from their own application bundle, only the Bridge Control example in Chapter 12 places any data in persistent storage. When any of your other apps launched, they appeared with exactly the same data they had when first launched. That approach worked up to this point, but in the real world, your apps need to persist data. When users make changes, they want to see those changes when they launch the program ...
© Molly K. Maskrey 2017
Molly K. Maskrey, Beginning iPhone Development with Swift 4, https://doi.org/10.1007/978-1-4842-3072-5_13
13. Persistence: Saving Data Between App Launches
Molly K. Maskrey1
(1)Parker, Colorado, USA
Get Beginning iPhone Development with Swift 4: Exploring the iOS SDK now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.