Skip to content

avreolko/VCReorderableStackView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VCReorderableStackView

A simple implementation of the drag-and-drop stack view

Demo

reorderable_demo

Installation

Install with SPM 📦

Usage

The IReorderableStackViewDelegate protocol fires a callback whenever views are swapped

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

License

This project is released under the MIT license.

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages