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

Make AnimatedCollectionViewLayout class open so it can be subclassed #45

Closed gsbernstein closed 5 years ago

gsbernstein commented 5 years ago

"Public" is not able to be subclassed outside the module. This would allow you to override things like finalLayoutAttributesForDisappearingItem and initialLayoutAttributesForAppearingItem to customize the appearing and dismissing of cells.

Let me know if there's a better way to do this.