UIResponder with DiffableDataSource part 2
There is a new protocol in Xcode 11 named Identifiable
, it seems suitable to combine with Hashable
to determine a cell content change by newItem.id == oldItem.id && newItem != oldItem
. But there is nothing changing after I implement Identifiable
. I am not sure if I have done something wrong since there is no documentation at all.
Unless you have a static data source you can use default, is the helper. Otherwise, you need to implement the data source to accomplish your requirements or use an alternative that can accomplished your it.
UISplitViewController is advanced in iOS14 and using DiffableDataSource benefits in diffing things(collapsing) section by section…
… tbc
https://www.swiftjectivec.com/ios-14-notable-uikit-additions/