SwiftDragAndDrop is an extended UITableView that lets you add long-press drag-and-drop reordering to any table view or across any table views in Drag and Drop Manager Component. It's robust, lightweight, and fully customizable.
SwiftDragAndDrop is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'SwiftDragAndDrop'
Note: Instructions below are for using SwiftPM without the Xcode UI. It's the easiest to go to your Project Settings -> Swift Packages and add SwiftDragAndDrop from there.
To integrate using Apple's Swift package manager, without Xcode integration, add the following as a dependency to your Package.swift
:
.package(url: "https://github.com/uypanha/SwiftDragAndDrop.git", .upToNextMajor(from: "0.5.0"))
You can integrate SwiftDragAndDrop into your project manually by copying the contents of the Source
folder into your project.
I will update how to setup very soon. 😄😄
SwiftDragAndDrop is available under the MIT license. See the LICENSE file for more info.
link |
Stars: 13 |
Last commit: 1 year ago |
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics