Initializer

init(_:)

A new property wrapper for the given key path. 与えられたキーパスに対する新しいプロパティラッパー。

Declaration 宣言

init(_ keyPath: KeyPath<FocusedValues, Value?>)

Parameters パラメータ

keyPath

The key path for the focus value to read.

Discussion 議論

The value of the property wrapper is updated dynamically as focus changes and different published values go in and out of scope.