Documentation Archive Developer
Search

GameKit Changes

GameKit

Added GKLocalPlayer.localPlayer() -> GKLocalPlayer! [class]
Modified GKAchievement
Introduction
FromOS X 10.10
ToOS X 10.8

Modified GKAchievement.hidden
IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.8OS X 10.10

Modified GKAchievement.init(identifier: String!)
Declaration
From
init(identifier identifier: String!)
To
init!(identifier identifier: String!)

Modified GKAchievement.init(identifier: String!, player: GKPlayer!)
Declaration
From
init(identifier identifier: String!, player player: GKPlayer!)
To
init!(identifier identifier: String!, player player: GKPlayer!)

Modified GKAchievement.issueChallengeToPlayers([AnyObject]!, message: String!)
IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.8OS X 10.10

Modified GKAchievement.lastReportedDate
Declaration
From
var lastReportedDate: NSDate! { get }
To
@NSCopying var lastReportedDate: NSDate! { get }

Modified GKAchievement.reportAchievementWithCompletionHandler(((NSError!) -> Void)!)
IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.8OS X 10.10

Modified GKAchievement.reportAchievements([AnyObject]!, withCompletionHandler:((NSError!) -> Void)!) [class]
Introduction
FromOS X 10.10
ToOS X 10.8

Modified GKAchievement.selectChallengeablePlayerIDs([AnyObject]!, withCompletionHandler:(([AnyObject]!, NSError!) -> Void)!)
IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.8OS X 10.10

Modified GKAchievement.showsCompletionBanner
Introduction
FromOS X 10.10
ToOS X 10.8

Modified GKAchievementChallenge
Introduction
FromOS X 10.10
ToOS X 10.8

Modified GKAchievementDescription
Introduction
FromOS X 10.10
ToOS X 10.8

Modified GKAchievementDescription.groupIdentifier
Introduction
FromOS X 10.10
ToOS X 10.8

Modified GKAchievementDescription.image
Introduction
FromOS X 10.10
ToOS X 10.8

Modified GKAchievementDescription.replayable
Introduction
FromOS X 10.10
ToOS X 10.8

Modified GKAchievementViewController
Introduction
FromOS X 10.10
ToOS X 10.8

Modified GKAchievementViewController.achievementDelegate
Declaration
From
var achievementDelegate: GKAchievementViewControllerDelegate!
To
unowned(unsafe) var achievementDelegate: GKAchievementViewControllerDelegate!

Modified GKAchievementViewControllerDelegate
IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.8OS X 10.10

Modified GKAchievementViewControllerDelegate.achievementViewControllerDidFinish(GKAchievementViewController!)
Deprecation
From--
ToOS X 10.10

Modified GKChallenge
Introduction
FromOS X 10.10
ToOS X 10.8

Modified GKChallenge.issuingPlayer
Declaration
From
var issuingPlayer: GKPlayer! { get }
To
@NSCopying var issuingPlayer: GKPlayer! { get }

Modified GKChallenge.issuingPlayerID
IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.8OS X 10.10

Modified GKChallenge.receivingPlayer
Declaration
From
var receivingPlayer: GKPlayer! { get }
To
@NSCopying var receivingPlayer: GKPlayer! { get }

Modified GKChallenge.receivingPlayerID
IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.8OS X 10.10

Modified GKChallengeEventHandler
IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.8OS X 10.10

Modified GKChallengeEventHandler.delegate
DeclarationIntroductionDeprecation
From
var delegate: GKChallengeEventHandlerDelegate!
OS X 10.10--
To
unowned(unsafe) var delegate: GKChallengeEventHandlerDelegate!
OS X 10.8OS X 10.10

Modified GKChallengeEventHandlerDelegate
IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.8OS X 10.10

Modified GKChallengeEventHandlerDelegate.localPlayerDidCompleteChallenge(GKChallenge!)
DeprecationOptional
From----
ToOS X 10.10yes

Modified GKChallengeEventHandlerDelegate.localPlayerDidReceiveChallenge(GKChallenge!)
DeprecationOptional
From----
ToOS X 10.10yes

Modified GKChallengeEventHandlerDelegate.localPlayerDidSelectChallenge(GKChallenge!)
DeprecationOptional
From----
ToOS X 10.10yes

Modified GKChallengeEventHandlerDelegate.remotePlayerDidCompleteChallenge(GKChallenge!)
DeprecationOptional
From----
ToOS X 10.10yes

Modified GKChallengeEventHandlerDelegate.shouldShowBannerForLocallyCompletedChallenge(GKChallenge!) -> Bool
DeprecationOptional
From----
ToOS X 10.10yes

Modified GKChallengeEventHandlerDelegate.shouldShowBannerForLocallyReceivedChallenge(GKChallenge!) -> Bool
DeprecationOptional
From----
ToOS X 10.10yes

Modified GKChallengeEventHandlerDelegate.shouldShowBannerForRemotelyCompletedChallenge(GKChallenge!) -> Bool
DeprecationOptional
From----
ToOS X 10.10yes

Modified GKChallengeListener.player(GKPlayer!, didCompleteChallenge: GKChallenge!, issuedByFriend: GKPlayer!)
Optional
From--
Toyes

Modified GKChallengeListener.player(GKPlayer!, didReceiveChallenge: GKChallenge!)
Optional
From--
Toyes

Modified GKChallengeListener.player(GKPlayer!, issuedChallengeWasCompleted: GKChallenge!, byFriend: GKPlayer!)
Optional
From--
Toyes

Modified GKChallengeListener.player(GKPlayer!, wantsToPlayChallenge: GKChallenge!)
Optional
From--
Toyes

Modified GKChallengesViewController
IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.8OS X 10.10

Modified GKChallengesViewController.challengeDelegate
DeclarationDeprecation
From
var challengeDelegate: GKChallengesViewControllerDelegate!
--
To
unowned(unsafe) var challengeDelegate: GKChallengesViewControllerDelegate!
OS X 10.10

Modified GKDialogController.parentWindow
Declaration
From
@IBOutlet var parentWindow: NSWindow!
To
@IBOutlet unowned(unsafe) var parentWindow: NSWindow!

Modified GKFriendRequestComposeViewController
Introduction
FromOS X 10.10
ToOS X 10.8

Modified GKFriendRequestComposeViewController.addRecipientsWithPlayerIDs([AnyObject]!)
IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.8OS X 10.10

Modified GKFriendRequestComposeViewController.composeViewDelegate
Declaration
From
var composeViewDelegate: GKFriendRequestComposeViewControllerDelegate!
To
unowned(unsafe) var composeViewDelegate: GKFriendRequestComposeViewControllerDelegate!

Modified GKFriendRequestComposeViewControllerDelegate.friendRequestComposeViewControllerDidFinish(GKFriendRequestComposeViewController!)
Introduction
FromOS X 10.10
ToOS X 10.8

Modified GKGameCenterControllerDelegate.gameCenterViewControllerDidFinish(GKGameCenterViewController!)
Introduction
FromOS X 10.10
ToOS X 10.9

Modified GKGameCenterViewController
Introduction
FromOS X 10.10
ToOS X 10.9

Modified GKGameCenterViewController.gameCenterDelegate
Declaration
From
var gameCenterDelegate: GKGameCenterControllerDelegate!
To
unowned(unsafe) var gameCenterDelegate: GKGameCenterControllerDelegate!

Modified GKGameCenterViewController.leaderboardCategory
IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.8OS X 10.10

Modified GKGameCenterViewController.leaderboardTimeScope
IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.8OS X 10.10

Modified GKInvite
Introduction
FromOS X 10.10
ToOS X 10.8

Modified GKInvite.inviter
IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.8OS X 10.10

Modified GKInvite.playerAttributes
Introduction
FromOS X 10.10
ToOS X 10.9

Modified GKInvite.playerGroup
Introduction
FromOS X 10.10
ToOS X 10.9

Modified GKInviteEventListener.player(GKPlayer!, didAcceptInvite: GKInvite!)
Optional
From--
Toyes

Modified GKInviteEventListener.player(GKPlayer!, didRequestMatchWithRecipients:[AnyObject]!)
Optional
From--
Toyes

Modified GKLeaderboard
Introduction
FromOS X 10.10
ToOS X 10.8

Modified GKLeaderboard.init()
Declaration
From
init()
To
init!()

Modified GKLeaderboard.category
IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.8OS X 10.10

Modified GKLeaderboard.groupIdentifier
Introduction
FromOS X 10.10
ToOS X 10.9

Modified GKLeaderboard.loadImageWithCompletionHandler(((NSImage!, NSError!) -> Void)!)
Introduction
FromOS X 10.10
ToOS X 10.8

Modified GKLeaderboard.loadLeaderboardsWithCompletionHandler((([AnyObject]!, NSError!) -> Void)!) [class]
Introduction
FromOS X 10.10
ToOS X 10.8

Modified GKLeaderboard.init(playerIDs: [AnyObject]!)
DeclarationIntroductionDeprecation
From
init(playerIDs playerIDs: [AnyObject]!)
OS X 10.10--
To
init!(playerIDs playerIDs: [AnyObject]!)
OS X 10.8OS X 10.10

Modified GKLeaderboard.init(players: [AnyObject]!)
Declaration
From
init(players players: [AnyObject]!)
To
init!(players players: [AnyObject]!)

Modified GKLeaderboard.setDefaultLeaderboard(String!, withCompletionHandler:((NSError!) -> Void)!) [class]
IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.8OS X 10.10

Modified GKLeaderboardViewController
Introduction
FromOS X 10.10
ToOS X 10.8

Modified GKLeaderboardViewController.leaderboardDelegate
Declaration
From
var leaderboardDelegate: GKLeaderboardViewControllerDelegate!
To
unowned(unsafe) var leaderboardDelegate: GKLeaderboardViewControllerDelegate!

Modified GKLeaderboardViewControllerDelegate
IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.8OS X 10.10

Modified GKLeaderboardViewControllerDelegate.leaderboardViewControllerDidFinish(GKLeaderboardViewController!)
Deprecation
From--
ToOS X 10.10

Modified GKLocalPlayer
Introduction
FromOS X 10.10
ToOS X 10.8

Modified GKLocalPlayer.authenticateHandler
Introduction
FromOS X 10.10
ToOS X 10.9

Modified GKLocalPlayer.friends
IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.8OS X 10.10

Modified GKLocalPlayer.loadDefaultLeaderboardCategoryIDWithCompletionHandler(((String!, NSError!) -> Void)!)
IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.8OS X 10.10

Modified GKLocalPlayer.loadFriendsWithCompletionHandler((([AnyObject]!, NSError!) -> Void)!)
IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.8OS X 10.10

Modified GKLocalPlayer.setDefaultLeaderboardCategoryID(String!, completionHandler:((NSError!) -> Void)!)
IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.8OS X 10.10

Modified GKMatch
Introduction
FromOS X 10.10
ToOS X 10.8

Modified GKMatch.chooseBestHostPlayerWithCompletionHandler(((String!) -> Void)!)
IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.9OS X 10.10

Modified GKMatch.delegate
Declaration
From
var delegate: GKMatchDelegate!
To
unowned(unsafe) var delegate: GKMatchDelegate!

Modified GKMatch.playerIDs
IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.8OS X 10.10

Modified GKMatch.rematchWithCompletionHandler(((GKMatch!, NSError!) -> Void)!)
Introduction
FromOS X 10.10
ToOS X 10.9

Modified GKMatch.sendData(NSData!, toPlayers:[AnyObject]!, withDataMode: GKMatchSendDataMode, error: NSErrorPointer) -> Bool
IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.8OS X 10.10

Modified GKMatchDelegate.match(GKMatch!, didFailWithError: NSError!)
IntroductionOptional
FromOS X 10.10--
ToOS X 10.8yes

Modified GKMatchDelegate.match(GKMatch!, didReceiveData: NSData!, fromPlayer: String!)
IntroductionDeprecationOptional
FromOS X 10.10----
ToOS X 10.8OS X 10.10yes

Modified GKMatchDelegate.match(GKMatch!, didReceiveData: NSData!, fromRemotePlayer: GKPlayer!)
Optional
From--
Toyes

Modified GKMatchDelegate.match(GKMatch!, player: GKPlayer!, didChangeConnectionState: GKPlayerConnectionState)
IntroductionOptional
FromOS X 10.10--
ToOS X 10.8yes

Modified GKMatchDelegate.match(GKMatch!, shouldReinviteDisconnectedPlayer: GKPlayer!) -> Bool
Optional
From--
Toyes

Modified GKMatchDelegate.match(GKMatch!, shouldReinvitePlayer: String!) -> Bool
IntroductionDeprecationOptional
FromOS X 10.10----
ToOS X 10.8OS X 10.10yes

Modified GKMatchRequest
Introduction
FromOS X 10.10
ToOS X 10.8

Modified GKMatchRequest.defaultNumberOfPlayers
Introduction
FromOS X 10.10
ToOS X 10.8

Modified GKMatchRequest.inviteMessage
Introduction
FromOS X 10.10
ToOS X 10.8

Modified GKMatchRequest.inviteeResponseHandler
IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.9OS X 10.10

Modified GKMatchRequest.maxPlayersAllowedForMatchOfType(GKMatchType) -> Int [class]
Introduction
FromOS X 10.10
ToOS X 10.9

Modified GKMatchRequest.playersToInvite
IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.8OS X 10.10

Modified GKMatchmaker
Introduction
FromOS X 10.10
ToOS X 10.8

Modified GKMatchmaker.cancelInviteToPlayer(String!)
IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.9OS X 10.10

Modified GKMatchmaker.findPlayersForHostedMatchRequest(GKMatchRequest!, withCompletionHandler:(([AnyObject]!, NSError!) -> Void)!)
IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.8OS X 10.10

Modified GKMatchmaker.finishMatchmakingForMatch(GKMatch!)
Introduction
FromOS X 10.10
ToOS X 10.9

Modified GKMatchmaker.inviteHandler
IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.8OS X 10.10

Modified GKMatchmaker.matchForInvite(GKInvite!, completionHandler:((GKMatch!, NSError!) -> Void)!)
Introduction
FromOS X 10.10
ToOS X 10.9

Modified GKMatchmaker.startBrowsingForNearbyPlayersWithReachableHandler(((String!, Bool) -> Void)!)
IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.9OS X 10.10

Modified GKMatchmaker.stopBrowsingForNearbyPlayers()
Introduction
FromOS X 10.10
ToOS X 10.9

Modified GKMatchmakerViewController
Introduction
FromOS X 10.10
ToOS X 10.8

Modified GKMatchmakerViewController.addPlayersToMatch(GKMatch!)
Introduction
FromOS X 10.10
ToOS X 10.8

Modified GKMatchmakerViewController.defaultInvitationMessage
IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.8OS X 10.10

Modified GKMatchmakerViewController.init(invite: GKInvite!)
Declaration
From
init(invite invite: GKInvite!)
To
init!(invite invite: GKInvite!)

Modified GKMatchmakerViewController.init(matchRequest: GKMatchRequest!)
Declaration
From
init(matchRequest request: GKMatchRequest!)
To
init!(matchRequest request: GKMatchRequest!)

Modified GKMatchmakerViewController.matchmakerDelegate
Declaration
From
var matchmakerDelegate: GKMatchmakerViewControllerDelegate!
To
unowned(unsafe) var matchmakerDelegate: GKMatchmakerViewControllerDelegate!

Modified GKMatchmakerViewController.setHostedPlayer(String!, connected: Bool)
IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.8OS X 10.10

Modified GKMatchmakerViewControllerDelegate.matchmakerViewController(GKMatchmakerViewController!, didFailWithError: NSError!)
Introduction
FromOS X 10.10
ToOS X 10.8

Modified GKMatchmakerViewControllerDelegate.matchmakerViewController(GKMatchmakerViewController!, didFindHostedPlayers:[AnyObject]!)
Optional
From--
Toyes

Modified GKMatchmakerViewControllerDelegate.matchmakerViewController(GKMatchmakerViewController!, didFindMatch: GKMatch!)
IntroductionOptional
FromOS X 10.10--
ToOS X 10.8yes

Modified GKMatchmakerViewControllerDelegate.matchmakerViewController(GKMatchmakerViewController!, didFindPlayers:[AnyObject]!)
IntroductionDeprecationOptional
FromOS X 10.10----
ToOS X 10.8OS X 10.10yes

Modified GKMatchmakerViewControllerDelegate.matchmakerViewController(GKMatchmakerViewController!, didReceiveAcceptFromHostedPlayer: String!)
IntroductionDeprecationOptional
FromOS X 10.10----
ToOS X 10.8OS X 10.10yes

Modified GKMatchmakerViewControllerDelegate.matchmakerViewController(GKMatchmakerViewController!, hostedPlayerDidAccept: GKPlayer!)
Optional
From--
Toyes

Modified GKMatchmakerViewControllerDelegate.matchmakerViewControllerWasCancelled(GKMatchmakerViewController!)
Introduction
FromOS X 10.10
ToOS X 10.8

Modified GKNotificationBanner
Introduction
FromOS X 10.10
ToOS X 10.8

Modified GKNotificationBanner.showBannerWithTitle(String!, message: String!, completionHandler:(() -> Void)!) [class]
Introduction
FromOS X 10.10
ToOS X 10.8

Modified GKNotificationBanner.showBannerWithTitle(String!, message: String!, duration: NSTimeInterval, completionHandler:(() -> Void)!) [class]
Introduction
FromOS X 10.10
ToOS X 10.8

Modified GKPeerConnectionState [struct]
IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.8OS X 10.10

Modified GKPeerConnectionState.init(_: UInt32)
Deprecation
From--
ToOS X 10.10

Modified GKPeerConnectionState.value
Deprecation
From--
ToOS X 10.10

Modified GKPlayer
Introduction
FromOS X 10.10
ToOS X 10.8

Modified GKPlayer.displayName
Introduction
FromOS X 10.10
ToOS X 10.8

Modified GKPlayer.isFriend
IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.8OS X 10.10

Modified GKPlayer.loadPhotoForSize(GKPhotoSize, withCompletionHandler:((NSImage!, NSError!) -> Void)!)
Introduction
FromOS X 10.10
ToOS X 10.8

Modified GKSavedGameListener.player(GKPlayer!, didModifySavedGame: GKSavedGame!)
Optional
From--
Toyes

Modified GKSavedGameListener.player(GKPlayer!, hasConflictingSavedGames:[AnyObject]!)
Optional
From--
Toyes

Modified GKScore
Introduction
FromOS X 10.10
ToOS X 10.8

Modified GKScore.category
IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.8OS X 10.10

Modified GKScore.init(category: String!)
DeclarationIntroductionDeprecation
From
init(category category: String!)
OS X 10.10--
To
init!(category category: String!)
OS X 10.8OS X 10.10

Modified GKScore.context
Introduction
FromOS X 10.10
ToOS X 10.8

Modified GKScore.issueChallengeToPlayers([AnyObject]!, message: String!)
IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.8OS X 10.10

Modified GKScore.init(leaderboardIdentifier: String!)
Declaration
From
init(leaderboardIdentifier identifier: String!)
To
init!(leaderboardIdentifier identifier: String!)

Modified GKScore.init(leaderboardIdentifier: String!, player: GKPlayer!)
Declaration
From
init(leaderboardIdentifier identifier: String!, player player: GKPlayer!)
To
init!(leaderboardIdentifier identifier: String!, player player: GKPlayer!)

Modified GKScore.playerID
IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.8OS X 10.10

Modified GKScore.reportScoreWithCompletionHandler(((NSError!) -> Void)!)
IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.8OS X 10.10

Modified GKScore.reportScores([AnyObject]!, withCompletionHandler:((NSError!) -> Void)!) [class]
Introduction
FromOS X 10.10
ToOS X 10.8

Modified GKScore.shouldSetDefaultLeaderboard
Introduction
FromOS X 10.10
ToOS X 10.8

Modified GKScoreChallenge
Introduction
FromOS X 10.10
ToOS X 10.8

Modified GKSendDataMode [struct]
IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.8OS X 10.10

Modified GKSendDataMode.init(_: UInt32)
Deprecation
From--
ToOS X 10.10

Modified GKSendDataMode.value
Deprecation
From--
ToOS X 10.10

Modified GKSession
IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.8OS X 10.10

Modified GKSession.acceptConnectionFromPeer(String!, error: NSErrorPointer) -> Bool
Deprecation
From--
ToOS X 10.10

Modified GKSession.available
Deprecation
From--
ToOS X 10.10

Modified GKSession.cancelConnectToPeer(String!)
Deprecation
From--
ToOS X 10.10

Modified GKSession.connectToPeer(String!, withTimeout: NSTimeInterval)
Deprecation
From--
ToOS X 10.10

Modified GKSession.delegate
DeclarationDeprecation
From
var delegate: GKSessionDelegate!
--
To
unowned(unsafe) var delegate: GKSessionDelegate!
OS X 10.10

Modified GKSession.denyConnectionFromPeer(String!)
Deprecation
From--
ToOS X 10.10

Modified GKSession.disconnectFromAllPeers()
Deprecation
From--
ToOS X 10.10

Modified GKSession.disconnectPeerFromAllPeers(String!)
Deprecation
From--
ToOS X 10.10

Modified GKSession.disconnectTimeout
Deprecation
From--
ToOS X 10.10

Modified GKSession.displayName
Deprecation
From--
ToOS X 10.10

Modified GKSession.displayNameForPeer(String!) -> String!
Deprecation
From--
ToOS X 10.10

Modified GKSession.peerID
Deprecation
From--
ToOS X 10.10

Modified GKSession.peersWithConnectionState(GKPeerConnectionState) -> [AnyObject]!
IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.8OS X 10.10

Modified GKSession.sendData(NSData!, toPeers:[AnyObject]!, withDataMode: GKSendDataMode, error: NSErrorPointer) -> Bool
IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.8OS X 10.10

Modified GKSession.sendDataToAllPeers(NSData!, withDataMode: GKSendDataMode, error: NSErrorPointer) -> Bool
IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.8OS X 10.10

Modified GKSession.sessionID
Deprecation
From--
ToOS X 10.10

Modified GKSession.init(sessionID: String!, displayName: String!, sessionMode: GKSessionMode)
DeclarationIntroductionDeprecation
From
init(sessionID sessionID: String!, displayName name: String!, sessionMode mode: GKSessionMode)
OS X 10.10--
To
init!(sessionID sessionID: String!, displayName name: String!, sessionMode mode: GKSessionMode)
OS X 10.8OS X 10.10

Modified GKSession.sessionMode
IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.8OS X 10.10

Modified GKSession.setDataReceiveHandler(AnyObject!, withContext: UnsafeMutablePointer<Void>)
DeclarationDeprecation
From
func setDataReceiveHandler(_ handler: AnyObject!, withContext context: UnsafePointer<()>)
--
To
func setDataReceiveHandler(_ handler: AnyObject!, withContext context: UnsafeMutablePointer<Void>)
OS X 10.10

Modified GKSessionDelegate.session(GKSession!, connectionWithPeerFailed: String!, withError: NSError!)
Optional
From--
Toyes

Modified GKSessionDelegate.session(GKSession!, didFailWithError: NSError!)
Optional
From--
Toyes

Modified GKSessionDelegate.session(GKSession!, didReceiveConnectionRequestFromPeer: String!)
Optional
From--
Toyes

Modified GKSessionDelegate.session(GKSession!, peer: String!, didChangeState: GKPeerConnectionState)
Optional
From--
Toyes

Modified GKSessionMode [struct]
IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.8OS X 10.10

Modified GKSessionMode.init(_: UInt32)
Deprecation
From--
ToOS X 10.10

Modified GKSessionMode.value
Deprecation
From--
ToOS X 10.10

Modified GKTurnBasedEventHandler
IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.8OS X 10.10

Modified GKTurnBasedEventHandler.delegate
DeclarationIntroductionDeprecation
From
var delegate: NSObject!
OS X 10.10--
To
unowned(unsafe) var delegate: NSObject!
OS X 10.8OS X 10.10

Modified GKTurnBasedEventHandler.sharedTurnBasedEventHandler() -> GKTurnBasedEventHandler! [class]
IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.8OS X 10.10

Modified GKTurnBasedEventHandlerDelegate
IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.8OS X 10.10

Modified GKTurnBasedEventHandlerDelegate.handleInviteFromGameCenter([AnyObject]!)
IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.8OS X 10.10

Modified GKTurnBasedEventHandlerDelegate.handleMatchEnded(GKTurnBasedMatch!)
IntroductionDeprecationOptional
FromOS X 10.10----
ToOS X 10.8OS X 10.10yes

Modified GKTurnBasedEventHandlerDelegate.handleTurnEventForMatch(GKTurnBasedMatch!, didBecomeActive: Bool)
IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.9OS X 10.10

Modified GKTurnBasedEventListener.player(GKPlayer!, didRequestMatchWithOtherPlayers:[AnyObject]!)
Optional
From--
Toyes

Modified GKTurnBasedEventListener.player(GKPlayer!, matchEnded: GKTurnBasedMatch!)
Optional
From--
Toyes

Modified GKTurnBasedEventListener.player(GKPlayer!, receivedExchangeCancellation: GKTurnBasedExchange!, forMatch: GKTurnBasedMatch!)
Optional
From--
Toyes

Modified GKTurnBasedEventListener.player(GKPlayer!, receivedExchangeReplies:[AnyObject]!, forCompletedExchange: GKTurnBasedExchange!, forMatch: GKTurnBasedMatch!)
Optional
From--
Toyes

Modified GKTurnBasedEventListener.player(GKPlayer!, receivedExchangeRequest: GKTurnBasedExchange!, forMatch: GKTurnBasedMatch!)
Optional
From--
Toyes

Modified GKTurnBasedEventListener.player(GKPlayer!, receivedTurnEventForMatch: GKTurnBasedMatch!, didBecomeActive: Bool)
Optional
From--
Toyes

Modified GKTurnBasedMatch
Introduction
FromOS X 10.10
ToOS X 10.8

Modified GKTurnBasedMatch.acceptInviteWithCompletionHandler(((GKTurnBasedMatch!, NSError!) -> Void)!)
Introduction
FromOS X 10.10
ToOS X 10.8

Modified GKTurnBasedMatch.declineInviteWithCompletionHandler(((NSError!) -> Void)!)
Introduction
FromOS X 10.10
ToOS X 10.8

Modified GKTurnBasedMatch.endTurnWithNextParticipants([AnyObject]!, turnTimeout: NSTimeInterval, matchData: NSData!, completionHandler:((NSError!) -> Void)!)
Introduction
FromOS X 10.10
ToOS X 10.9

Modified GKTurnBasedMatch.loadMatchWithID(String!, withCompletionHandler:((GKTurnBasedMatch!, NSError!) -> Void)!) [class]
Introduction
FromOS X 10.10
ToOS X 10.8

Modified GKTurnBasedMatch.matchDataMaximumSize
Introduction
FromOS X 10.10
ToOS X 10.8

Modified GKTurnBasedMatch.participantQuitInTurnWithOutcome(GKTurnBasedMatchOutcome, nextParticipants:[AnyObject]!, turnTimeout: NSTimeInterval, matchData: NSData!, completionHandler:((NSError!) -> Void)!)
Introduction
FromOS X 10.10
ToOS X 10.9

Modified GKTurnBasedMatch.rematchWithCompletionHandler(((GKTurnBasedMatch!, NSError!) -> Void)!)
Introduction
FromOS X 10.10
ToOS X 10.9

Modified GKTurnBasedMatch.saveCurrentTurnWithMatchData(NSData!, completionHandler:((NSError!) -> Void)!)
Introduction
FromOS X 10.10
ToOS X 10.8

Modified GKTurnBasedMatchmakerViewController
Introduction
FromOS X 10.10
ToOS X 10.8

Modified GKTurnBasedMatchmakerViewController.init(matchRequest: GKMatchRequest!)
Declaration
From
init(matchRequest request: GKMatchRequest!)
To
init!(matchRequest request: GKMatchRequest!)

Modified GKTurnBasedMatchmakerViewController.turnBasedMatchmakerDelegate
Declaration
From
var turnBasedMatchmakerDelegate: GKTurnBasedMatchmakerViewControllerDelegate!
To
unowned(unsafe) var turnBasedMatchmakerDelegate: GKTurnBasedMatchmakerViewControllerDelegate!

Modified GKTurnBasedMatchmakerViewControllerDelegate.turnBasedMatchmakerViewController(GKTurnBasedMatchmakerViewController!, didFailWithError: NSError!)
Introduction
FromOS X 10.10
ToOS X 10.8

Modified GKTurnBasedMatchmakerViewControllerDelegate.turnBasedMatchmakerViewController(GKTurnBasedMatchmakerViewController!, didFindMatch: GKTurnBasedMatch!)
Introduction
FromOS X 10.10
ToOS X 10.8

Modified GKTurnBasedMatchmakerViewControllerDelegate.turnBasedMatchmakerViewController(GKTurnBasedMatchmakerViewController!, playerQuitForMatch: GKTurnBasedMatch!)
Introduction
FromOS X 10.10
ToOS X 10.8

Modified GKTurnBasedMatchmakerViewControllerDelegate.turnBasedMatchmakerViewControllerWasCancelled(GKTurnBasedMatchmakerViewController!)
Introduction
FromOS X 10.10
ToOS X 10.8

Modified GKTurnBasedParticipant
Introduction
FromOS X 10.10
ToOS X 10.8

Modified GKTurnBasedParticipant.lastTurnDate
Declaration
From
var lastTurnDate: NSDate! { get }
To
@NSCopying var lastTurnDate: NSDate! { get }

Modified GKTurnBasedParticipant.playerID
IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.8OS X 10.10

Modified GKTurnBasedParticipant.timeoutDate
DeclarationIntroduction
From
var timeoutDate: NSDate! { get }
OS X 10.10
To
@NSCopying var timeoutDate: NSDate! { get }
OS X 10.8

Modified GKVoiceChat
Introduction
FromOS X 10.10
ToOS X 10.8

Modified GKVoiceChat.playerIDs
IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.8OS X 10.10

Modified GKVoiceChat.playerStateUpdateHandler
IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.8OS X 10.10

Modified GKVoiceChat.setMute(Bool, forPlayer: String!)
IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.8OS X 10.10

Modified GKVoiceChatClient.voiceChatService(GKVoiceChatService!, didNotStartWithParticipantID: String!, error: NSError!)
Optional
From--
Toyes

Modified GKVoiceChatClient.voiceChatService(GKVoiceChatService!, didReceiveInvitationFromParticipantID: String!, callID: Int)
Optional
From--
Toyes

Modified GKVoiceChatClient.voiceChatService(GKVoiceChatService!, didStartWithParticipantID: String!)
Optional
From--
Toyes

Modified GKVoiceChatClient.voiceChatService(GKVoiceChatService!, didStopWithParticipantID: String!, error: NSError!)
Optional
From--
Toyes

Modified GKVoiceChatClient.voiceChatService(GKVoiceChatService!, sendRealTimeData: NSData!, toParticipantID: String!)
Optional
From--
Toyes

Modified GKErrorDomain
Declaration
From
var GKErrorDomain: NSString!
To
let GKErrorDomain: String

Modified GKPlayerAuthenticationDidChangeNotificationName
DeclarationIntroduction
From
var GKPlayerAuthenticationDidChangeNotificationName: NSString!
OS X 10.10
To
let GKPlayerAuthenticationDidChangeNotificationName: String
OS X 10.8

Modified GKPlayerDidChangeNotificationName
Declaration
From
var GKPlayerDidChangeNotificationName: NSString!
To
let GKPlayerDidChangeNotificationName: String

Modified GKSessionErrorDomain
Declaration
From
let GKSessionErrorDomain: NSString!
To
let GKSessionErrorDomain: String

Modified GKTurnTimeoutDefault
Introduction
FromOS X 10.10
ToOS X 10.9

Modified GKTurnTimeoutNone
Introduction
FromOS X 10.10
ToOS X 10.9

Modified GKVoiceChatServiceErrorDomain
Declaration
From
let GKVoiceChatServiceErrorDomain: NSString!
To
let GKVoiceChatServiceErrorDomain: String