Toast
Toast copied to clipboard
Toast Popup for iOS, tvOS and macOS(OSX)
Toast
Yet another Toast library🍞
Inspired by Toast-Swift, but this one supports multiplatform. That means you can popup Toasts on iOS, tvOS, macOS(OSX), everywhere!
It has yet very limited functionalities yet, so PRs or suggestions are very welcomed!
Screenshots
Requirements
- Swift 3.0
- iOS 8.0+
- tvOS 9.0+
- macOS 10.11+
How to use
view.makeToast("Hello toast🍞.")
view.makeToastActivity() // show indicator
view.hideToastActivity() // hide indicator
Install
Carthage
- Add
github "toshi0383/Toast"
to your Cartfile.
CocoaPods
- Add
pod 'TSToast'
to your Podfile. - Run
pod install
.