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

Animation not working #29

Open junaidxabd opened 6 years ago

junaidxabd commented 6 years ago

When I run the app the collectionView shrinks each cell and displays them all at once on the screen.

I followed readme and added this to my viewDidLoad()


let layout = AnimatedCollectionViewLayout()
layout.animator = ParallaxAttributesAnimator()
collectionView.collectionViewLayout = layout 
KelvinJin commented 6 years ago

This might be the same issue as #17. I guess you'll have to make changes to the contentView instead of the cell directly.