From ea92dd46d759640827841d2ab710d06351c8cace Mon Sep 17 00:00:00 2001 From: masakih Date: Wed, 15 Mar 2017 20:25:58 +0900 Subject: [PATCH] =?utf8?q?=E7=9C=81=E7=95=A5=E3=81=A7=E3=81=8D=E3=82=8B?= =?utf8?q?=E8=A8=98=E6=B3=95=E3=81=8C=E3=81=82=E3=82=8C=E3=81=B0=E3=81=9D?= =?utf8?q?=E3=82=8C=E3=82=92=E7=94=A8=E3=81=84=E3=82=8B=E3=82=88=E3=81=86?= =?utf8?q?=E3=81=AB=E3=81=97=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- KCD/AppDelegate.swift | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/KCD/AppDelegate.swift b/KCD/AppDelegate.swift index 8f79ae41..30b2ebe9 100644 --- a/KCD/AppDelegate.swift +++ b/KCD/AppDelegate.swift @@ -119,9 +119,7 @@ class AppDelegate: NSObject { get { return UserDefaults.standard.screenShotSaveDirectory ?? ApplicationDirecrories.pictures.path } - set { - UserDefaults.standard.screenShotSaveDirectory = newValue - } + set { UserDefaults.standard.screenShotSaveDirectory = newValue } } var screenShotSaveDirectoryURL: URL { return URL(fileURLWithPath: screenShotSaveDirectory) @@ -388,12 +386,8 @@ fileprivate var objectForTouchBar: [Int: NSTouchBar] = [:] @available(OSX 10.12.2, *) extension AppDelegate: NSTouchBarProvider { @IBOutlet var mainTouchBar: NSTouchBar? { - get { - return objectForTouchBar[hash] - } - set { - objectForTouchBar[hash] = newValue - } + get { return objectForTouchBar[hash] } + set { objectForTouchBar[hash] = newValue } } var touchBar: NSTouchBar? { -- 2.11.0