GameKit Changes for Swift
GameKit
Modified GKAchievement
| Protocols | |
|---|---|
| From | AnyObject, NSCoding, NSSecureCoding |
| To | NSCoding, NSSecureCoding |
Modified GKAchievementChallenge
| Protocols | |
|---|---|
| From | AnyObject |
| To | -- |
Modified GKAchievementDescription
| Protocols | |
|---|---|
| From | AnyObject, NSCoding, NSSecureCoding |
| To | NSCoding, NSSecureCoding |
Modified GKChallenge
| Protocols | |
|---|---|
| From | AnyObject, NSCoding, NSSecureCoding |
| To | NSCoding, NSSecureCoding |
Modified GKChallengeState [enum]
| Protocols | |
|---|---|
| From | Equatable, Hashable, RawRepresentable |
| To | -- |
Modified GKErrorCode [enum]
| Declaration | Protocols | |
|---|---|---|
| From | enum GKErrorCode : Int {
case Unknown
case Cancelled
case CommunicationsFailure
case UserDenied
case InvalidCredentials
case NotAuthenticated
case AuthenticationInProgress
case InvalidPlayer
case ScoreNotSet
case ParentalControlsBlocked
case PlayerStatusExceedsMaximumLength
case PlayerStatusInvalid
case MatchRequestInvalid
case Underage
case GameUnrecognized
case NotSupported
case InvalidParameter
case UnexpectedConnection
case ChallengeInvalid
case TurnBasedMatchDataTooLarge
case TurnBasedTooManySessions
case TurnBasedInvalidParticipant
case TurnBasedInvalidTurn
case TurnBasedInvalidState
case InvitationsDisabled
case PlayerPhotoFailure
case UbiquityContainerUnavailable
}
extension GKErrorCode : Hashable, Equatable, __BridgedNSError, ErrorType, RawRepresentable, _ObjectiveCBridgeableErrorType, _BridgedNSError {
}
extension GKErrorCode : Hashable, Equatable, __BridgedNSError, ErrorType, RawRepresentable, _ObjectiveCBridgeableErrorType, _BridgedNSError {
} | Equatable, ErrorType, Hashable, RawRepresentable |
| To | enum GKErrorCode : Int {
case Unknown
case Cancelled
case CommunicationsFailure
case UserDenied
case InvalidCredentials
case NotAuthenticated
case AuthenticationInProgress
case InvalidPlayer
case ScoreNotSet
case ParentalControlsBlocked
case PlayerStatusExceedsMaximumLength
case PlayerStatusInvalid
case MatchRequestInvalid
case Underage
case GameUnrecognized
case NotSupported
case InvalidParameter
case UnexpectedConnection
case ChallengeInvalid
case TurnBasedMatchDataTooLarge
case TurnBasedTooManySessions
case TurnBasedInvalidParticipant
case TurnBasedInvalidTurn
case TurnBasedInvalidState
case InvitationsDisabled
case PlayerPhotoFailure
case UbiquityContainerUnavailable
}
extension GKErrorCode : _BridgedNSError {
}
extension GKErrorCode : _BridgedNSError {
} | -- |
Modified GKFriendRequestComposeViewController
| Protocols | |
|---|---|
| From | AnyObject |
| To | -- |
Modified GKGameCenterViewController
| Protocols | |
|---|---|
| From | AnyObject |
| To | -- |
| Protocols | |
|---|---|
| From | Equatable, Hashable, RawRepresentable |
| To | -- |
Modified GKInvite
| Protocols | |
|---|---|
| From | AnyObject |
| To | -- |
Modified GKInviteRecipientResponse [enum]
| Protocols | |
|---|---|
| From | Equatable, Hashable, RawRepresentable |
| To | -- |
Modified GKLeaderboard
| Protocols | |
|---|---|
| From | AnyObject |
| To | -- |
Modified GKLeaderboardPlayerScope [enum]
| Protocols | |
|---|---|
| From | Equatable, Hashable, RawRepresentable |
| To | -- |
Modified GKLeaderboardSet
| Protocols | |
|---|---|
| From | AnyObject, NSCoding, NSSecureCoding |
| To | NSCoding, NSSecureCoding |
Modified GKLeaderboardTimeScope [enum]
| Protocols | |
|---|---|
| From | Equatable, Hashable, RawRepresentable |
| To | -- |
Modified GKLocalPlayer
| Protocols | |
|---|---|
| From | AnyObject, GKSavedGameListener, NSObjectProtocol |
| To | GKSavedGameListener |
Modified GKLocalPlayerListener
| Declaration | Protocols | |
|---|---|---|
| From | protocol GKLocalPlayerListener : GKChallengeListener, NSObjectProtocol, GKInviteEventListener, GKTurnBasedEventListener, GKSavedGameListener {
} | GKChallengeListener, GKInviteEventListener, GKSavedGameListener, GKTurnBasedEventListener, NSObjectProtocol |
| To | protocol GKLocalPlayerListener : GKChallengeListener, GKInviteEventListener, GKTurnBasedEventListener, GKSavedGameListener {
} | GKChallengeListener, GKInviteEventListener, GKSavedGameListener, GKTurnBasedEventListener |
Modified GKMatch
| Protocols | |
|---|---|
| From | AnyObject |
| To | -- |
Modified GKMatchmaker
| Protocols | |
|---|---|
| From | AnyObject |
| To | -- |
Modified GKMatchmakerViewController
| Protocols | |
|---|---|
| From | AnyObject |
| To | -- |
Modified GKMatchRequest
| Protocols | |
|---|---|
| From | AnyObject |
| To | -- |
Modified GKMatchSendDataMode [enum]
| Protocols | |
|---|---|
| From | Equatable, Hashable, RawRepresentable |
| To | -- |
Modified GKMatchType [enum]
| Protocols | |
|---|---|
| From | Equatable, Hashable, RawRepresentable |
| To | -- |
Modified GKNotificationBanner
| Protocols | |
|---|---|
| From | AnyObject |
| To | -- |
Modified GKPlayer
| Protocols | |
|---|---|
| From | AnyObject |
| To | -- |
Modified GKPlayerConnectionState [enum]
| Protocols | |
|---|---|
| From | Equatable, Hashable, RawRepresentable |
| To | -- |
Modified GKSavedGame
| Protocols | |
|---|---|
| From | AnyObject, NSCopying |
| To | NSCopying |
Modified GKScore
| Protocols | |
|---|---|
| From | AnyObject, NSCoding, NSSecureCoding |
| To | NSCoding, NSSecureCoding |
Modified GKScoreChallenge
| Protocols | |
|---|---|
| From | AnyObject |
| To | -- |
Modified GKTurnBasedExchange
| Protocols | |
|---|---|
| From | AnyObject |
| To | -- |
Modified GKTurnBasedExchangeReply
| Protocols | |
|---|---|
| From | AnyObject |
| To | -- |
Modified GKTurnBasedExchangeStatus [enum]
| Protocols | |
|---|---|
| From | Equatable, Hashable, RawRepresentable |
| To | -- |
Modified GKTurnBasedMatch
| Protocols | |
|---|---|
| From | AnyObject |
| To | -- |
Modified GKTurnBasedMatchmakerViewController
| Protocols | |
|---|---|
| From | AnyObject |
| To | -- |
Modified GKTurnBasedMatchOutcome [enum]
| Protocols | |
|---|---|
| From | Equatable, Hashable, RawRepresentable |
| To | -- |
Modified GKTurnBasedMatchStatus [enum]
| Protocols | |
|---|---|
| From | Equatable, Hashable, RawRepresentable |
| To | -- |
Modified GKTurnBasedParticipant
| Protocols | |
|---|---|
| From | AnyObject |
| To | -- |
Modified GKTurnBasedParticipantStatus [enum]
| Protocols | |
|---|---|
| From | Equatable, Hashable, RawRepresentable |
| To | -- |
Modified GKVoiceChat
| Protocols | |
|---|---|
| From | AnyObject |
| To | -- |
Modified GKVoiceChatPlayerState [enum]
| Protocols | |
|---|---|
| From | Equatable, Hashable, RawRepresentable |
| To | -- |