Class

GKSavedGame

The saved game data.

Overview

Each GKSavedGame object contains the following information about a saved game: the name of the device that created the saved game file, the date the saved game file was modified, and the name of the saved game file. Saved game files are manipulated through the local player using one or more of the following methods:

After retrieving saved game information, use the loadData(completionHandler:) method to load the data into your app.

Topics

Loading Saved Game Data

Retrieving Information About a Saved Game File

var deviceName: String?

The name of the device that created the saved game data.

var modificationDate: Date?

The date when the saved game file was modified.

var name: String?

The name of the saved game.

Relationships

Inherits From

See Also

Save Game Data

protocol GKSavedGameListener

The protocol you implement to provide custom actions when a saved game file is modified or a conflict is found.