example of a status bar application for OS X in Swift