From 3e2d62fe6762cd884d3a029fb972d4dfdbf8ba44 Mon Sep 17 00:00:00 2001 From: John Estropia Date: Mon, 2 Dec 2019 11:53:23 +0900 Subject: [PATCH] missed public modifier --- Sources/ListSnapshot.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/ListSnapshot.swift b/Sources/ListSnapshot.swift index 1990072..1d02178 100644 --- a/Sources/ListSnapshot.swift +++ b/Sources/ListSnapshot.swift @@ -217,7 +217,7 @@ public struct ListSnapshot: RandomAccessCollection, Hashable { /** Returns item identifiers for updated objects. This is mainly useful for Data Source adapters such as `UICollectionViewDiffableDataSource` or `UITableViewDiffableDataSource` which work on collection diffs when reloading. Since objects with same IDs resolve as "equal" in their old and new states, adapters may need extra heuristics to determine which row items need reloading. If your row items are all observing changes from each corresponding `ObjectPublisher`, or if you are using CoreStore's built-in `DiffableDataSource`s, there is no need to inspect this property. */ - var updatedItemIdentifiers: Set { + public var updatedItemIdentifiers: Set { return self.diffableSnapshot.updatedItemIdentifiers }