API Differences in GameKit in macOS 26.0

It's more difficult than it used to be to find what changed in Apple SDKs. This page is automatically generated and shows what is new in GameKit in the macOS 26.0 SDK.

Table of Contents

Functions & Methods

GKAccessPoint
@objc(triggerAccessPointWithGameActivityDefinitionID:handler:) dynamic public func trigger(gameActivityDefinitionID: Swift.String, handler: (@Sendable () -> Swift.Void)? = nil)
GKAccessPoint
@objc(triggerAccessPointWithGameActivity:handler:) dynamic public func trigger(gameActivity: GameKit.GKGameActivity, handler: (@Sendable () -> Swift.Void)? = nil)
GKAccessPoint
- (void)triggerAccessPointForPlayTogetherWithHandler:(void (^ _Nullable)(void))handler;
GKAccessPoint
- (void)triggerAccessPointForChallengesWithHandler:(void (^ _Nullable)(void))handler;
GKAccessPoint
- (void)triggerAccessPointWithChallengeDefinitionID:(nonnull NSString *)challengeDefinitionID handler:(void (^ _Nullable)(void))handler;
GKAccessPoint
- (void)triggerAccessPointWithGameActivityDefinitionID:(nonnull NSString *)gameActivityDefinitionID handler:(void (^ _Nullable)(void))handler;
GKAccessPoint
- (void)triggerAccessPointWithGameActivity:(nonnull GKGameActivity *)gameActivity handler:(void (^ _Nullable)(void))handler;
GKAccessPoint
- (void)triggerAccessPointForFriendingWithHandler:(void (^ _Nullable)(void))handler;
GKAccessPoint
- (void)triggerAccessPointForArcadeWithHandler:(void (^ _Nullable)(void))handler;

Properties & Constants

GKGameActivityDefinition
final public var playerRange: (any Swift.RangeExpression)?
GKLeaderboard
@property(nonatomic, copy, readonly) NSString * _Nonnull leaderboardDescription;
GKLeaderboard
@property(nonatomic, assign, unsafe_unretained, readonly) GKReleaseState releaseState;
GKLeaderboard
@property(nonatomic, copy, readonly) NSString * _Nonnull activityIdentifier;
GKLeaderboard
@property(nonatomic, strong, readonly) NSDictionary<NSString *,NSString *> * _Nonnull activityProperties;
GKLeaderboard
@property(nonatomic, readonly) BOOL isHidden;
GKAchievementDescription
@property(nonatomic, copy, readonly) NSString * _Nonnull activityIdentifier;
GKAchievementDescription
@property(nonatomic, strong, readonly) NSDictionary<NSString *,NSString *> * _Nonnull activityProperties;

Conformances

GKAccessPoint
@unchecked Swift.Sendable
GKAchievement
@unchecked Swift.Sendable
GKLeaderboardScore
@unchecked Swift.Sendable

Protocols

GKGameActivityListener

Classes

GKChallengeDefinition
GKGameActivity
GKGameActivityDefinition

Extensions

State
Multiplayer
State
State