跳转至
Protocol

EnvironmentalModifier

A modifier that must resolve to a concrete modifier in an environment before use.

Declaration

protocol EnvironmentalModifier : ViewModifier where Self.Body == Never

Availability

iOS 13.0+

macOS 10.15+

tvOS 13.0+

watchOS 6.0+

Topics


Instance Method

resolve(in:) Resolve to a concrete modifier in the given Environment.


Associated Type

ResolvedModifier The type of modifier to use after being resolved.