Initial Release
Introducing SwipeActions, a swift package to add swipe actions to any view! Yes, not just Lists — all view work.
SwiftUI already has support for swipe actions on Lists, but that's it. They're also not customizable at all — you can't change the corner radius, or anything (see here and here). SwipeActions fixes all these problems, and adds more features!
- Enable swipe actions on any view, not just Lists.
- Customize literally everything — corner radius, color, etc...
- Supports drag-to-delete and advanced gesture handling.
- Fine-tune animations and styling to your taste.
- Programmatically show/hide swipe actions.
- Made with 100% SwiftUI. Supports iOS 14+.
- Lightweight, no dependencies. One file.