How to show context menu from NSButton in macOS 
Use NSMenu and popUp   func showQuitMenu() {     let menu = NSMenu()     let aboutItem = NSMenuItem(...
Tags: swift, macos, appkit, button