/ Drag

A simple implementation of drag&drop stack view

A simple implementation of drag&drop stack view

VCReorderableStackView

Very simple implementation of drag&drop stack view.

VCReorderableStackView

Getting started

There is a delegate protocol, that sends notification every time, when views swapped

public protocol IReorderableStackViewDelegate: AnyObject {
    func swapped(index: Int, with: Int)
}

GitHub