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.

Login to leave a rating/review
Save for later
Share
1
Toggle description

Find out what's covered in our Saving Data in iOS course!

FileManager 12:31
Toggle description

Learn to use FileManager to work with saved data in the user's document directory.

Toggle description

Learn how to use Foundation's Data structure to save and load your bytes of data.

NSCoding 14:37
Toggle description

Learn how to save your object graph to disc using the NSCoding protocol.

5
Toggle description

Building on what was introduced with NSCoding, learn to serialize your Swift data structures by translating them into dictionaries.

Toggle description

Learn how to work with your data using the property list format, a very common file type in Apple development.

JSON 10:56
Toggle description

Learn how to save and load using JSON, preparing you for translating back and forth between your Swift types and data from the web.

Toggle description

Learn about Foundation's UserDefaults, a method for saving a user's preferences and settings.

Conclusion 2:22
Toggle description

Review what you've learned in this course, and find out where to learn more ways to save data.