From 5c7a149167802902c1632b8062df2969f4680b04 Mon Sep 17 00:00:00 2001 From: Roopesh Chander Date: Sun, 25 Nov 2018 18:42:51 +0530 Subject: 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 --- WireGuard/WireGuard/UI/macOS/AppDelegate.swift | 3 --- 1 file changed, 3 deletions(-) (limited to 'WireGuard/WireGuard/UI/macOS/AppDelegate.swift') 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 } -- cgit v1.2.3-59-g8ed1b