To run the example project, clone the repo, and run pod install
from the Example directory first.
ToasterSwift is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "ToasterSwift"
ToasterSwift.shared.show(message: "Hello world !", keep: true, close: true)
Parameter | Description |
---|---|
keep | true if the toast should still be display, false to auto hide this one after N seconds |
close | true if the button close should be display |
ToasterSwift.shared.hide()
jonathan-leininger
ToasterSwift is available under the MIT license. See the LICENSE file for more info.