remove unused code and format
This commit is contained in:
parent
bb98c9d0a6
commit
cdb67f2d7c
@ -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")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user