Beginning Core Data

Learn the basics of using Core Data in this beginning series! You’ll learn how to model your data with attributes and relationships; add and update records; and then fetch your data with sorting and filtering options. By Brian Moakley.

Leave a rating/review
Save for later
Comments
Share

Part 1: Part 1

01
Toggle description

What is Core Data? What does it bring to the table? This introduction will give you an overview of this powerful framework.

Toggle description

This video provides an overview of the starter project and how it works so you can be familiar with it throughout the course.

Toggle description

Core Data is composed of a variety of components. In this tutorial, you'll learn about the various pieces that make up Core Data.

Toggle description

Managed objects are what you use to construct your Core Data objects. In this video, you'll get started by making one.

Toggle description

With our entity in place, it's time to add some additional attributes to it. Your challenge is to do this.

Toggle description

As you start to build your objects, you'll need to both get them and then to sort them. This video will walk you through the process.

Toggle description

Core Data allows you to save binary data to your data store. This video shows you how to work with binary data.

Predicates 5:51
Toggle description

While not Core Data specific, predicates allow you to use a SQL-like syntax to search through your collections for a specific objects.

Filtering 2:19
Toggle description

With a few lines of code, you can easily filter your Core Data objects. This video walks you through the process.

Sorting 3:57
Toggle description

In this video, you'll learn how to sort your objects by the way of sort descriptors.

Toggle description

While we implemented filtering and sorting, unfortunately, things aren't working as expected. Your challenge is to fix it.

Conclusion 0:48
Toggle description

This video concludes the first section and gives an overview of what will be covered in the next one.

Part 2: Part 2

Toggle description

This video provides an overview of what will be covered in the second section.

Toggle description

By combining a fetch request with a controller, you get a lot of power in an easy to use object.

Toggle description

This video covers the process of ordering your objects by section.

Toggle description

In your first challenge of the section, you'll add another entity.

Toggle description

This video explores relationships that you can establish between objects.

Toggle description

Once you define a relationship in your model, you'll need to access it in code. This video will show you how.

Toggle description

This video covers the various deletion rules that you can use.

Toggle description

In your final challenge, you'll write the code to delete the pet objects.

Toggle description

The fetched results controller can inform you when your data changes. In this video, you'll learn how to respond to such changes.

Conclusion 4:23
Toggle description

This video concludes the series but provides alternatives to using Core Data.