Initializer

init(wrappedValue:_:)

Creates a property that can save and restore a double.

Declaration 宣言

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

Parameters パラメータ

wrappedValue

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

key

a key used to save and restore the value.

See Also 参照

Storing a Value