Skip to content

LiveCollections v1

Compare
Choose a tag to compare
@StephaneMagne StephaneMagne released this 11 Jan 18:23
· 14 commits to master since this release
d0f15ca

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:

  1. Adopt the UniquelyIdentifiable protocol on your data type.
  2. Create a CollectionData object to hold the data and receive updated arrays.
  3. Point the CollectionData object to your view.

And LiveCollections will animate the change between your data sets without any additional information required.