Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now

Core Data for iOS and OS X

with Simon Allardice

Video: Welcome

Introduces the concepts behind Core Data, the object persistence framework used to manipulate and store data in iOS and OS X applications.
Expand all | Collapse all
  1. 3m 16s
    1. Welcome
    2. What you need to know
      1m 45s
    3. Using the exercise files
  2. 27m 15s
    1. Learning Core Data
      5m 33s
    2. Why use Core Data?
      6m 51s
    3. Understanding what Core Data provides
      7m 36s
    4. Creating a Core Data project
      7m 15s
  3. 25m 49s
    1. Introduction to data modeling in Core Data
      4m 18s
    2. Creating entities
      4m 8s
    3. Creating and configuring attributes
      8m 2s
    4. Modeling relationships
      9m 21s
  4. 33m 22s
    1. Creating managed objects
      12m 46s
    2. Understanding the managed object context
      7m 59s
    3. Saving the managed object context
      4m 32s
    4. Creating custom managed object subclasses
      8m 5s
  5. 26m 45s
    1. Creating and using a fetch request
      7m 42s
    2. Ordering with sort descriptors
      3m 53s
    3. Using predicates
      9m 32s
    4. Creating fetch request templates
      5m 38s
  6. 1h 14m
    1. Creating the project and the data model
      13m 44s
    2. Configuring the fetched results controller
      13m 11s
    3. Creating and configuring the modal view controller
      19m 26s
    4. Responding to changes in the underlying objects
      8m 53s
    5. Deleting objects from the table view
      3m 5s
    6. Creating a display view controller
      7m 8s
    7. Switching modes in a view controller
      9m 0s
  7. 42m 7s
    1. Creating a Core Data Cocoa app without code
      11m 20s
    2. Creating a drilldown application using multiple entities
      12m 3s
    3. Responding to validation issues
      8m 35s
    4. Working with relationships and delete rules
      3m 53s
    5. Implementing undo and redo functionality
      6m 16s
  8. 30m 10s
    1. Revisiting Core Data store types
      5m 40s
    2. Converting store types
      5m 33s
    3. Preloading default data
      6m 47s
    4. Dealing with schema changes
      4m 1s
    5. Exploring lightweight migration
      8m 9s
  9. 6m 46s
    1. Final thoughts: Back to the stack
      6m 46s

please wait ...
Core Data for iOS and OS X
Video Duration: 0s 4h 29m Intermediate


View Course Description

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


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. Let's start by modeling our data using the tools in Xcode to describe our applications in a way that Core Data understands and enables us to easily save or persist that information. 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.

Find answers to the most frequently asked questions about Core Data for iOS and OS X .

Expand all | Collapse all
please wait ...
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:

[self dismissModalViewControllerAnimated:YES];

to the current recommended version:

[self dismissViewControllerAnimated:YES completion:nil];

It should take care of that message.





Don't show this message again
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.

Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ .

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

* Estimated file size

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.

Mark all as unwatched Cancel


You have completed Core Data for iOS and OS X.

Return to your organization's learning portal to continue training, or close this page.


Upgrade to View Courses Offline


With our new Desktop App, Annual Premium Members can download courses for Internet-free viewing.

Upgrade Now

After upgrading, download Desktop App Here.

Become a Member and Create Custom Playlists

Join today and get unlimited access to the entire library of online learning video courses—and create as many playlists as you like.

Get started

Already a member?

Log in

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

You started this assessment previously and didn’t complete it.

You can pick up where you left off, or start over.

Resume Start over

Learn more, save more. Upgrade today!

Get our Annual Premium Membership at our best savings yet.

Upgrade to our Annual Premium Membership today and get even more value from your subscription:

“In a way, I feel like you are rooting for me. Like you are really invested in my experience, and want me to get as much out of these courses as possible this is the best place to start on your journey to learning new material.”— Nadine H.

Thanks for signing up.

We’ll send you a confirmation email shortly.

Sign up and receive emails about and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from

Sign up and receive emails about and our online training library:

Here’s our privacy policy with more details about how we handle your information.

submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.