Skip to content

Simple Drag and Drop component of multiple UITableView written in Swift

Notifications You must be signed in to change notification settings

uypanha/SwiftDragAndDrop

Repository files navigation

SwiftDragAndDrop

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.

Demo

Breaking Changes

  • Refactored usage classes and protocols

Features

  • Smooth animations
  • Automatic edge scrolling
  • Works with multiple UITableViews
  • Customizable shadow, scaling, and transparency effects

Installation

CocoaPods

SwiftDragAndDrop is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'SwiftDragAndDrop'

Swift Package Manager

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"))

Manually

You can integrate SwiftDragAndDrop into your project manually by copying the contents of the Source folder into your project.

Usage

Setup

I will update how to setup very soon. 😄😄

License

SwiftDragAndDrop is available under the MIT license. See the LICENSE file for more info.

About

Simple Drag and Drop component of multiple UITableView written in Swift

Resources

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published