Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Udacity

iOS Persistence and Core Data

via Udacity

Overview

Persisting data is a core skill for any iOS developer. This course will teach you three techniques for storing data to your device’s hard drive: NSUserPreferences for small amounts of data, the Sandbox for files and Core Data when you have to play in the Big Leagues!

Syllabus

  • Simple Persistence
    • Learn about simple persistence and how to save small pieces of data.,Set user preferences using NSUserDefaults in an existing app.,Enable an app’s user preferences to appear in the Settings app.
  • The iOS File System
    • Learn about the iOS File System, and your app’s sandbox.,Read and save files using NSFileManager in an existing app.,Understand the performance implications of atomic (all-at-once) file operations.
  • Introducing Core Data
    • Meet Core Data, Apple’s framework for managing the data layer.,Explore what a data layer is.,Convert a non-Core Data note-taking app to have a Core Data model.
  • The Core Data Stack
    • Set up the classes we need to get Core Data up and running.,Use the stack to manage model object creation and deletion.,Persist changes so that data stays put when you restart the app or device.
  • Simpler Code with Core Data
    • Enable user interfaces to reactively update whenever the model changes.,Set up an NSFetchedResultsController to observe data changes and notify the UI.,Create a new version of a data model, modify a table view to work with a fetched results controller, and turn on caching.
  • Core Data & Concurrency
    • Update the data model and safely migrate user data between versions.,Work with multiple managed object contexts for different types of tasks.,Keep the user interface responsive by sending lengthy tasks to a background queue.

Taught by

Fernando Rodriguez, Eden Shapiro and Kate Rotondo

Related Courses

Reviews

Start your review of iOS Persistence and Core Data

Never Stop Learning!

Get personalized course recommendations, track subjects and courses with reminders, and more.

Sign up for free