A UICollectionViewLayout subclass that adds custom transitions/animations to the UICollectionView without effecting your existing code.
This version supports Swift 4.2. If you want to use it with Swift 4.1 or below, use version 0.3.0.
SnapInAttributesAnimator
. cddea2f75517fc0ef3e63d05fd2e07c46708fb21scrollDirection
, startOffset
, midOffset
, endOffset
as extra properties to AnimatedCollectionViewLayoutAttributes
, d539aee9f8a7fff0913a3a2b41d51a41c1811db9PagerCollectionViewLayoutAttributes
to AnimatedCollectionViewLayoutAttributes
. 34cf7a8fa3b2264b52e489520c09ed4d08798b48CrossFadeAttributeAnimator
to CrossFadeAttributesAnimator
. cddea2f75517fc0ef3e63d05fd2e07c46708fb21LinearCardAttributeAnimator
to LinearCardAttributesAnimator
. cddea2f75517fc0ef3e63d05fd2e07c46708fb21CubeAttributeAnimator
to CubeAttributesAnimator
. cddea2f75517fc0ef3e63d05fd2e07c46708fb21PageAttributeAnimator
to PageAttributesAnimator
. cddea2f75517fc0ef3e63d05fd2e07c46708fb21AnimatedCollectionViewLayoutAttributes
. d539aee9f8a7fff0913a3a2b41d51a41c1811db9TurnAttributesAnimator
. 789e5100e5b2e9571ebcd04ac4192cc7760c9232Animators
folder #2.