🐛 Fixing bug where User data was not properly saved to CoreData

This commit is contained in:
2020-12-22 11:30:41 +01:00
committed by Patrick Müller
parent 46551258e2
commit 63b1e56618
5 changed files with 70 additions and 16 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ struct PersistenceController {
if self.context.hasChanges {
do {
try self.context.save()
print("In CoreData.stack.save()")
print("In PersistenceController.shared.save()")
} catch {
let nserror = error as NSError
fatalError("Unresolved error \(nserror), \(nserror.userInfo)")