About the content
Persisting data is a core skill for any iOS developer. This course will teach you two techniques for storing data to your device’s hard drive: the NSKeyedArchiver method and the more complex, but robust Core Data.
Lesson 1: NSUserDefaultsIn this lesson, you’ll learn about the memory applications for each state in an app’s life cycle. You’ll also learn to persist an app in the “not running” state using NSUserDefaults and the Documents Directory. We’ll introduce you to the following iOS classes in this lesson: * NSUserDefaults * NSFileManager
Lesson 2: NSCoder/NSKeyedArchiverIn this lesson, you’ll learn to persist arrays and dictionaries to the Documents directory, and persist custom structs using a Keyed Archiver. We’ll introduce you to the following iOS classes in this lesson: * NSKeyedArchiver * NSKeyedUnarchiver We’ll also introduce you to the following protocol: * NSCoding
Lesson 3: Persistent Objects & Core DataIn this lesson, you’ll be introduced to the Core Data framework, Apple’s favorite framework for the model class. You’ll learn how Core Data manages its stack using a pre-built app, “Favorite Actors.” We’ll introduce you to the following iOS classes in this lesson: * NSManagedObject * NSManagedObjectContext * NSFetchRequest
Lesson 4: Core Data from ScratchIn this lesson, you’ll learn how to create a Core Data stack from the ground up. You will also learn how to specify relationships between you your Core Data managed objects. By the end, you’ll be proficient enough to describe every element in a Core Data project. We’ll introduce you to the following iOS classes in this lesson: * NSManagedObjectModel * NSPersistentStoreCoordinator
Lesson 5: Smart Architecture with Core DataIn this lesson, you’ll learn how Core Data relates to MVC design as Apple envisioned it. You will learn how to architect apps so that controller objects are notified whenever the data stored in Core Data changes, allowing the controllers to keep the views updated in ways that keep your code trim and extensible. We’ll introduce you to the following iOS classes in this lesson: * NSFetchResultsController * NSFetchResultsControllerDelegate
- Jason Schatz - Jason Schatz was a Java developer until he was charmed by the first iPhones. He has been developing apps as a consultant ever since. He enjoys writing and teaching software in equal measure, and thinks the transition to Swift will be excellent for both. He has a M.S. in Computer Science from U.C. Davis and is a faculty member at City College of San Francisco.
Udacity is a for-profit educational organization founded by Sebastian Thrun, David Stavens, and Mike Sokolsky offering massive open online courses (MOOCs). According to Thrun, the origin of the name Udacity comes from the company's desire to be "audacious for you, the student". While it originally focused on offering university-style courses, it now focuses more on vocational courses for professionals.