SwipeSelectingCollectionView
A collection view subclass that enables swipe to select multiple cells just like in Photos app.
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
- Download and drop
SwipeSelectingCollectionView.xcodeproj
in your project. - 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.