Documentation Archive Developer
Search

GameKit Changes

GameKit

GKAchievement.h
Added GKAchievement(Deprecated)
Modified GKAchievement
Protocols
FromNSCoding
ToNSCoding, NSSecureCoding

Deprecation
FromOS X 10.9
ToOS X 10.10

Declaration
From
- (id)initWithIdentifier:(NSString *)identifier
To
- (instancetype)initWithIdentifier:(NSString *)identifier

Deprecation
From--
ToOS X 10.10

Introduction
FromOS X 10.9
ToOS X 10.8

GKAchievementDescription.h
Added GKAchievementDescription(UI)
Protocols
FromNSCoding
ToNSCoding, NSSecureCoding

DeclarationIntroduction
From
@property(retain, readonly, atomic) NSString *groupIdentifier
OS X 10.9
To
@property(nonatomic, retain, readonly) NSString *groupIdentifier
OS X 10.8

DeclarationIntroduction
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
SuperclassesProtocols
FromNSViewControllerGKViewController
ToGKGameCenterViewController--

ProtocolsDeprecation
From----
ToNSObjectOS X 10.10

GKChallenge.h
IntroductionDeprecation
FromOS X 10.9--
ToOS X 10.8OS X 10.10

IntroductionDeprecation
FromOS X 10.9--
ToOS X 10.8OS X 10.10

Introduction
FromOS X 10.9
ToOS X 10.8

Declaration
From
@property(readonly, retain, atomic) GKAchievement *achievement
To
@property(nonatomic, readonly, retain) GKAchievement *achievement

Modified GKChallenge
ProtocolsIntroduction
FromNSCodingOS X 10.9
ToNSCoding, NSSecureCodingOS X 10.8

Declaration
From
@property(readonly, retain, atomic) NSDate *completionDate
To
@property(nonatomic, readonly, retain) NSDate *completionDate

Declaration
From
@property(readonly, retain, atomic) NSDate *issueDate
To
@property(nonatomic, readonly, retain) NSDate *issueDate

DeclarationDeprecation
From
@property(readonly, copy, atomic) NSString *issuingPlayerID
--
To
@property(nonatomic, readonly, copy) NSString *issuingPlayerID
OS X 10.10

Declaration
From
@property(readonly, copy, atomic) NSString *message
To
@property(nonatomic, readonly, copy) NSString *message

DeclarationDeprecation
From
@property(readonly, copy, atomic) NSString *receivingPlayerID
--
To
@property(nonatomic, readonly, copy) NSString *receivingPlayerID
OS X 10.10

Declaration
From
@property(readonly, assign, atomic) GKChallengeState state
To
@property(nonatomic, readonly, assign) GKChallengeState state

IntroductionDeprecation
FromOS X 10.9--
ToOS X 10.8OS X 10.10

Introduction
FromOS X 10.9
ToOS X 10.8

Declaration
From
@property(readonly, retain, atomic) GKScore *score
To
@property(nonatomic, readonly, retain) GKScore *score

GKChallengeEventHandler.h
IntroductionDeprecation
FromOS X 10.9--
ToOS X 10.8OS X 10.10

Deprecation
From--
ToOS X 10.10

DeclarationDeprecation
From
@property(assign, atomic) id<GKChallengeEventHandlerDelegate> delegate
--
To
@property(nonatomic, assign) id<GKChallengeEventHandlerDelegate> delegate
OS X 10.10

Deprecation
From--
ToOS X 10.10

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

GKChallengesViewController.h
Removed GKChallengesViewController()
Deprecation
From--
ToOS X 10.10

GKDialogController.h
Declaration
From
- (void)dismiss:(id)sender
To
- (IBAction)dismiss:(id)sender

Declaration
From
@property(assign, atomic) NSWindow *parentWindow
To
@property(assign) IBOutlet NSWindow *parentWindow

GKFriendRequestComposeViewController.h
Deprecation
From--
ToOS X 10.10

Declaration
From
@property(assign, atomic) id<GKFriendRequestComposeViewControllerDelegate> composeViewDelegate
To
@property(nonatomic, assign) id<GKFriendRequestComposeViewControllerDelegate> composeViewDelegate

GKGameCenterViewController.h
Introduction
FromOS X 10.8
ToOS X 10.9

DeclarationDeprecation
From
@property(copy, atomic) NSString *leaderboardCategory
--
To
@property(nonatomic, retain) NSString *leaderboardCategory
OS X 10.10

DeclarationDeprecation
From
@property(assign, atomic) GKLeaderboardTimeScope leaderboardTimeScope
--
To
@property(nonatomic, assign) GKLeaderboardTimeScope leaderboardTimeScope
OS X 10.10

GKLeaderboard.h
Removed GKLeaderboard(GKAdditions)
Added GKLeaderboard(Deprecated)
Added GKLeaderboard(UI)
Deprecation
From--
ToOS X 10.10

Declaration
From
@property(readonly, retain, atomic) NSString *groupIdentifier
To
@property(nonatomic, readonly, retain) NSString *groupIdentifier

Declaration
From
- (id)init
To
- (instancetype)init

DeclarationDeprecation
From
- (id)initWithPlayerIDs:(NSArray *)playerIDs
--
To
- (instancetype)initWithPlayerIDs:(NSArray *)playerIDs
OS X 10.10

Introduction
FromOS X 10.9
ToOS X 10.8

Introduction
FromOS X 10.9
ToOS X 10.8

DeclarationDeprecation
From
+ (void)setDefaultLeaderboard:(NSString *)categoryID withCompletionHandler:(void (^)(NSError *error))completionHandler
--
To
+ (void)setDefaultLeaderboard:(NSString *)leaderboardIdentifier withCompletionHandler:(void (^)(NSError *error))completionHandler
OS X 10.10

GKLeaderboardViewController.h
SuperclassesProtocols
FromNSViewControllerGKViewController
ToGKGameCenterViewController--

Declaration
From
@property(assign) GKLeaderboardTimeScope timeScope
To
@property(assign, atomic) GKLeaderboardTimeScope timeScope

ProtocolsDeprecation
From----
ToNSObjectOS X 10.10

GKLocalPlayer.h
Removed GKLocalPlayer(GKAdditions)
Deprecation
FromOS X 10.9
ToOS X 10.8

Deprecation
From--
ToOS X 10.10

IntroductionDeprecation
FromOS X 10.9--
ToOS X 10.8OS X 10.10

DeclarationDeprecation
From
- (void)loadFriendsWithCompletionHandler:(void (^)(NSArray *friends, NSError *error))completionHandler
--
To
- (void)loadFriendsWithCompletionHandler:(void (^)(NSArray *friendIDs, NSError *error))completionHandler
OS X 10.10

IntroductionDeprecation
FromOS X 10.9--
ToOS X 10.8OS X 10.10

GKMatch.h
Removed GKMatch(GKAdditions)
Deprecation
From--
ToOS X 10.10

Declaration
From
@property(assign, atomic) id<GKMatchDelegate> delegate
To
@property(nonatomic, assign) id<GKMatchDelegate> delegate

Declaration
From
@property(readonly, atomic) NSUInteger expectedPlayerCount
To
@property(nonatomic, readonly) NSUInteger expectedPlayerCount

DeclarationDeprecation
From
@property(readonly, atomic) NSArray *playerIDs
--
To
@property(nonatomic, readonly) NSArray *playerIDs
OS X 10.10

Deprecation
From--
ToOS X 10.10

Optional
From--
Toyes

DeprecationOptional
From----
ToOS X 10.10yes

DeprecationOptional
From----
ToOS X 10.8yes

DeprecationOptional
From----
ToOS X 10.10yes

GKMatchmaker.h
Removed GKInvite(GKAdditions)
Removed GKMatchmaker(GKAdditions)
DeclarationDeprecation
From
@property(readonly, copy, atomic) NSString *inviter
--
To
@property(readonly, retain, atomic) NSString *inviter
OS X 10.10

DeclarationIntroduction
From
@property(nonatomic, assign) NSUInteger defaultNumberOfPlayers
OS X 10.9
To
@property(assign) NSUInteger defaultNumberOfPlayers
OS X 10.8

DeclarationIntroduction
From
@property(nonatomic, copy) NSString *inviteMessage
OS X 10.9
To
@property(copy) NSString *inviteMessage
OS X 10.8

DeclarationDeprecation
From
@property(nonatomic, copy) void (^inviteeResponseHandler)(NSString *playerID, GKInviteeResponse response)
--
To
@property(copy) void (^inviteeResponseHandler)(NSString *playerID, GKInviteeResponse response)
OS X 10.10

Declaration
From
@property(assign, atomic) NSUInteger maxPlayers
To
@property(assign) NSUInteger maxPlayers

Declaration
From
@property(assign, atomic) NSUInteger minPlayers
To
@property(assign) NSUInteger minPlayers

Declaration
From
@property(assign, atomic) uint32_t playerAttributes
To
@property(assign) uint32_t playerAttributes

Declaration
From
@property(assign, atomic) NSUInteger playerGroup
To
@property(assign) NSUInteger playerGroup

DeclarationDeprecation
From
@property(retain, atomic) NSArray *playersToInvite
--
To
@property(retain) NSArray *playersToInvite
OS X 10.10

Deprecation
From--
ToOS X 10.10

Deprecation
From--
ToOS X 10.10

DeclarationDeprecation
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--
ToOS X 10.10

GKMatchmakerViewController.h
Removed GKMatchmakerViewController()
DeclarationDeprecation
From
@property(copy, atomic) NSString *defaultInvitationMessage
--
To
@property(nonatomic, copy) NSString *defaultInvitationMessage
OS X 10.10

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--
ToOS X 10.10

Optional
From--
Toyes

DeprecationOptional
From----
ToOS X 10.10yes

DeprecationOptional
From----
ToOS X 10.10yes

GKNotificationBanner.h
GKPlayer.h
Added GKPlayer(Deprecated)
Added GKPlayer(UI)
Introduction
FromOS X 10.9
ToOS X 10.8

Deprecation
From--
ToOS X 10.10

GKScore.h
Modified GKScore
Protocols
FromNSCoding
ToNSCoding, NSSecureCoding

Deprecation
From--
ToOS X 10.10

Declaration
From
@property(nonatomic, assign) uint64_t context
To
@property(assign, atomic) uint64_t context

DeclarationDeprecation
From
- (id)initWithCategory:(NSString *)category
--
To
- (instancetype)initWithCategory:(NSString *)category
OS X 10.10

Deprecation
From--
ToOS X 10.10

Deprecation
From--
ToOS X 10.10

Introduction
FromOS X 10.9
ToOS X 10.8

GKTurnBasedMatch.h
Deprecation
From--
ToOS X 10.10

Deprecation
From--
ToOS X 10.10

Deprecation
From--
ToOS X 10.10

Deprecation
From--
ToOS X 10.10

Deprecation
From--
ToOS X 10.10

DeprecationOptional
From----
ToOS X 10.10yes

Optional
From--
Toyes

Deprecation
From--
ToOS X 10.10

Declaration
From
@property(readonly, copy, atomic) NSDate *creationDate
To
@property(readonly, retain, atomic) NSDate *creationDate

Introduction
FromOS X 10.9
ToOS X 10.8

Declaration
From
@property(readonly, copy, atomic) NSString *matchID
To
@property(readonly, retain, atomic) NSString *matchID

Introduction
FromOS X 10.9
ToOS X 10.8

Deprecation
From--
ToOS X 10.10

Introduction
FromOS X 10.9
ToOS 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--
ToNSObject

GKVoiceChat.h
Removed GKVoiceChat(GKAdditions)
Deprecation
From--
ToOS X 10.10

Deprecation
From--
ToOS X 10.10

Deprecation
From--
ToOS X 10.10

GKVoiceChatService.h (Added)