Repository navigation
1.0.0
SwiftToast v1.0.0 🎉
🚀 First official release of SwiftToast!
SwiftToast is a lightweight and customizable SwiftUI library for displaying toast notifications in your iOS and macOS applications. With this initial release, you can easily integrate smooth and customizable toast messages into your projects.
✨ Features in v1.0.0
✅ Simple and intuitive API
✅ Customizable toast messages (background, text color, font, duration)
✅ Multiple positioning options (top or bottom)
✅ Smooth animations (fade, slide, bounce, scale)
✅ Swift Package Manager (SPM) support
📦 Installation
Add SwiftToast via Swift Package Manager:
.package(url: "https://github.com/your-username/SwiftToast.git", from: "1.0.0")🛠 How to use
import SwiftUI
import SwiftToast
struct ContentView: View {
@State private var showToast = false
var body: some View {
VStack {
Button("Show Toast") {
showToast = true
}
}
.toast(isPresented: $showToast, message: "Hello, SwiftToast!")
}
}🚀 What's next?
🔹 More customization options
🔹 Support for more animations
🔹 Additional styling options
🛠 Try it out and let us know your feedback! 🚀
⭐ If you like this project, consider starring the repository! 🌟