You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Replace this implementation with code to handle the error appropriately.
62
-
// fatalError() causes the application to generate a crash log and terminate. You should not use this function in a shipping application, although it may be useful during development.
63
-
64
-
/*
65
-
Typical reasons for an error here include:
66
-
* The parent directory does not exist, cannot be created, or disallows writing.
67
-
* The persistent store is not accessible, due to permissions or data protection when the device is locked.
68
-
* The device is out of space.
69
-
* The store could not be migrated to the current model version.
70
-
Check the error message to determine what the actual problem was.
logger.error("Failed to load persistent store: \(error.localizedDescription)")
73
64
}
74
65
})
75
66
return container
@@ -83,10 +74,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
83
74
do{
84
75
try context.save()
85
76
}catch{
86
-
// Replace this implementation with code to handle the error appropriately.
87
-
// fatalError() causes the application to generate a crash log and terminate. You should not use this function in a shipping application, although it may be useful during development.
0 commit comments