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 year 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: 15 weeks ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

0.1.1
1 year 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