Saving Data in iOS
From saving simple text files to implementing a complete object graph management solution, iOS provides a variety of different options on persisting your data. This series explores all the various different savings methods and shows how you can start implementing them in your app, updated using Swift and the latest APIs. By Jessy Catterwaul.
Find out what's covered in our Saving Data in iOS course!
Learn to use FileManager to work with saved data in the user's document directory.
Learn how to use Foundation's Data structure to save and load your bytes of data.
Learn how to save your object graph to disc using the NSCoding protocol.
Building on what was introduced with NSCoding, learn to serialize your Swift data structures by translating them into dictionaries.
Learn how to work with your data using the property list format, a very common file type in Apple development.
Learn how to save and load using JSON, preparing you for translating back and forth between your Swift types and data from the web.
Learn about Foundation's UserDefaults, a method for saving a user's preferences and settings.
Review what you've learned in this course, and find out where to learn more ways to save data.