mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-03-23 18:01:10 +01:00
DiffableDataSource.CollectionView implementation
This commit is contained in:
@@ -183,8 +183,8 @@ public /*abstract*/ class BaseDataTransaction {
|
||||
)
|
||||
let context = self.context
|
||||
objects.forEach {
|
||||
|
||||
$0.cs_rawObject(in: context).map({ context.delete($0) })
|
||||
|
||||
$0.asEditable(in: self).map({ context.delete($0.cs_toRaw()) })
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user