Application Swift 5 MacOS Close

@IBAction func ExitNow(sender: AnyObject) {
    NSApplication.shared.terminate(self)
}
Everybody Poops