Instance Property

snapshotData

Flattens a snapshot into an archivable memory representation.

Declaration

var snapshotData: Data { get set }

Discussion

You can assign another NSData object containing extended snapshot data to this property. The elements of the extended snapshot are updated to the values stored in the flattened data. This triggers any value handlers attached to those elements.

See Also

Converting Between Extended Snapshots and Data Objects

init(snapshotData: Data)

Initializes a snapshot object with the flattened data representation obtained from another snapshot.

Deprecated
init(controller: GCController, snapshotData: Data)

Initializes a snapshot object associated with a specific controller using a flattened data representation obtained from another snapshot.

Deprecated