Udacity Logo
Log InJoin for Free
Free

iOS Persistence and Core Data

Course

Persisting data is a core skill for any iOS developer. Learn how to store app data to your device using three common techniques: NSUserDefaults, Sandbox & Core Data.

Persisting data is a core skill for any iOS developer. Learn how to store app data to your device using three common techniques: NSUserDefaults, Sandbox & Core Data.

Last Updated March 7, 2022

Prerequisites:

No experience required

Course Lessons

Lesson 1

Simple Persistence

Learn about simple persistence and how to save small pieces of data, like user preference, using NSUserDefaults.

Lesson 2

iOS File System and Sandboxing

Learn about the iOS File System, the “sandbox”, and how to access these files using NSFileManager.

Lesson 3

Introducing Core Data

Explore what a data layer is, and how to convert a non-Core Data app to have a Core Data model.

Lesson 4

The Core Data Stack

Set up the classes we need to get Core Data up and running so that we can create, save, and delete model objects.

Lesson 5

Simpler Code with Core Data

Enable user interfaces to reactively update whenever the model changes.

Lesson 6

Rounding Out Core Data

Safely migrate user data between versions, and move slow work to the background.

Taught By The Best

Photo of Fernando Rodriguez

Fernando Rodriguez

Instructor

Photo of Eden Shapiro

Eden Shapiro

Instructor

Photo of Kate Rotondo

Kate Rotondo

Instructor

Kate is an iOS developer, speaker, author, and teacher who has spoken at conferences across the globe from AltConf in San Francisco to Mobile Central Europe in Poland. She also has hosted a podcast on work-life integration for parents in tech.

The Udacity Difference

Combine technology training for employees with industry experts, mentors, and projects, for critical thinking that pushes innovation. Our proven upskilling system goes after success—relentlessly.

Demonstrate proficiency with practical projects

Projects are based on real-world scenarios and challenges, allowing you to apply the skills you learn to practical situations, while giving you real hands-on experience.

  • Gain proven experience

  • Retain knowledge longer

  • Apply new skills immediately

Top-tier services to ensure learner success

Reviewers provide timely and constructive feedback on your project submissions, highlighting areas of improvement and offering practical tips to enhance your work.

  • Get help from subject matter experts

  • Learn industry best practices

  • Gain valuable insights and improve your skills