remove unused code and format

This commit is contained in:
Jakob Haag 2020-05-02 16:14:46 +02:00
parent bb98c9d0a6
commit cdb67f2d7c

View File

@ -11,10 +11,8 @@ import GameKit
final class GameCenterHelper: NSObject { final class GameCenterHelper: NSObject {
typealias CompletionBlock = (Error?) -> Void typealias CompletionBlock = (Error?) -> Void
// 1
static let helper = GameCenterHelper() static let helper = GameCenterHelper()
// 2
var viewController: UIViewController? var viewController: UIViewController?
static var isAuthenticated: Bool { static var isAuthenticated: Bool {
@ -42,6 +40,6 @@ final class GameCenterHelper: NSObject {
} }
extension Notification.Name { extension Notification.Name {
static let presentGame = Notification.Name(rawValue: "presentGame") static let presentGame = Notification.Name(rawValue: "presentGame")
static let authenticationChanged = Notification.Name(rawValue: "authenticationChanged") static let authenticationChanged = Notification.Name(rawValue: "authenticationChanged")
} }