new auto-commit transaction methods

This commit is contained in:
John Estropia
2017-03-31 19:44:18 +09:00
parent d72d1afe8b
commit 97d7a276fe
39 changed files with 3739 additions and 3232 deletions

View File

@@ -82,7 +82,7 @@ internal extension NSManagedObjectContext {
for objectID in updatedObjectIDs {
context?.object(with: objectID).willAccessValue(forKey: nil)
context?.registeredObject(for: objectID)?.willAccessValue(forKey: nil)
}
}
context?.mergeChanges(fromContextDidSave: note)