Let's start by taking a quote directly from Apple:
"Core Data is a framework for managing and persisting an object graph."
Apple does not call Core Data a database, even though, behind the scenes, it saves data to an SQLite file in iOS. Core Data is very hard to explain to someone new to programming or to someone who has come from a different programming language. However, in iOS 10, Core Data has been dramatically simplified. Having a general understanding of what Core Data does and how it works is sufficient for the purposes of this book.
When using the Core Data framework, you should be familiar with the MANAGED OBJECT MODEL, the MANAGED OBJECT CONTEXT, and the PERSISTENT STORE COORDINATOR. Let's look at a diagram to get a better understanding of how they interact with each other:
- NSManagedObjectModel: The managed object model represents...