Swiftpack.co - binaryscraping/swiftui-toast as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by binaryscraping.
binaryscraping/swiftui-toast 0.1.1
A Toast implementation for SwiftUI
⭐️ 0
🕓 1 week ago
iOS macOS watchOS tvOS
.package(url: "https://github.com/binaryscraping/swiftui-toast.git", from: "0.1.1")

ToastUI

Usage

struct ContentView: View {
    @State var tostPresented = false

    var body: some View {
        Button("Show toast") { 
            toastPresented = true 
        }
        .toast(isPresented: $toastPresented) { 
            ToastView(title: "This a toast")
        }
    }
}

GitHub

link
Stars: 0
Last commit: 1 week ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

0.1.1
1 week ago

What changed

  • Fix Equatable and Hashable conformances.

Full Changelog: https://github.com/binaryscraping/swiftui-toast/compare/0.1.0...0.1.1

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics