Initializer

init(initialValue:)

Creates the state with an initial value.

Declaration

init(initialValue value: Value)

Parameters

value

An initial value of the state.

See Also

Creating a State

init()

Creates a state without an initial value.

init(wrappedValue: Value)

Creates the state with an initial wrapped value.