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:
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(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.