A library for presenting popups:
- notifications (on the top)
- alerts (in the middle)
- toasts (on the bottom)
This library uses its own UIWindow above main UIWindow to present popups.
import PopupKit
You need to setup popup manager after your main window setup (window.makeKeyAndVisible()). Not before.
let popupManager = PopupManager()
popupManager.setup()
popupManager.showToastMessage("Some message")
etc.