GameKit · IOS API REFERENCE
GKLeaderboardSet
class · iOS 7.0+ · SDK 27.1
class GKLeaderboardSet
Members (9)
static · iOS 7.0+loadLeaderboardSets
TypeScriptstatic loadLeaderboardSets(completionHandler?: (((arg0: (Array<GKLeaderboardSet>) | null, arg1: (NativeError) | null) => void)) | null): void
Swift declarationclass func loadLeaderboardSets() async throws -> [GKLeaderboardSet]
initinit
TypeScriptstatic init(): GKLeaderboardSet
Swift declarationinit()
method · iOS 7.0+loadImage
TypeScriptloadImage(completionHandler?: (((arg0: (_UIKit_UIImage) | null, arg1: (NativeError) | null) => void)) | null): void
Swift declarationfunc loadImage() async throws -> UIImage
method · iOS 7.0+ · Deprecated in iOS 14.0loadLeaderboards
TypeScriptloadLeaderboardsCompletionHandler(completionHandler?: (((arg0: (Array<GKLeaderboard>) | null, arg1: (NativeError) | null) => void)) | null): void
Swift declarationfunc loadLeaderboards() async throws -> [GKLeaderboard]
method · iOS 14.0+loadLeaderboards
TypeScriptloadLeaderboardsHandler(handler: ((arg0: (Array<GKLeaderboard>) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc loadLeaderboards(handler: @escaping ([GKLeaderboard]?, (any Error)?) -> Void)
get · iOS 7.0+groupIdentifier
TypeScriptget groupIdentifier(): (string) | null
Swift declarationvar groupIdentifier: String? { get }
get · iOS 7.0+identifier
TypeScriptget identifier(): (string) | null
Swift declarationvar identifier: String? { get set }
set · iOS 7.0+identifier
TypeScriptset identifier(value: (string) | null)
Swift declarationvar identifier: String? { get set }
get · iOS 7.0+title
TypeScriptget title(): string
Swift declarationvar title: String { get }
Skipped declarations
No declarations were skipped in this snapshot.
All GameKit types →