https://github.com/shaneqi/swipeselectingcollectionview
A collection view subclass that enables swipe to select multiple cells just like in Photos app.
https://github.com/shaneqi/swipeselectingcollectionview
collectionview ios swift
Last synced: 8 months ago
JSON representation
A collection view subclass that enables swipe to select multiple cells just like in Photos app.
- Host: GitHub
- URL: https://github.com/shaneqi/swipeselectingcollectionview
- Owner: ShaneQi
- License: apache-2.0
- Created: 2017-07-09T17:02:24.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2020-07-08T15:33:37.000Z (almost 6 years ago)
- Last Synced: 2025-10-14T20:19:56.209Z (8 months ago)
- Topics: collectionview, ios, swift
- Language: Swift
- Homepage:
- Size: 3.44 MB
- Stars: 49
- Watchers: 3
- Forks: 11
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SwipeSelectingCollectionView
> A collection view subclass that enables swipe to select multiple cells just like in Photos app.
[](https://swift.org/)
[](https://www.apple.com/)

## Requirements
- Swift 4.0+
- iOS 8.0+
- Xcode 7.3+
## Installation
#### CocoaPods
You can use [CocoaPods](http://cocoapods.org/) to install `SwipeSelectingCollectionView` by adding it to your `Podfile`:
```ruby
platform :ios, '8.0'
use_frameworks!
pod 'SwipeSelectingCollectionView'
```
To get the full benefits import `SwipeSelectingCollectionView` wherever you import UIKit
``` swift
import UIKit
import SwipeSelectingCollectionView
```
#### Manually
1. Download and drop ```SwipeSelectingCollectionView.xcodeproj``` in your project.
2. Congratulations!
## Usage example
#### Programmatically
```swift
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](https://twitter.com/shadowqi) – qizengtai@gmail.com
Distributed under the Apache License 2.0. See ``LICENSE`` for more information.
[https://github.com/shaneqi/SwipeSelectingCollectionView](https://github.com/shaneqi/SwipeSelectingCollectionView)