Skip to content

Releases: c-villain/SwipeActions

0.4.1 detective 🕵️‍♂️

28 Sep 09:49
1fe7b4e
Compare
Choose a tag to compare

New:

  • add modifier swipeSensitive to control swipe sensitivity (minimum distance for dragging)

Quick guide is here 👀

Fix:

  • horizontal swipe detection too sensitive on iOS 18 #35

0.4.0 doctor 👨‍⚕️

09 Sep 14:33
12c77e5
Compare
Choose a tag to compare

New:

  • haptics support #33 Quick guide is here 👀
  • engine to detect if the gesture was ended or canceled #29
  • rendering optimization #25 #30 #31

Solved:

  • the problem with the dragging several cells at the same time #9

0.3.6 pilot 👨‍✈️

29 Aug 17:32
f3ceac3
Compare
Choose a tag to compare
  • Add support for RTL languages #26
    Check this out using these details

0.3.5 worker 👨‍🏭

31 May 22:29
2c8f262
Compare
Choose a tag to compare
  • 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 🥷

31 May 15:06
270110b
Compare
Choose a tag to compare
  • Fix automatic closing does not work with LazyVStack items that are offscreen #21
  • Fix updating for SwipeState #20

0.3.3 cowboy 🤠

13 May 14:08
39c6d7f
Compare
Choose a tag to compare
  • Add CocoaPods support #17 #18
  • Fix the measureSize function bug #16

0.3.2 astronaut 👨‍🚀

27 Jan 22:24
feadf8a
Compare
Choose a tag to compare

minor improvements, add the new example with swipe actions for cells with context menu

0.3.1 policeman👮‍♂️

30 Dec 14:56
c84b53a
Compare
Choose a tag to compare
Update README.md

0.3.0 teacher 👨‍🏫

26 Dec 17:09
Compare
Choose a tag to compare

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 👨‍🚒

30 Dec 12:20
240f80e
Compare
Choose a tag to compare
  • add .slided and .swiped menu-type
  • fix content for lazy views
  • fix drag gesture (onEnded not always called)