A simple implementation of the drag-and-drop stack view
Install with SPM 📦
The IReorderableStackViewDelegate
protocol fires a callback whenever views are swapped
public protocol IReorderableStackViewDelegate: AnyObject {
func swapped(index: Int, with: Int)
}
This project is released under the MIT license.