import Cocoa

@NSApplicationMain
class AppDelegate: NSObject, NSApplicationDelegate {
}


import Cocoa

@NSApplicationMain
class AppDelegate: NSObject, NSApplicationDelegate {
  func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool {
    return true
  }
}


Terminate when the window is closed
Terminate when the window is closed
