Skip to content

Commit

Permalink
Merge branch 'master' of github.com:avreolko/VCReorderableStackView
Browse files Browse the repository at this point in the history
  • Loading branch information
avreolko committed Mar 22, 2020
2 parents 7bdbe16 + 23363a8 commit 873a606
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
# VCReorderableStackView
Very simple implementation of drag&drop stack view

Very simple implementation of drag&drop stack view.
There is a delegate protocol, that sends notification every time, when views swapped.
## Demo
![reorderable_demo](https://user-images.githubusercontent.com/5366222/77224811-d1ab7880-6b9b-11ea-8c24-73a9476e7f10.gif)

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

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

You can Install it through SPM 📦
## Installation
📦 SPM

0 comments on commit 873a606

Please sign in to comment.