Core Data for iOS and OS X

with Simon Allardice
please wait ...
Core Data for iOS and OS X
Video duration: 0s 4h 29m Intermediate


Core Data is an object-oriented persistence framework used to manipulate and store data in iOS and OS X applications, and it's a core competency for any Apple developer. This course introduces the concepts behind Core Data: what it is, what it does, and how to get started. Author Simon Allardice explores the Core Data stack of objects and steps through the hands-on process of using Core Data in both iOS and Cocoa. The course shows how to shift from a database-focused or file-focused approach into a true object persistence approach: working with saving, loading, searching, and filtering. Discover how to model your data correctly, integrate Core Data objects with iOS and Cocoa user interfaces, and take existing data and load it into your app.

Topics include:
  • Understanding Core Data and object persistence frameworks
  • Creating a Core Data project
  • Exploring data modeling
  • Creating entities, attributes, and relationships
  • Creating managed objects
  • Fetching in Core Data
  • Implementing undo and redo support
  • Creating a Core Data Cocoa app without code
  • Responding to validation issues
  • Converting store types
  • Preloading default data
Mac OS X iOS


- [Voiceover] Hi, this is Simon Allardice, and welcome to Core Data for iOS and OS X. In this course, I'll begin by talking about what core data is, and how it can help us. We'll explore the vocabulary and the ideas of core data, terms like managed objects, predicates, and what these mean. But we'll quickly get hands on. That starts by modeling our data, using the tools and xcode to describe our applications in a way that Core Data understands, and enables us to easily save, or persist that information. And if we've saved it, we need to be able to retrieve it.

We'll see how to fetch, bring our data back, and tie it into a user interface. Beyond the most trivial of applications, Core Data is what you should be using to work with data in your iOS and Mac applications. It's an essential competency for an Apple developer. Let's get started.

please wait ...