Swiftpack.co - uypanha/SwiftDragAndDrop as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by uypanha.
uypanha/SwiftDragAndDrop v0.3.2
Simple Drag and Drop component of multiple UITableView written in Swift
⭐️ 13
🕓 1 year ago
iOS
.package(url: "https://github.com/uypanha/SwiftDragAndDrop.git", from: "v0.3.2")

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.

GitHub

link
Stars: 13
Last commit: 1 year ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics