create AppGroupsManager

This commit is contained in:
John Estropia
2021-05-06 08:28:44 +09:00
parent d19fd1b45c
commit 223707159c
17 changed files with 545 additions and 37 deletions

View File

@@ -132,7 +132,7 @@ extension NSManagedObjectContext {
let context = NSManagedObjectContext(concurrencyType: concurrencyType)
context.parent = self
context.parentStack = self.parentStack
context.setupForCoreStoreWithContextName("com.corestore.temporarycontext")
context.setupForCoreStoreWithContextName(Internals.libReverseDomain("temporaryContext"))
context.shouldCascadeSavesToParent = (self.parentStack?.rootSavingContext == self)
context.retainsRegisteredObjects = true