Core Data is a big topic, but this chapter should have given you a firm basis on which to build your skills.
You have learned the following in this chapter:
- The meaning of entities, attributes, and relationships
- How to set up a Core Data model
- One-to-one and one-to-many relationships
- Using NSPersistenceContainer to simplify creating a Core Data stack
- How to fetch stored data, using predicates and sort descriptors, using different predicate types, as well as sorting in an NSTableView
- How the various parts of the Core Data stack fit together
- Some considerations as to when to use Core Data in your apps
In the next chapter, we will cover connections to the outside world via HTTP.