跳转至
Protocol

FocusedValueKey

A protocol for identifier types used when publishing and observing focused values.

Declaration

protocol FocusedValueKey

Overview

Unlike EnvironmentKey, FocusedValuesHostKey has no default value requirement, because the default value for a key is always nil.

Availability

iOS 14.0+

macOS 11.0+

tvOS 14.0+

watchOS 7.0+

Topics


Associated Type

Value The type of the value that the key-value pair is using.