mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-09-17 15:21:30 +02:00
DiffableDataSource.CollectionView implementation
This commit is contained in:
@@ -152,12 +152,12 @@ public final class LiveList<O: DynamicObject>: Hashable {
|
||||
|
||||
public func section(containingItem item: LiveObject<O>) -> SectionID? {
|
||||
|
||||
return self.snapshot.sectionIdentifier(containingItem: item.cs_id())
|
||||
return self.snapshot.sectionIdentifier(containingItem: item.objectID())
|
||||
}
|
||||
|
||||
public func indexOfItem(_ item: LiveObject<O>) -> Int? {
|
||||
|
||||
return self.snapshot.indexOfItem(item.cs_id())
|
||||
return self.snapshot.indexOfItem(item.objectID())
|
||||
}
|
||||
|
||||
public func indexOfSection(_ identifier: SectionID) -> Int? {
|
||||
|
||||
Reference in New Issue
Block a user