Swift 5 MacOS Close App

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