Latest 2.0.0
Homepage https://github.com/oakstudios/StackedCollectionView
License MIT
Platforms ios 9.0
Frameworks UIKit
Authors ,

Version
License
Platform
Twitter

Introduction

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

alt tag

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', '~> 2.0'

Be sure to import the library when needed.

import StackedCollectionView

Migration

Version 2.0.0

This version requires Xcode 9.0 and Swift 4.

Version 1.0.0

StackedCollectionView supports iOS 9.0+, Swift 3, and Xcode 8.0.

Credits

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

The MIT License (MIT)

Copyright (c) 2017 Oak, LLC https://oak.is

Latest podspec

{
    "name": "StackedCollectionView",
    "version": "2.0.0",
    "summary": "Drag, drop, and combine items into stacks.",
    "homepage": "https://github.com/oakstudios/StackedCollectionView",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Alex Givens": "[email protected]",
        "Oak LLC": "[email protected]"
    },
    "source": {
        "git": "https://github.com/oakstudios/StackedCollectionView.git",
        "tag": "2.0.0"
    },
    "platforms": {
        "ios": "9.0"
    },
    "source_files": "Source/**/*",
    "frameworks": "UIKit",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This