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 est une entreprise fondé par Sebastian Thrun, David Stavens, et Mike Sokolsky offrant cours en ligne ouvert et massif.
Selon Thrun, l'origine du nom Udacity vient de la volonté de l'entreprise d'être "audacieux pour vous, l'étudiant ". Bien que Udacity se concentrait à l'origine sur une offre de cours universitaires, la plateforme se concentre désormais plus sur de formations destinés aux professionnels.