Skip to content

Files

Latest commit

 

History

History

PopupKit

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

PopupKit

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.

Usage

Import Framework

import PopupKit

Setup

You need to setup popup manager after your main window setup (window.makeKeyAndVisible()). Not before.

let popupManager = PopupManager()
popupManager.setup()

Show popups

popupManager.showToastMessage("Some message")

etc.