Post

Replies

Boosts

Views

Activity

Reply to Core Data + File Protection
Is there a documentation page which lists the possible errors that one can receive when attempting to load the persistent stores? I can't seem to find that.
Replies
Boosts
Views
Activity
Jun ’21
Reply to Core Data + File Protection
That line refers to a defer closure which makes the call to load the persistent store: defer { self.persistentContainer?.loadPersistentStores { _, error in      if let error = error {          fatalError("Failed to load store: \(error)")      } } }
Replies
Boosts
Views
Activity
Jun ’21