XCode 10.1
Cannot call value of non-function type NSStatusBar / NSApplication in
let statusItem = NSStatusBar.system().statusItem(withLength: NSVariableStatusItemLength)
@IBAction func quitClicked(_ sender: NSMenuItem) {
NSApplication.shared().terminate(self)
}
I assume this is a simple syntax error due to Swift language update, but I haven't had a chance/got the skills to investigate further yet :)