Contents

arbyruns/AnimatedSwipeCard

AnimatedSwipeCard is a custom swipe card with animation and can be used with confirmationDialog or alert

Example

   .alert(isPresented:$showCardAlert) {
            Alert(
                title: Text("Are you sure you want to delete \(bindingText)?"),
                message: Text("There is no undo"),
                primaryButton: .destructive(Text("Delete")) {
                    deleteitem(bindingID)
                },
                secondaryButton: .cancel()
            )
        }

Credits

Credit to https://lukaszadam.com/ for rocket image

Author

Rob Evans, robert.evansii@gmail.com

License

CloudKitStatus is available under the MIT license. See the LICENSE file for more info.

Package Metadata

Repository: arbyruns/AnimatedSwipeCard

Stars: 0

Forks: 0

Open issues: 0

Default branch: main

Primary language: swift

Topics: ios-ui, swift, swift-package, swiftui

README: README.md