Core Data is Apple's mechanism for saving app data to your device. It provides persistence, undo/redo, background tasks, view synchronization, versioning, and migration. You can define your data types and relationships using Core Data's data model editor, and Core Data will generate class definitions automatically. Core Data can then create and manage object instances based on the class definitions.
You can learn more about Core Data at https://developer.apple.com/documentation/coredata
Core Data provides a set of classes collectively known as the Core Data stack to manage and persist object instances, which are as follows:
- NSManagedObjectModel
Describes your app's types, including their properties and relationships. - NSManagedObject
A class used to implement instances of your app's objects based on data from the NSManagedObjectModel. ...