StackedCollectionView

StackedCollectionView is a UICollectionViewFlowLayout subclass written in Swift to provide drag-and-drop interactions within a UICollectionView. The behaviors include reorder and "stack" gestures, which emulate folder creation similar to the iOS home screen.

Demo

StackedCollectionView

Check out the example project for a customized UICollectionView similar to what is used in Dropmark for iOS.

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

Install the library through CocoaPods. Add the following line to your Podfile, then run pod install.

pod 'StackedCollectionView', '~> 3.0'

Be sure to import the library when needed.

import StackedCollectionView

GitHub