GameKit Changes for Swift
GameKit (Added)
Added GKAchievement
Added GKAchievement.identifier
Added GKAchievement.isHidden
Added GKAchievement.player
Added GKAchievement.playerID
Added GKAchievement.report(_: [GKAchievement], withCompletionHandler: ( (Error?) -> Swift.Void)?) [class]
Added GKAchievementDescription
Added GKBasePlayer
Added GKBasePlayer.displayName
Added GKBasePlayer.playerID
Added GKChallengeListener
Added GKChallengeState [enum]
Added GKChallengeState.invalid
Added GKChallengeState.pending
Added GKConnectionState [enum]
Added GKError [struct]
Added GKError.cancelled
Added GKError.challengeInvalid
Added GKError.gameUnrecognized
Added GKError.init(_nsError: NSError)
Added GKError.invalidParameter
Added GKError.invalidPlayer
Added GKError.notAuthenticated
Added GKError.notSupported
Added GKError.scoreNotSet
Added GKError.underage
Added GKError.unknown
Added GKError.userDenied
Added GKError.Code [enum]
Added GKError.Code.cancelled
Added GKError.Code.scoreNotSet
Added GKError.Code.underage
Added GKError.Code.unknown
Added GKError.Code.userDenied
Added GKGameSessionError.init(_nsError: NSError)
Added GKInviteEventListener
Added GKLeaderboard
Added GKLeaderboard.category
Added GKLeaderboard.identifier
Added GKLeaderboard.init()
Added GKLeaderboard.isLoading
Added GKLeaderboard.maxRange
Added GKLeaderboard.range
Added GKLeaderboard.scores
Added GKLeaderboard.setDefault(_: String?, withCompletionHandler: ( (Error?) -> Swift.Void)?) [class]
Added GKLeaderboard.timeScope
Added GKLeaderboard.title
Added GKLeaderboardSet
Added GKLeaderboardSet.loadLeaderboards(completionHandler: ( ([GKLeaderboard]?, Error?) -> Swift.Void)?)
Added GKLeaderboardSet.title
Added GKLocalPlayer
Added GKLocalPlayer.friends
Added GKLocalPlayer.isUnderage
Added GKLocalPlayerListener
Added GKMatch.playerIDs
Added GKMatchmaker.startBrowsingForNearbyPlayers(reachableHandler: ( (String, Bool) -> Swift.Void)?)
Added GKMatchRequest
Added GKMatchType [enum]
Added GKMatchType.hosted
Added GKMatchType.peerToPeer
Added GKMatchType.turnBased
Added GKPlayer
Added GKPlayer.alias
Added GKPlayer.displayName
Added GKPlayer.isFriend
Added GKPlayer.playerID
Added GKScore
Added GKScore.category
Added GKScore.context
Added GKScore.date
Added GKScore.formattedValue
Added GKScore.player
Added GKScore.playerID
Added GKScore.rank
Added GKScore.value
Added GKSendDataMode [enum]
Added GKSendDataMode.reliable
Added GKSession
Added GKSession.delegate
Added GKSession.displayName
Added GKSession.isAvailable
Added GKSession.peerID
Added GKSession.sessionID
Added GKSession.sessionMode
Added GKSessionDelegate
Added GKSessionError [struct]
Added GKSessionError.init(_nsError: NSError)
Added GKSessionMode [enum]
Added GKSessionMode.client
Added GKSessionMode.peer
Added GKSessionMode.server
Added GKTransportType [enum]
Added GKTransportType.reliable
Added GKTurnBasedEventHandler
Added GKTurnBasedEventListener
Added GKTurnBasedExchange
Added GKTurnBasedExchange.data
Added GKTurnBasedExchangeReply
Added GKTurnBasedMatch
Added GKTurnBasedMatch.acceptInvite(completionHandler: ( (GKTurnBasedMatch?, Error?) -> Swift.Void)?)
Added GKTurnBasedMatch.endMatchInTurn(withMatch: Data, completionHandler: ( (Error?) -> Swift.Void)?)
Added GKTurnBasedMatch.matchID
Added GKTurnBasedMatch.message
Added GKTurnBasedMatch.saveCurrentTurn(withMatch: Data, completionHandler: ( (Error?) -> Swift.Void)?)
Added GKTurnBasedMatch.status
Added GKTurnBasedParticipant
Added GKVoiceChat.playerIDs
Added GKVoiceChatClient
Added GKVoiceChatClient.voiceChatService(_: GKVoiceChatService, send: Data, toParticipantID: String)
Added GKVoiceChatService
Added GKVoiceChatServiceError.init(_nsError: NSError)
Added GKErrorDomain
Added GKExchangeTimeoutDefault
Added GKExchangeTimeoutNone
Added GKGameSessionErrorDomain
Added GKInviteeResponse
Added GKSessionErrorDomain
Added GKTurnTimeoutDefault
Added GKTurnTimeoutNone