Contents

init(reset:)

Creates a view state that’s derived from a gesture with a closure that provides a transaction to reset it.

Declaration

init(reset: @escaping (Value, inout Transaction) -> Void)

Parameters

See Also

Creating a gesture state