StackedCollectionView 1.0.2

StackedCollectionView 1.0.2

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Aug 2017
SwiftSwift Version 3.0
SPMSupports SPM

Maintained by Alex Givens.


Downloads

Total8
Week8
Month8

Installs

Apps1
Apps WeekApps This Week 1
powered by Segment

GitHub

Stars0
Watchers3
Forks1
Issues0
Contributors1
Pull Requests0

Code

Files8
LOCLines of Code 752


  • By
  • Alex Givens

StackedCollectionView

StackedCollectionView is a UICollectionViewFlowLayout which, in combination with the StackedCollectionViewDelegate and StackedCollectionViewDataSource, provide the tools necessary to easily create drag-and-drop interactions within a UICollectionView. The behaviors include reorder and “stack” gestures, which emulate folder creation like the iOS home screen. Check out the example project for a customized UICollectionView similar to what is used in Dropmark for iOS.

Installation

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

pod 'StackedCollectionView', '~> 1.0'

StackedCollectionView supports iOS 9.0+.

Credits

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

Author

Created by Alex Givens for Oak. Portions of the reordering logic are referenced from LXReorderableCollectionViewFlowLayout and this blog post. Example images provided by Unsplash.

License

StackedCollectionView is available under the MIT license. See the LICENSE file for more info.