IntrospectionScope
public struct IntrospectionScope : OptionSet, Sendable
The scope of introspection i.e. where introspect should look to find
the desired target view relative to the applied .introspect(...)
modifier.
-
Look within the
receiverof the.introspect(...)modifier.Declaration
Swift
public static let receiver: IntrospectionScope -
Look for an
ancestorrelative to the.introspect(...)modifier.Declaration
Swift
public static let ancestor: IntrospectionScope -
Declaration
Swift
@_spi(FW) public let rawValue: UInt -
Declaration
Swift
@_spi(FW) public init(rawValue: UInt)
View on GitHub