mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
add retainsRegisteredObject bool
This commit is contained in:
parent
028987a420
commit
c298da88b5
1 changed files with 1 additions and 0 deletions
|
|
@ -45,6 +45,7 @@ class PersistenceController {
|
|||
// Merge policy that favors in memory data over data in the db
|
||||
self.container.viewContext.mergePolicy = NSMergeByPropertyObjectTrumpMergePolicy
|
||||
self.container.viewContext.automaticallyMergesChangesFromParent = true
|
||||
self.container.viewContext.retainsRegisteredObjects = true
|
||||
|
||||
if let error = error as NSError? {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue