2019-08-02 18:32:18 +02:00
|
|
|
import Cocoa
|
|
|
|
|
2021-02-03 20:36:05 +01:00
|
|
|
@main
|
2019-08-02 18:32:18 +02:00
|
|
|
class AppDelegate: NSObject, NSApplicationDelegate {
|
2021-02-03 20:36:05 +01:00
|
|
|
|
|
|
|
func applicationDidFinishLaunching(_ notification: Notification) {
|
2019-08-02 18:32:18 +02:00
|
|
|
// Insert code here to initialize your application
|
|
|
|
}
|
|
|
|
|
2021-02-03 20:36:05 +01:00
|
|
|
func applicationWillTerminate(_ notification: Notification) {
|
2019-08-02 18:32:18 +02:00
|
|
|
// Insert code here to tear down your application
|
|
|
|
}
|
2021-02-03 20:36:05 +01:00
|
|
|
|
|
|
|
func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool {
|
|
|
|
return true
|
|
|
|
}
|
|
|
|
|
2019-08-02 18:32:18 +02:00
|
|
|
}
|