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 {
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")
}