SwipeSelectingCollectionView

master

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

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

Description

  • Swift Tools 5.0.0
View More Packages from this Author

Dependencies

  • None
Last updated: Thu Oct 17 2024 15:59:04 GMT-0900 (Hawaii-Aleutian Daylight Time)