aboutsummaryrefslogtreecommitdiff
path: root/safari/Junction/AppDelegate.swift
diff options
context:
space:
mode:
authorRuben Beltran del Rio <ruben@unlimited.pizza>2023-09-13 18:39:01 +0200
committerRuben Beltran del Rio <ruben@unlimited.pizza>2023-09-13 18:39:01 +0200
commit4a191e8036581893bf5f4cfb284770d1bfe9a807 (patch)
treeabbf7be12b65b56c9b6a11861fd96ad406ad4590 /safari/Junction/AppDelegate.swift
parent06b7617a863d00dbcc91d1e46f09942c6aad366e (diff)
Add safari code
Diffstat (limited to 'safari/Junction/AppDelegate.swift')
-rw-r--r--safari/Junction/AppDelegate.swift21
1 files changed, 21 insertions, 0 deletions
diff --git a/safari/Junction/AppDelegate.swift b/safari/Junction/AppDelegate.swift
new file mode 100644
index 0000000..0e990a0
--- /dev/null
+++ b/safari/Junction/AppDelegate.swift
@@ -0,0 +1,21 @@
+//
+// AppDelegate.swift
+// Junction
+//
+// Created by Ruben Beltran del Rio on 9/13/23.
+//
+
+import Cocoa
+
+@main
+class AppDelegate: NSObject, NSApplicationDelegate {
+
+ func applicationDidFinishLaunching(_ notification: Notification) {
+ // Override point for customization after application launch.
+ }
+
+ func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool {
+ return true
+ }
+
+}