Przeglądaj źródła

Update NSPersistentContainer reference

Deniz Cengiz 1 rok temu
rodzic
commit
bb83f624c4
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      Model/CoreDataStack.swift

+ 1 - 1
Model/CoreDataStack.swift

@@ -44,7 +44,7 @@ class CoreDataStack: ObservableObject {
 
     /// A persistent container to set up the Core Data Stack
     lazy var persistentContainer: NSPersistentContainer = {
-        let container = NSPersistentContainer(name: "TrioPersistentContainer")
+        let container = NSPersistentContainer(name: "TrioCoreDataPersistentContainer")
 
         guard let description = container.persistentStoreDescriptions.first else {
             fatalError("Failed \(DebuggingIdentifiers.failed) to retrieve a persistent store description")