Contents

FocusedBinding

A convenience property wrapper for observing and automatically unwrapping state bindings from the focused view or one of its ancestors.

Declaration

@propertyWrapper struct FocusedBinding<Value>

Overview

If multiple views publish bindings using the same key, the wrapped property will reflect the value of the binding from the view closest to focus.

Topics

Creating the binding

Getting the value

See Also

Managing focus state