GestureButton

GestureButton is a SwiftUI button that can handle many different gestures.

MIT License

Stars
38

Bot releases are hidden (Show)

GestureButton -

Published by danielsaidi 27 days ago

This version adds support for 👓 visionOS.

GestureButton -

Published by danielsaidi about 1 month ago

This version adds a GestureButtonScrollState value to make scroll view buttons behave better.

To use it, create a @StateObject var state = GestureButtonScrollState(), apply it to a scroll view with .scrollGestureState(state) and inject it into the GestureButton initializer.

Future versions should remove the need for injecting it into the gesture button, and instead make the gesture button check for an optional value in the environment.

GestureButton - Latest Release

Published by danielsaidi about 2 months ago

This version adjusts the repeat timer interval to 0.1.

GestureButton -

Published by danielsaidi about 2 months ago

This version makes the gesture timer public, so that you can reuse a timer across buttons.

GestureButton -

Published by danielsaidi about 2 months ago

Release Notes

0.0.1

This is the first beta release of this package.

✨ Features

This version adds a GestureButton with many internal types.