Home

Awesome

TableViewDragger

Carthage compatible Version License Platform

simpleimage

This is a demo that uses a TableViewDragger.

Appetize's Demo

Requirements

How to Install TableViewDragger

CocoaPods

Add the following to your Podfile:

pod "TableViewDragger"

Carthage

Add the following to your Cartfile:

github "KyoheiG3/TableViewDragger"

Usage

TableViewDragger Variable

weak var delegate: TableViewDraggerDelegate?
weak var dataSource: TableViewDraggerDataSource?
var isHiddenOriginCell: Bool
var zoomScaleForCell: CGFloat
var alphaForCell: CGFloat
var opacityForShadowOfCell: Float
var scrollVelocity: CGFloat

TableViewDragger Function

init(tableView: UITableView)

TableViewDraggerDataSource Function

optional func dragger(_ dragger: TableViewDragger, cellForRowAt indexPath: IndexPath) -> UIView?
optional func dragger(_ dragger: TableViewDragger, indexPathForDragAt indexPath: IndexPath) -> IndexPath

TableViewDraggerDelegate Function

func dragger(_ dragger: TableViewDragger, moveDraggingAt indexPath: IndexPath, newIndexPath: IndexPath) -> Bool
optional func dragger(_ dragger: TableViewDragger, shouldDragAt indexPath: IndexPath) -> Bool

Author

Kyohei Ito

Follow me 🎉

LICENSE

Under the MIT license. See LICENSE file for details.