What I wanted to do with this course is take you through the things that you will always…need in every Core Data application you make, managed objects, and managed object models,…managed object context, fetch requests and fetch results controllers, validation, undo,…and redo, importing, and migration.…At the beginning of this course I showed a diagram of interrelated objects, which should…hopefully make a lot more sense now, because you have all the pieces in place.…We know that we start with the data model defining our entities, the descriptions of…our attributes, our default values and relationships.…

Those entities will be gathered together into a managed object model, that's what the data…model file will be turned into when our application runs and those entities used to create our managed objects.…We have the all important managed object context.…The beating heart of Core Data, the scratchpad, or workbench, for all your managed objects.…It's the context that contains them all, it's the context that we use to perform fetch requests…

Resume Transcript Auto-Scroll

Author

Released

10/17/2012

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

Skill Level Intermediate

4h 29m

Duration

343,315

Views

Show MoreShow Less

Q: In the CoursesViewController.m file, I receive a message that the method dismissModalViewControllerAnimated is no longer supported by Apple. Is there a newer method to use?

A: You may have received the warning that a call to the dismissModalViewControllerAnimated: method is now deprecated.

This is a recently deprecated method, so the code _will_ continue to work using that call, but to remove the warning, change the code from: