To run the example project, clone the repo, and run pod install
from the Example directory first.
class YourViewController: UIViewController {
...
showPistonToast(title: "Your toast message")
...
}
required
type: String
type: UIColor
default: UIColor.white
type: UIFont
default: UIFont.systemFont(ofSize: 15, weight: .semibold)
type: UIBlurEffect.Style
default: UIBlurEffect.Style.dark
- iOS 13.0+
ToastPiston is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'ToastPiston'
WallabyStuff, avocado34.131@gmail.com
ToastPiston is available under the MIT license. See the LICENSE file for more info.