init(controller:snapshotData:)
Declaration
init(controller: GCController, snapshotData data: Data)Parameters
- controller:
The controller to associate the snapshot with.
- data:
A data object that contains snapshot data.
Return Value
A new snapshot object.
Discussion
The data format for a snapshot is private. Your snapshot object should only be created from flattened data previously obtained from a snapshot.