ADLivelyCollectionView

by applidium

Drop-in subclass of UICollectionView that lets you add custom animations to any UICollectionView

451 Stars 45 Forks Last release: Not found Other 20 Commits 1 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

ADLivelyCollectionView - UICollectionView with style

ADLivelyCollectionView is a drop-in subclass of UICollectionView that lets you add custom animations to any UICollectionView.

This is the port of ADLivelyTableView, one of our most starred libraries on GitHub, to UICollectionView.

It's rather simple to use :

  • Add ADLivelyCollectionView.h and ADLivelyCollectionView.m to your iOS project
  • Link against the QuartzCore framework if you don't already
  • Turn any UICollectionView you want to animate (or subclass thereof) into a subclass of ADLivelyCollectionView
  • Pick whichever animation you like, like this :
    livelyCollectionView.initialCellTransformBlock = ADLivelyTransformFan;

You can also write your own initial transform block.

Compatibility

This project does not use ARC. To add ADLivelyCollectionView to a project using ARC, set the compiler flag

-fno-objc-arc
for the source file
ADLivelyCollectionView.m
in Targets → Build Phases → Compile Sources (double click on the right column of the row under Compiler Flags).

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.