GameKit Changes
GameKit
GKAchievement.h
Added GKAchievement.player
Added GKAchievement(Deprecated)
Modified GKAchievement
| Protocols | |
|---|---|
| From | NSCoding |
| To | NSCoding, NSSecureCoding |
Modified GKAchievement.hidden
| Deprecation | |
|---|---|
| From | OS X 10.9 |
| To | OS X 10.10 |
Modified -[GKAchievement initWithIdentifier:]
| Declaration | |
|---|---|
| From | - (id)initWithIdentifier:(NSString *)identifier |
| To | - (instancetype)initWithIdentifier:(NSString *)identifier |
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.10 |
| Introduction | |
|---|---|
| From | OS X 10.9 |
| To | OS X 10.8 |
GKAchievementDescription.h
Added GKAchievementDescription(UI)
Modified GKAchievementDescription
| Protocols | |
|---|---|
| From | NSCoding |
| To | NSCoding, NSSecureCoding |
| Declaration | Introduction | |
|---|---|---|
| From | @property(retain, readonly, atomic) NSString *groupIdentifier | OS X 10.9 |
| To | @property(nonatomic, retain, readonly) NSString *groupIdentifier | OS X 10.8 |
Modified GKAchievementDescription.replayable
| Declaration | Introduction | |
|---|---|---|
| From | @property(getter=isReplayable, assign, readonly, atomic) BOOL replayable | OS X 10.9 |
| To | @property(nonatomic, getter=isReplayable, assign, readonly) BOOL replayable | OS X 10.8 |
GKAchievementViewController.h
Modified GKAchievementViewController
| Superclasses | Protocols | |
|---|---|---|
| From | NSViewController | GKViewController |
| To | GKGameCenterViewController | -- |
Modified GKAchievementViewControllerDelegate
| Protocols | Deprecation | |
|---|---|---|
| From | -- | -- |
| To | NSObject | OS X 10.10 |
GKChallenge.h
Added GKAchievement(GKChallengeDeprecated)
Added GKScore(GKChallengeDeprecated)
| Introduction | Deprecation | |
|---|---|---|
| From | OS X 10.9 | -- |
| To | OS X 10.8 | OS X 10.10 |
| Introduction | Deprecation | |
|---|---|---|
| From | OS X 10.9 | -- |
| To | OS X 10.8 | OS X 10.10 |
Modified GKAchievementChallenge
| Introduction | |
|---|---|
| From | OS X 10.9 |
| To | OS X 10.8 |
Modified GKAchievementChallenge.achievement
| Declaration | |
|---|---|
| From | @property(readonly, retain, atomic) GKAchievement *achievement |
| To | @property(nonatomic, readonly, retain) GKAchievement *achievement |
Modified GKChallenge
| Protocols | Introduction | |
|---|---|---|
| From | NSCoding | OS X 10.9 |
| To | NSCoding, NSSecureCoding | OS X 10.8 |
Modified GKChallenge.completionDate
| Declaration | |
|---|---|
| From | @property(readonly, retain, atomic) NSDate *completionDate |
| To | @property(nonatomic, readonly, retain) NSDate *completionDate |
Modified GKChallenge.issueDate
| Declaration | |
|---|---|
| From | @property(readonly, retain, atomic) NSDate *issueDate |
| To | @property(nonatomic, readonly, retain) NSDate *issueDate |
Modified GKChallenge.issuingPlayerID
| Declaration | Deprecation | |
|---|---|---|
| From | @property(readonly, copy, atomic) NSString *issuingPlayerID | -- |
| To | @property(nonatomic, readonly, copy) NSString *issuingPlayerID | OS X 10.10 |
Modified GKChallenge.message
| Declaration | |
|---|---|
| From | @property(readonly, copy, atomic) NSString *message |
| To | @property(nonatomic, readonly, copy) NSString *message |
Modified GKChallenge.receivingPlayerID
| Declaration | Deprecation | |
|---|---|---|
| From | @property(readonly, copy, atomic) NSString *receivingPlayerID | -- |
| To | @property(nonatomic, readonly, copy) NSString *receivingPlayerID | OS X 10.10 |
Modified GKChallenge.state
| Declaration | |
|---|---|
| From | @property(readonly, assign, atomic) GKChallengeState state |
| To | @property(nonatomic, readonly, assign) GKChallengeState state |
| Introduction | Deprecation | |
|---|---|---|
| From | OS X 10.9 | -- |
| To | OS X 10.8 | OS X 10.10 |
Modified GKScoreChallenge
| Introduction | |
|---|---|
| From | OS X 10.9 |
| To | OS X 10.8 |
Modified GKScoreChallenge.score
| Declaration | |
|---|---|
| From | @property(readonly, retain, atomic) GKScore *score |
| To | @property(nonatomic, readonly, retain) GKScore *score |
GKChallengeEventHandler.h
Modified GKChallengeEventHandler
| Introduction | Deprecation | |
|---|---|---|
| From | OS X 10.9 | -- |
| To | OS X 10.8 | OS X 10.10 |
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.10 |
Modified GKChallengeEventHandler.delegate
| Declaration | Deprecation | |
|---|---|---|
| From | @property(assign, atomic) id<GKChallengeEventHandlerDelegate> delegate | -- |
| To | @property(nonatomic, assign) id<GKChallengeEventHandlerDelegate> delegate | OS X 10.10 |
Modified GKChallengeEventHandlerDelegate
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.10 |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
GKChallengesViewController.h
Removed GKChallengesViewController()
GKDialogController.h
Modified -[GKDialogController dismiss:]
| Declaration | |
|---|---|
| From | - (void)dismiss:(id)sender |
| To | - (IBAction)dismiss:(id)sender |
Modified GKDialogController.parentWindow
| Declaration | |
|---|---|
| From | @property(assign, atomic) NSWindow *parentWindow |
| To | @property(assign) IBOutlet NSWindow *parentWindow |
GKError.h
Removed GKErrorOffline
GKEventListener.h (Added)
GKFriendRequestComposeViewController.h
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.10 |
| Declaration | |
|---|---|
| From | @property(assign, atomic) id<GKFriendRequestComposeViewControllerDelegate> composeViewDelegate |
| To | @property(nonatomic, assign) id<GKFriendRequestComposeViewControllerDelegate> composeViewDelegate |
GKGameCenterViewController.h
| Introduction | |
|---|---|
| From | OS X 10.8 |
| To | OS X 10.9 |
| Declaration | Deprecation | |
|---|---|---|
| From | @property(copy, atomic) NSString *leaderboardCategory | -- |
| To | @property(nonatomic, retain) NSString *leaderboardCategory | OS X 10.10 |
| Declaration | Deprecation | |
|---|---|---|
| From | @property(assign, atomic) GKLeaderboardTimeScope leaderboardTimeScope | -- |
| To | @property(nonatomic, assign) GKLeaderboardTimeScope leaderboardTimeScope | OS X 10.10 |
GKLeaderboard.h
Removed GKLeaderboard(GKAdditions)
Modified GKLeaderboard.category
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.10 |
Modified GKLeaderboard.groupIdentifier
| Declaration | |
|---|---|
| From | @property(readonly, retain, atomic) NSString *groupIdentifier |
| To | @property(nonatomic, readonly, retain) NSString *groupIdentifier |
Modified -[GKLeaderboard init]
| Declaration | |
|---|---|
| From | - (id)init |
| To | - (instancetype)init |
Modified -[GKLeaderboard initWithPlayerIDs:]
| Declaration | Deprecation | |
|---|---|---|
| From | - (id)initWithPlayerIDs:(NSArray *)playerIDs | -- |
| To | - (instancetype)initWithPlayerIDs:(NSArray *)playerIDs | OS X 10.10 |
| Introduction | |
|---|---|
| From | OS X 10.9 |
| To | OS X 10.8 |
| Introduction | |
|---|---|
| From | OS X 10.9 |
| To | OS X 10.8 |
| Declaration | Deprecation | |
|---|---|---|
| From | + (void)setDefaultLeaderboard:(NSString *)categoryID withCompletionHandler:(void (^)(NSError *error))completionHandler | -- |
| To | + (void)setDefaultLeaderboard:(NSString *)leaderboardIdentifier withCompletionHandler:(void (^)(NSError *error))completionHandler | OS X 10.10 |
GKLeaderboardSet.h (Added)
GKLeaderboardViewController.h
Modified GKLeaderboardViewController
| Superclasses | Protocols | |
|---|---|---|
| From | NSViewController | GKViewController |
| To | GKGameCenterViewController | -- |
| Declaration | |
|---|---|
| From | @property(assign) GKLeaderboardTimeScope timeScope |
| To | @property(assign, atomic) GKLeaderboardTimeScope timeScope |
Modified GKLeaderboardViewControllerDelegate
| Protocols | Deprecation | |
|---|---|---|
| From | -- | -- |
| To | NSObject | OS X 10.10 |
GKLocalPlayer.h
Removed GKLocalPlayer(GKAdditions)
Added GKLocalPlayerListener
Added GKLocalPlayer(Deprecated)
Added GKLocalPlayer(GKLocalPlayerEvents)
| Deprecation | |
|---|---|
| From | OS X 10.9 |
| To | OS X 10.8 |
Modified GKLocalPlayer.friends
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.10 |
| Introduction | Deprecation | |
|---|---|---|
| From | OS X 10.9 | -- |
| To | OS X 10.8 | OS X 10.10 |
| Declaration | Deprecation | |
|---|---|---|
| From | - (void)loadFriendsWithCompletionHandler:(void (^)(NSArray *friends, NSError *error))completionHandler | -- |
| To | - (void)loadFriendsWithCompletionHandler:(void (^)(NSArray *friendIDs, NSError *error))completionHandler | OS X 10.10 |
| Introduction | Deprecation | |
|---|---|---|
| From | OS X 10.9 | -- |
| To | OS X 10.8 | OS X 10.10 |
GKMatch.h
Removed GKMatch(GKAdditions)
Added GKMatch.players
Added GKMatch(Deprecated)
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.10 |
Modified GKMatch.delegate
| Declaration | |
|---|---|
| From | @property(assign, atomic) id<GKMatchDelegate> delegate |
| To | @property(nonatomic, assign) id<GKMatchDelegate> delegate |
Modified GKMatch.expectedPlayerCount
| Declaration | |
|---|---|
| From | @property(readonly, atomic) NSUInteger expectedPlayerCount |
| To | @property(nonatomic, readonly) NSUInteger expectedPlayerCount |
Modified GKMatch.playerIDs
| Declaration | Deprecation | |
|---|---|---|
| From | @property(readonly, atomic) NSArray *playerIDs | -- |
| To | @property(nonatomic, readonly) NSArray *playerIDs | OS X 10.10 |
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.10 |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Deprecation | Optional | |
|---|---|---|
| From | -- | -- |
| To | OS X 10.10 | yes |
| Deprecation | Optional | |
|---|---|---|
| From | -- | -- |
| To | OS X 10.8 | yes |
| Deprecation | Optional | |
|---|---|---|
| From | -- | -- |
| To | OS X 10.10 | yes |
GKMatchmaker.h
Removed GKInvite(GKAdditions)
Removed GKMatchmaker(GKAdditions)
Modified GKInvite.inviter
| Declaration | Deprecation | |
|---|---|---|
| From | @property(readonly, copy, atomic) NSString *inviter | -- |
| To | @property(readonly, retain, atomic) NSString *inviter | OS X 10.10 |
| Declaration | Introduction | |
|---|---|---|
| From | @property(nonatomic, assign) NSUInteger defaultNumberOfPlayers | OS X 10.9 |
| To | @property(assign) NSUInteger defaultNumberOfPlayers | OS X 10.8 |
Modified GKMatchRequest.inviteMessage
| Declaration | Introduction | |
|---|---|---|
| From | @property(nonatomic, copy) NSString *inviteMessage | OS X 10.9 |
| To | @property(copy) NSString *inviteMessage | OS X 10.8 |
| Declaration | Deprecation | |
|---|---|---|
| From | @property(nonatomic, copy) void (^inviteeResponseHandler)(NSString *playerID, GKInviteeResponse response) | -- |
| To | @property(copy) void (^inviteeResponseHandler)(NSString *playerID, GKInviteeResponse response) | OS X 10.10 |
Modified GKMatchRequest.maxPlayers
| Declaration | |
|---|---|
| From | @property(assign, atomic) NSUInteger maxPlayers |
| To | @property(assign) NSUInteger maxPlayers |
Modified GKMatchRequest.minPlayers
| Declaration | |
|---|---|
| From | @property(assign, atomic) NSUInteger minPlayers |
| To | @property(assign) NSUInteger minPlayers |
Modified GKMatchRequest.playerAttributes
| Declaration | |
|---|---|
| From | @property(assign, atomic) uint32_t playerAttributes |
| To | @property(assign) uint32_t playerAttributes |
Modified GKMatchRequest.playerGroup
| Declaration | |
|---|---|
| From | @property(assign, atomic) NSUInteger playerGroup |
| To | @property(assign) NSUInteger playerGroup |
Modified GKMatchRequest.playersToInvite
| Declaration | Deprecation | |
|---|---|---|
| From | @property(retain, atomic) NSArray *playersToInvite | -- |
| To | @property(retain) NSArray *playersToInvite | OS X 10.10 |
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.10 |
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.10 |
Modified GKMatchmaker.inviteHandler
| Declaration | Deprecation | |
|---|---|---|
| From | @property(copy, atomic) void (^inviteHandler)(GKInvite *acceptedInvite, NSArray *playersToInvite) | -- |
| To | @property(nonatomic, copy) void (^inviteHandler)(GKInvite *acceptedInvite, NSArray *playerIDsToInvite) | OS X 10.10 |
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.10 |
GKMatchmakerViewController.h
Removed GKMatchmakerViewController()
| Declaration | Deprecation | |
|---|---|---|
| From | @property(copy, atomic) NSString *defaultInvitationMessage | -- |
| To | @property(nonatomic, copy) NSString *defaultInvitationMessage | OS X 10.10 |
Modified GKMatchmakerViewController.hosted
| Declaration | |
|---|---|
| From | @property(assign, getter=isHosted, atomic) BOOL hosted |
| To | @property(nonatomic, assign, getter=isHosted) BOOL hosted |
| Declaration | |
|---|---|
| From | @property(readonly, retain, atomic) GKMatchRequest *matchRequest |
| To | @property(nonatomic, readonly, retain) GKMatchRequest *matchRequest |
| Declaration | |
|---|---|
| From | @property(assign, atomic) id<GKMatchmakerViewControllerDelegate> matchmakerDelegate |
| To | @property(nonatomic, assign) id<GKMatchmakerViewControllerDelegate> matchmakerDelegate |
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.10 |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Deprecation | Optional | |
|---|---|---|
| From | -- | -- |
| To | OS X 10.10 | yes |
Modified -[GKMatchmakerViewControllerDelegate matchmakerViewController:didReceiveAcceptFromHostedPlayer:]
| Deprecation | Optional | |
|---|---|---|
| From | -- | -- |
| To | OS X 10.10 | yes |
GKNotificationBanner.h
| Introduction | |
|---|---|
| From | OS X 10.9 |
| To | OS X 10.8 |
GKPlayer.h
Added GKPlayer(Deprecated)
Added GKPlayer(UI)
Modified GKPlayer.displayName
| Introduction | |
|---|---|
| From | OS X 10.9 |
| To | OS X 10.8 |
Modified GKPlayer.isFriend
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.10 |
GKPublicConstants.h (Added)
Added GKPeerConnectionState
Added GKPeerStateAvailable
Added GKPeerStateConnected
Added GKPeerStateConnecting
Added GKPeerStateDisconnected
Added GKPeerStateUnavailable
Added GKSendDataMode
Added GKSendDataReliable
Added GKSendDataUnreliable
Added GKSessionMode
Added GKSessionModeClient
Added GKSessionModePeer
Added GKSessionModeServer
GKPublicProtocols.h (Added)
Added GKSessionDelegate
Added GKVoiceChatClient
GKSavedGame.h (Added)
Added GKSavedGame
Added GKSavedGame.deviceName
Added GKSavedGame.name
Added GKLocalPlayer(GKSavedGame)
GKSavedGameListener.h (Added)
GKScore.h
Added GKScore.player
Added GKScore(Deprecated)
Modified GKScore
| Protocols | |
|---|---|
| From | NSCoding |
| To | NSCoding, NSSecureCoding |
Modified GKScore.category
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.10 |
Modified GKScore.context
| Declaration | |
|---|---|
| From | @property(nonatomic, assign) uint64_t context |
| To | @property(assign, atomic) uint64_t context |
Modified -[GKScore initWithCategory:]
| Declaration | Deprecation | |
|---|---|---|
| From | - (id)initWithCategory:(NSString *)category | -- |
| To | - (instancetype)initWithCategory:(NSString *)category | OS X 10.10 |
Modified GKScore.playerID
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.10 |
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.10 |
| Introduction | |
|---|---|
| From | OS X 10.9 |
| To | OS X 10.8 |
GKSession.h (Added)
Added GKSession
Added GKSession.available
Added GKSession.delegate
Added GKSession.displayName
Added GKSession.peerID
Added GKSession.sessionID
Added GKSession.sessionMode
GKSessionError.h (Added)
Added GKSessionCancelledError
Added GKSessionDataTooBigError
Added GKSessionDeclinedError
Added GKSessionErrorDomain
Added GKSessionInProgressError
Added GKSessionInternalError
Added GKSessionSystemError
Added GKSessionTimedOutError
Added GKSessionTransportError
Added GKSessionUnknownError
GKTurnBasedMatch.h
Added GKTurnBasedEventListener
Added GKTurnBasedExchange
Added GKTurnBasedExchange.data
Added GKTurnBasedExchangeReply
Added -[GKTurnBasedMatch sendReminderToParticipants:localizableMessageKey:arguments:completionHandler:]
Added GKExchangeTimeoutDefault
Added GKExchangeTimeoutNone
Modified GKTurnBasedEventHandler
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.10 |
Modified GKTurnBasedEventHandler.delegate
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.10 |
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.10 |
Modified GKTurnBasedEventHandlerDelegate
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.10 |
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.10 |
| Deprecation | Optional | |
|---|---|---|
| From | -- | -- |
| To | OS X 10.10 | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.10 |
Modified GKTurnBasedMatch.creationDate
| Declaration | |
|---|---|
| From | @property(readonly, copy, atomic) NSDate *creationDate |
| To | @property(readonly, retain, atomic) NSDate *creationDate |
| Introduction | |
|---|---|
| From | OS X 10.9 |
| To | OS X 10.8 |
Modified GKTurnBasedMatch.matchID
| Declaration | |
|---|---|
| From | @property(readonly, copy, atomic) NSString *matchID |
| To | @property(readonly, retain, atomic) NSString *matchID |
| Introduction | |
|---|---|
| From | OS X 10.9 |
| To | OS X 10.8 |
Modified GKTurnBasedParticipant.playerID
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.10 |
Modified GKTurnBasedParticipant.timeoutDate
| Introduction | |
|---|---|
| From | OS X 10.9 |
| To | OS X 10.8 |
GKTurnBasedMatchmakerViewController.h
| Declaration | |
|---|---|
| From | @property(readwrite, assign, atomic) BOOL showExistingMatches |
| To | @property(nonatomic, readwrite, assign) BOOL showExistingMatches |
| Declaration | |
|---|---|
| From | @property(readwrite, assign, atomic) id<GKTurnBasedMatchmakerViewControllerDelegate> turnBasedMatchmakerDelegate |
| To | @property(nonatomic, readwrite, assign) id<GKTurnBasedMatchmakerViewControllerDelegate> turnBasedMatchmakerDelegate |
| Protocols | |
|---|---|
| From | -- |
| To | NSObject |
GKVoiceChat.h
Removed GKVoiceChat(GKAdditions)
Added GKVoiceChat.players
Added GKVoiceChat(Deprecated)
Modified GKVoiceChat.playerIDs
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.10 |
Modified GKVoiceChat.playerStateUpdateHandler
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.10 |
Modified -[GKVoiceChat setMute:forPlayer:]
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.10 |
GKVoiceChatService.h (Added)