/PopupTest

Statusbar app on Mac with popup (Yosemite or later)

Primary LanguageSwift

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