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
Creates a property that can save and restore an Optional boolean.
init(_ key: String) where Value == Bool?A key used to save and restore the value.
Defaults to nil if there is no restored value