A Toast View made in swift using auto layout and stack views.
iOS 11 or above and swift 4.2
DCToastView is available through Swift package manager. To install it, simply add this git repository into your xcode spm depenencies:
After you have your cocoapods set up done and already added the pod for DCToastView, you just need to import in the View Controller you will like to use the Filter View.
import DCToast
Then just call the shared Toast Presenter instance to show or remove a toast message
ToastPresenter.shared.show(in: self.view, message: "This is a toast")
ToastPresenter.shared.remove()
Constructor properties go as follows:
Vincent Berihuete, [email protected]
DCToastView is available under the MIT license. See the LICENSE file for more info.
link |
Stars: 4 |
Last commit: 4 years ago |
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics