This module explores the fundamental principles of persistent data storage in SwiftUI-based iOS applications,
guiding participants in creating seamless user experiences. Covering diverse data persistence techniques,
it equips learners with the skills to enhance iOS applications by effectively managing and utilizing data.
By Mina H. Gerges.
Learn the basics of UserDefaults and how to use them to preserve data in two different ways with SwiftUI. Finally, learn the limitations of UserDefaults.
Learn what App Sandbox means and how to access it on Mac. Then learn what JSON means and how to encode/decode models into JSON.
Finally, learn how to save and read JSON files from the App Sandbox.
Learn the basics of SwiftData to preserve models, starting with configuring the model storage and turning classes into models.
Learn the process of fetching, adding, editing, and deleting instances from a SwiftData model.
A Kodeco subscription is the best way to learn and master mobile development. Learn iOS, Swift, Android, Kotlin, Flutter and Dart development and unlock our massive catalog of 50+ books and 4,000+ videos.