Contents

init(_:)

Creates a property that can save and restore an Optional boolean.

Declaration

init(_ key: String) where Value == Bool?

Parameters

  • key:

    A key used to save and restore the value.

Discussion

Defaults to nil if there is no restored value

See Also

Storing a value