GUI library for displaying various popups (HUD), written in pure Swift.
SwiftNotice is a GUI library for displaying various popups (HUD) written in pure Swift, fits any scrollview and supports iPhone X.
In any subclass of UIView, UIScrollView, UIViewController, UITableViewController, UITableViewCell:
self.pleaseWait()
self.noticeTop("OK!")
self.noticeSuccess("Success!")
self.noticeError("Error!")
self.noticeInfo("Info")
self.noticeOnlyText("Only Text")
self.clearAllNotice() // clear
Read the documentation for more information.
Just clone and add SwiftNotice.swift
to your project.
You are welcome to fork and submit pull requests.
SwiftNotice is open-sourced software licensed under the MIT license.