Your next career begins with
Save 50% off your seat in our next iOS Bootcamp. Limited time only. Sessions start April 3.
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.
Sign up/Sign in
With a free Kodeco account you can download source code, track your progress, bookmark, personalise your learner profile and more!
Create accountAlready a member of Kodeco? Sign in
Sign up/Sign in
With a free Kodeco account you can download source code, track your progress, bookmark, personalise your learner profile and more!
Create accountAlready a member of Kodeco? Sign in
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.
All videos. All books.
One low price.
A Kodeco subscription is the best way to learn and master mobile development — plans start at just $19.99/month! Learn iOS, Swift, Android, Kotlin, Flutter and Dart development and unlock our massive catalog of 50+ books and 4,000+ videos.
Learn more