NSPersistentContainer
A container that encapsulates the Core Data stack in your app.
Declaration
class NSPersistentContainerMentioned in
Overview
NSPersistentContainer simplifies the creation and management of the Core Data stack by handling the creation of the managed object model (NSManagedObjectModel), persistent store coordinator (NSPersistentStoreCoordinator), and the managed object context (NSManagedObjectContext).