From 0ad2417701e30a8c21cd7a72c3f54afd4078b73e Mon Sep 17 00:00:00 2001 From: Kristopher Johnson Date: Thu, 17 Oct 2019 20:25:20 -0400 Subject: [PATCH] Fix signatures of NSApplicationDelegate method implementations --- MenubarCountdown/AppDelegate.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MenubarCountdown/AppDelegate.swift b/MenubarCountdown/AppDelegate.swift index e6c70cc..e12acdc 100644 --- a/MenubarCountdown/AppDelegate.swift +++ b/MenubarCountdown/AppDelegate.swift @@ -57,7 +57,7 @@ class AppDelegate: NSObject, NSApplicationDelegate { AppUserDefaults.registerUserDefaults() } - func applicationDidFinishLaunching(aNotification: NSNotification) { + func applicationDidFinishLaunching(_ notification: Notification) { Log.debug("application did finish launching") stopwatch.reset() @@ -80,7 +80,7 @@ class AppDelegate: NSObject, NSApplicationDelegate { } } - func applicationWillTerminate(aNotification: NSNotification) { + func applicationWillTerminate(_ notification: Notification) { Log.debug("application will terminate") }