Core Data: Beyond the Basics

Jul 26 2022 · Swift 5.5, iOS 15, Xcode 13.3.1

Part 2: Advanced Core Data

13. Introduction

Episode complete

Play next episode

Next
About this episode

Leave a rating/review

See forum comments
Cinema mode Mark complete Download course materials
Previous episode: 12. Conclusion Next episode: 14. Asynchronously Loading Launches

Get immediate access to this and 4,000+ other videos and books.

Take your career further with a Kodeco Personal Plan. With unlimited access to over 40+ books and 4,000+ professional videos in a single subscription, it's simply the best investment you can make in your development career.

Learn more Already a subscriber? Sign in.

Transcript: 13. Introduction

Welcome back! At this point you should be quite familiar with how the basics of Core Data work. Now it’s time to dive into some more advanced topics. You’ll get the highlights here, and there are plenty of other resources available if you want to dive deeper.

First, a bit of information aside from Core Data - asynchronous networking. It isn’t related to Core Data, but does let you get the data you’ll need for the rest of the course. It also introduces you to async/await, which you’ll see again later.

Next, you’ll learn about two concepts that are important to inserting large amounts of data into Core Data, and not tie up the rest of your app in the process; Batch Operations, which let you insert a batch of data all at once, and new Swift Concurrency additions to the Core Data API.

Delete rules come next - how do you instruct Core Data what to do when one part of a relationship is deleted? Should the entity it is related to get deleted, or should it just do nothing?

Finally, you’ll wrap up this section - and this course! - by learning a few ways that Core Data deals with storing large data files. Not everything is Ints and Bools, you know.

Let’s go ahead and dive in with a quick overview of asynchronous networking, so you can get some data!