Saving Data in iOS
Apr 4 2017 · Video Course (1 hr, 25 mins) · Beginner
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.
Version
- Swift 3, iOS 10, Xcode 8


FileManager
12:31Learn to use FileManager to work with saved data in the user's document directory.
Foundation Data
8:44Learn how to use Foundation's Data structure to save and load your bytes of data.
Building on what was introduced with NSCoding, learn to serialize your Swift data structures by translating them into dictionaries.
Property Lists
9:37Learn how to work with your data using the property list format, a very common file type in Apple development.
JSON
10:56Learn how to save and load using JSON, preparing you for translating back and forth between your Swift types and data from the web.
User Defaults
9:20Learn about Foundation's UserDefaults, a method for saving a user's preferences and settings.
Conclusion
2:22Review what you've learned in this course, and find out where to learn more ways to save data.
Comments