changeset 213:94f80732226a

Try automatic merge CloudKit changes
author Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com>
date Sat, 27 Feb 2021 12:45:17 +0000
parents e7fc442ccdc8
children 3acc46851267
files LazyBear/Persistence.swift
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/LazyBear/Persistence.swift	Sat Feb 27 12:45:03 2021 +0000
+++ b/LazyBear/Persistence.swift	Sat Feb 27 12:45:17 2021 +0000
@@ -39,6 +39,7 @@
 
     init(inMemory: Bool = false) {
         container = NSPersistentCloudKitContainer(name: "LazyBear")
+        container.viewContext.automaticallyMergesChangesFromParent = true  // Not sure about this
         if inMemory {
             container.persistentStoreDescriptions.first!.url = URL(fileURLWithPath: "/dev/null")
         }