LiveCollections v1
This is the official first major release of LiveCollections, a framework that will calculate the difference between two immutable data sets and perform the animation logic in the table or collection view for you.
It has full support built in for the UIKit classes UITableView and UICollectionView, and can also be customized to support custom classes.
Using LiveCollections you can automate collection animations without writing any animation code at all!
Instead just perform three short steps:
- Adopt the
UniquelyIdentifiableprotocol on your data type. - Create a
CollectionDataobject to hold the data and receive updated arrays. - Point the
CollectionDataobject to your view.
And LiveCollections will animate the change between your data sets without any additional information required.