KelvinJin / AnimatedCollectionViewLayout

A UICollectionViewLayout subclass that adds custom transitions/animations to the UICollectionView without effecting your existing code.
MIT License
4.7k stars 347 forks source link

How to make an animation for one element? #39

Closed alexanderkhitev closed 6 years ago

alexanderkhitev commented 6 years ago

Hello! I want to do an animation for one element, for example if the user has one item in the collection, so that he can at least scroll to the left or right (as with default behavior). What is the best way to implement this? Thanks.