mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-01-16 14:06:53 +01:00
ManagedObjectListController demo
This commit is contained in:
@@ -77,7 +77,7 @@ public /*abstract*/ class BaseDataTransaction {
|
||||
|
||||
HardcoreData.assert(self.transactionQueue.isCurrentExecutionContext(), "Attempted to delete an entity of type \(typeName(object)) outside its designated queue.")
|
||||
|
||||
object.deleteFromContext()
|
||||
object.inContext(self.context)?.deleteFromContext()
|
||||
}
|
||||
|
||||
// MARK: Saving changes
|
||||
|
||||
Reference in New Issue
Block a user