Skip to content

A collection view subclass that enables swipe to select multiple cells just like in Photos app.

License

Notifications You must be signed in to change notification settings

ShaneQi/SwipeSelectingCollectionView

Repository files navigation

SwipeSelectingCollectionView

A collection view subclass that enables swipe to select multiple cells just like in Photos app.

Swift 4+ iOS 8.0

demo

Requirements

  • Swift 4.0+
  • iOS 8.0+
  • Xcode 7.3+

Installation

CocoaPods

You can use CocoaPods to install SwipeSelectingCollectionView by adding it to your Podfile:

platform :ios, '8.0'
use_frameworks!
pod 'SwipeSelectingCollectionView'

To get the full benefits import SwipeSelectingCollectionView wherever you import UIKit

import UIKit
import SwipeSelectingCollectionView

Manually

  1. Download and drop SwipeSelectingCollectionView.xcodeproj in your project.
  2. Congratulations!

Usage example

Programmatically

import SwipeSelectingCollectionView

let collectionView = CollectionView(frame: .zero, collectionViewLayout: UICollectionViewFlowLayout()) 

Interface Builder

Contribute

We would love you for the contribution to SwipeSelectingCollectionView, check the LICENSE file for more info.

Meta

Shane Qi – @shadowqi[email protected]

Distributed under the Apache License 2.0. See LICENSE for more information.

https://github.com/shaneqi/SwipeSelectingCollectionView

About

A collection view subclass that enables swipe to select multiple cells just like in Photos app.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published