CollectionViewChangesAnimator

public final class CollectionViewChangesAnimator

A listener that observers changes of a data provider. It create animations to make changes visible in the view by using `UICollectionViews APIs to animate cells.

  • Creates an instance and starts listening for changes to animate them into the collection view

    Declaration

    Swift

    public init(collectionView: UICollectionView, observable: DataProviderObservable)

    Parameters

    collectionView

    the collection view to be animated

    observable

    observable for listening to changes of a data provider