taichino / PopupTest

Statusbar app on Mac with popup (Yosemite or later)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PopupTest

Statusbar app sample for Mac (Yosemite or later)

Screenshot

Steps

  1. Add LSUIElement to Info.plist and set it YES
  2. Create NSStatusItem in AppDelegate
  3. Configure images and an action to NSStatusItem.button
  4. Show NSPopover from the button action

Note

See header files of NSStatusItem and NSStatusBarButton for details. They don't show up in official documents for some reason.

Reference

For OS X Marvericks https://github.com/shpakovski/Popup

License

MIT

About

Statusbar app on Mac with popup (Yosemite or later)


Languages

Language:Swift 100.0%