diff options
author | Roopesh Chander <roop@roopc.net> | 2018-11-25 18:42:51 +0530 |
---|---|---|
committer | Roopesh Chander <roop@roopc.net> | 2019-01-14 14:52:29 +0530 |
commit | 5c7a149167802902c1632b8062df2969f4680b04 (patch) | |
tree | 3df44642568ceef663f17f13d9e4805256a94a6f /WireGuard/WireGuard/UI/macOS/AppDelegate.swift | |
parent | macOS: NE: Add entitlements for making network connections (diff) | |
download | wireguard-apple-5c7a149167802902c1632b8062df2969f4680b04.tar.xz wireguard-apple-5c7a149167802902c1632b8062df2969f4680b04.zip |
macOS: Remove MainMenu.xib
When there's no xib, we should explicitly set the app delegate, so we
override NSApplication and set the app delegate in NSApplication.shared
Signed-off-by: Roopesh Chander <roop@roopc.net>
Diffstat (limited to '')
-rw-r--r-- | WireGuard/WireGuard/UI/macOS/AppDelegate.swift | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/WireGuard/WireGuard/UI/macOS/AppDelegate.swift b/WireGuard/WireGuard/UI/macOS/AppDelegate.swift index fb0094d..9630135 100644 --- a/WireGuard/WireGuard/UI/macOS/AppDelegate.swift +++ b/WireGuard/WireGuard/UI/macOS/AppDelegate.swift @@ -6,9 +6,6 @@ import Cocoa @NSApplicationMain class AppDelegate: NSObject, NSApplicationDelegate { - @IBOutlet weak var window: NSWindow! - - func applicationDidFinishLaunching(_ aNotification: Notification) { // Insert code here to initialize your application } |