Core Data Fundamentals
This course demonstrates the fundamental techniques needed to effectively use Core Data to store and manage data in your apps.
What you'll learn
This course demonstrates the fundamental techniques needed to effectively use Core Data to store and manage data in your apps. You'll learn the role of each class in the Core Data stack. You'll see how you can quickly and easily define a data model using the tools available in Xcode. Reading and writing data to the model will be covered along with a discussion about how to build sophisticated queries. The NSFetchedResultsController pairs nicely with the UITableView to present data from a Core Data model and you'll see how to use it in your apps. You'll also learn how to version a Core Data model so that data migrations for subsequent versions of your app are simple to implement. The last module will focus on performance tips and tricks and how you can make sure your app works with your data model as efficiently as possible.
Table of contents
- Introduction 1m
- Creating Custom Subclasses 2m
- Code for Custom Subclasses 1m
- Custom Behavior DOs and DON'Ts 1m
- Demo: Creating Custom NSManagedObject Subclasses 5m
- Managing Entity Relationships 3m
- Demo: Managing Entity Relationships 8m
- Filtering and Sorting 3m
- Fetch Request Templates 1m
- Demo: Working with NSFetchRequests 5m
- Summary 1m