Documentation Archive Developer
Search

GameKit Changes

GameKit

GKAchievement.h
Added GKAchievement(Deprecated)
Declaration
From
- (id)initWithIdentifier:(NSString *)identifier
To
- (instancetype)initWithIdentifier:(NSString *)identifier

DeclarationDeprecation
From
- (id)initWithIdentifier:(NSString *)identifier forPlayer:(NSString *)playerID
--
To
- (instancetype)initWithIdentifier:(NSString *)identifier forPlayer:(NSString *)playerID
iOS 8.0

Deprecation
From--
ToiOS 8.0

GKAchievementViewController.h
Added GKAchievementViewController()
Declaration
From
@property(nonatomic, assign) id<GKAchievementViewControllerDelegate> achievementDelegate
To
@property(assign, nonatomic) id<GKAchievementViewControllerDelegate> achievementDelegate

GKFriendRequestComposeViewController.h
Added GKFriendRequestComposeViewController()
GKGameCenterViewController.h
Added GKGameCenterViewController()
Declaration
From
@property(nonatomic, assign) id<GKGameCenterControllerDelegate> gameCenterDelegate
To
@property(assign, nonatomic) id<GKGameCenterControllerDelegate> gameCenterDelegate

Declaration
From
@property(nonatomic, assign) GKGameCenterViewControllerState viewState
To
@property(assign, nonatomic) GKGameCenterViewControllerState viewState

GKLeaderboard.h
Added GKLeaderboard(Deprecated)
Declaration
From
- (id)init
To
- (instancetype)init

DeclarationDeprecation
From
- (id)initWithPlayerIDs:(NSArray *)playerIDs
--
To
- (instancetype)initWithPlayerIDs:(NSArray *)playerIDs
iOS 8.0

GKLeaderboardViewController.h
Added GKLeaderboardViewController()
Declaration
From
@property(nonatomic, retain) NSString *category
To
@property(copy, nonatomic) NSString *category

Declaration
From
@property(nonatomic, assign) id<GKLeaderboardViewControllerDelegate> leaderboardDelegate
To
@property(assign, nonatomic) id<GKLeaderboardViewControllerDelegate> leaderboardDelegate

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

GKLocalPlayer.h
Added GKLocalPlayer(Deprecated)
DeprecationIntroduction
From--iOS 4.0
ToiOS 8.0iOS 4.1

DeprecationIntroduction
From--iOS 4.0
ToiOS 8.0iOS 4.1

Declaration
From
- (void)setDefaultLeaderboardCategoryID:(NSString *)catogoryID completionHandler:(void (^)(NSError *error))completionHandler
To
- (void)setDefaultLeaderboardCategoryID:(NSString *)categoryID completionHandler:(void (^)(NSError *error))completionHandler

Protocols
FromGKChallengeListener, GKInviteEventListener, GKTurnBasedEventListener
ToGKChallengeListener, GKInviteEventListener, GKSavedGameListener, GKTurnBasedEventListener

GKMatch.h
Deprecation
From--
ToiOS 8.0

Deprecation
From--
ToiOS 8.0

DeprecationIntroduction
From--iOS 4.0
ToiOS 8.0iOS 4.1

Optional
From--
Toyes

DeprecationOptional
From----
ToiOS 8.0yes

DeprecationOptional
From----
ToiOS 8.0yes

DeprecationOptional
From----
ToiOS 8.0yes

GKMatchmaker.h
DeprecationIntroduction
From--iOS 4.0
ToiOS 8.0iOS 4.1

Optional
From--
Toyes

DeprecationOptional
From----
ToiOS 8.0yes

Declaration
From
@property(nonatomic, assign) NSUInteger defaultNumberOfPlayers
To
@property(assign) NSUInteger defaultNumberOfPlayers

Declaration
From
@property(nonatomic, copy) NSString *inviteMessage
To
@property(copy) NSString *inviteMessage

DeclarationDeprecation
From
@property(nonatomic, copy) void (^inviteeResponseHandler)(NSString *playerID, GKInviteeResponse response)
--
To
@property(copy) void (^inviteeResponseHandler)(NSString *playerID, GKInviteeResponse response)
iOS 8.0

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

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

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

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

DeclarationDeprecation
From
@property(nonatomic, retain) NSArray *playersToInvite
--
To
@property(retain) NSArray *playersToInvite
iOS 8.0

Deprecation
From--
ToiOS 8.0

DeprecationIntroduction
From--iOS 4.0
ToiOS 8.0iOS 4.1

Deprecation
From--
ToiOS 8.0

GKPlayer.h
Added GKPlayer(Deprecated)
DeprecationIntroduction
From--iOS 4.0
ToiOS 8.0iOS 4.1

GKScore.h
Declaration
From
@property(nonatomic, assign) uint64_t context
To
@property(assign, nonatomic) uint64_t context

Declaration
From
- (id)initWithCategory:(NSString *)category
To
- (instancetype)initWithCategory:(NSString *)category

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

DeclarationDeprecation
From
- (id)initWithLeaderboardIdentifier:(NSString *)identifier forPlayer:(NSString *)playerID
--
To
- (instancetype)initWithLeaderboardIdentifier:(NSString *)identifier forPlayer:(NSString *)playerID
iOS 8.0

Deprecation
From--
ToiOS 8.0

GKSession.h
Deprecation
From--
ToiOS 7.0

Deprecation
From--
ToiOS 7.0

Deprecation
From--
ToiOS 7.0

Deprecation
From--
ToiOS 7.0

Deprecation
From--
ToiOS 7.0

GKTurnBasedMatch.h
Deprecation
From--
ToiOS 7.0

IntroductionOptional
FromiOS 5.0--
ToiOS 6.0yes

Optional
From--
Toyes

DeprecationOptional
From----
ToiOS 8.0yes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Declaration
From
@property(readonly, nonatomic) GKTurnBasedExchangeStatus status
To
@property(assign, readonly, nonatomic) GKTurnBasedExchangeStatus status

Deprecation
From--
ToiOS 8.0

GKTurnBasedMatchmakerViewController.h
Added GKTurnBasedMatchmakerViewController()
GKVoiceChat.h
Deprecation
From--
ToiOS 8.0

DeprecationIntroduction
From--iOS 4.0
ToiOS 8.0iOS 4.1

DeprecationIntroduction
From--iOS 4.0
ToiOS 8.0iOS 5.0