Instance Method

enableSnapshotRestoration()

Enable snapshot restoration.

Declaration

func enableSnapshotRestoration()

Discussion

While snapshot restoration is enabled, the window will be snapshotted for restorable state.

See Also

Handling Window Restoration

var isRestorable: Bool

A Boolean value indicating whether the window configuration is preserved between application launches.

var restorationClass: NSWindowRestoration.Type?

The restoration class associated with the window.

func disableSnapshotRestoration()

Disable snapshot restoration.