From cdb67f2d7cbcba48a9f5f6b0969185082c785810 Mon Sep 17 00:00:00 2001 From: Jakob Haag Date: Sat, 2 May 2020 16:14:46 +0200 Subject: [PATCH] remove unused code and format --- GoldWars/GoldWars/GameCenterHelper.swift | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/GoldWars/GoldWars/GameCenterHelper.swift b/GoldWars/GoldWars/GameCenterHelper.swift index 988a23f..abf9578 100644 --- a/GoldWars/GoldWars/GameCenterHelper.swift +++ b/GoldWars/GoldWars/GameCenterHelper.swift @@ -11,10 +11,8 @@ import GameKit final class GameCenterHelper: NSObject { typealias CompletionBlock = (Error?) -> Void - // 1 static let helper = GameCenterHelper() - // 2 var viewController: UIViewController? static var isAuthenticated: Bool { @@ -42,6 +40,6 @@ final class GameCenterHelper: NSObject { } extension Notification.Name { - static let presentGame = Notification.Name(rawValue: "presentGame") - static let authenticationChanged = Notification.Name(rawValue: "authenticationChanged") + static let presentGame = Notification.Name(rawValue: "presentGame") + static let authenticationChanged = Notification.Name(rawValue: "authenticationChanged") }