Get Updates By E-mail 

Article Written By:
Johann Dowa

AnimatedCollectionViewLayout – Easy To Use Swift Library For UICollectionView Transition Effects

  •  
  •  
  •  
  •  
  •  

AnimatedCollectionViewLayout is an open source library providing a set of transition effects that can easily be assigned to a UICollectionView.

With AnimatedCollectionViewLayout you simply need to create an AnimatedCollectionViewLayout object, and pass in one of the animators then assign it as a collection view layout. Like in this example from the readme:

import AnimatedCollectionViewLayout

// ...

let layout = AnimatedCollectionViewLayout()
layout.animator = ParallaxAttributesAnimator()
collectionView.collectionViewLayout = layout

Included are numerous examples of different animations, and animators include cube, crossfade, card, page, parallax, turn, and zoom animators.

This animation from the readme shows the cube animation in action:
AnimationCollectionViewLayout

You can find AnimatedCollectionViewLayout on Github here.

A nice library for UICollectionView transition effects.


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments