{"repo":"aheze/SwipeActions","free":true,"listed":false,"github":"https://github.com/aheze/SwipeActions","clone":"git clone https://github.com/aheze/SwipeActions.git","description":"Add customizable swipe actions to any view.","language":"Swift","stars":1328,"topics":["gesture","ios","notifications","swift","swiftui","swipe","swipe-actions","drag","list"],"license":"MIT","category":"mobile-apps","readme_excerpt":"Add customizable swipe actions to any view. - 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. - Automatically close when interacting with other views. - Made with 100% SwiftUI. Supports iOS 14+. - Lightweight, no dependencies. One file. --- --- --- Installation SwipeActions is available via the Swift Package Manager. Alternatively, because all of SwipeActions is contained within a single file, drag SwipeActions.swift into your project. Requires iOS 14+. Usage Examples Check out the example app for all examples and advanced usage! Customization SwipeActions supports over 20 modifiers for customization. To use them, simply attach the modifier to SwipeAction / SwipeView . Example usage of these modifiers is available in the example app. Notes - To automatically close swipe views when another one is swiped (accordion style), use SwipeViewGroup . - To programmatically show/hide actions, use the context parameter. - To enable swiping on transparent areas, add .contentShape(Rectangle()) . - Everything in the example app is swipeable — even the gray-capsule headers! Community Author Contributing Need Help? --- --- --- SwipeActions is made by aheze. All contributions are welcome. Just fork the repo, then make a pull request. Open an issue or join the Discord server. You c","default_branch":null,"files":null,"tree":[],"storefront":"/r/aheze","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/aheze/SwipeActions/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}