Udacity Logo
Log InSign Up
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.

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.

Get Started Today

iOS Persistence and Core Data