Swift Package Index


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


  • The latest stable release is 0.1.5. Released 6 months ago.
  • The last commit to master was 6 months ago.

Swift Version Compatibility

  • 0.1.5 and master
    5.3
    5.2
    5.1
    5.0
    4.2
Full build results

Platform Compatibility

  • 0.1.5 and master
    iOS
    macOS(Intel)
    macOS(ARM)
    Linux
    tvOS
    watchOS
Full build results

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 – @shadowqiqizengtai@gmail.com

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

https://github.com/shaneqi/SwipeSelectingCollectionView