Beginning Core Data

Oct 2 2018 · Video Course (1 hr, 41 mins) · Beginner

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.

5/5 2 Ratings · Leave a Rating

Version

  • Swift 4, iOS 12, Xcode 10

Part 1

Introduction

6:10 Free

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

1

Starter Project

1:04 Free

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

2

Getting Started

6:02 Free

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

3

Managed Objects

7:59 Free

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

4

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

5

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.

6

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

7

Predicates

5:51

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

8

Filtering

2:19

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

9

Sorting

3:57

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

10

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

11

Conclusion

0:48

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

12

Part 2

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

13

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

14

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

15

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

16

This video explores relationships that you can establish between objects.

17

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

18

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

19

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

20

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

21

Conclusion

4:23

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

22

Contributors

Comments