Releases: c-villain/SwipeActions
Releases · c-villain/SwipeActions
0.4.1 detective 🕵️♂️
0.4.0 doctor 👨⚕️
0.3.6 pilot 👨✈️
0.3.5 worker 👨🏭
- added mechanic to trigger indications of swipe #13
How to use 👇🏻
ForEach(range, ...) {
YourCell()
...
.addFullSwipeAction(
menu: .slided,
swipeColor: .red,
state: $state) {
Leading {
...
}
Trailing {
...
}
}
.swipeHint(cell == range.first, hintOffset: 120.0) // for trailing <== LOOK HERE
.swipeHint(cell == range[1] , hintOffset: -120.0) // for leading <== LOOK HERE
...
}
0.3.4 ninja 🥷
0.3.3 cowboy 🤠
0.3.2 astronaut 👨🚀
minor improvements, add the new example with swipe actions for cells with context menu
0.3.1 policeman👮♂️
Update README.md
0.3.0 teacher 👨🏫
Some features and improvements were added:
- project with different examples to package
- macOS support, including app example #2
SwipeRole
for full swiping. Quick guide you may find here.SwipeState
for automatically closing other opened actions during sliding. Quick guide you may find here.- updated ReadMe. Added recommendations for use.
0.2.0 firefighter 👨🚒
- add
.slided
and.swiped
menu-type - fix content for lazy views
- fix drag gesture (onEnded not always called)