Initializer

init(wrappedValue:_:)

Creates a property that can save and restore a string.

Declaration 宣言

init(wrappedValue: Value, _ key: String) where Value == String

Parameters パラメータ

wrappedValue

The default value if a string is not available for the given key.

key

a key used to save and restore the value.

See Also 参照

Storing a Value