IntrospectionScope

public struct IntrospectionScope : OptionSet

The scope of introspection i.e. where introspect should look to find the desired target view relative to the applied .introspect(...) modifier.

SwiftUI-Introspect

  • Look within the receiver of the .introspect(...) modifier.

    Declaration

    Swift

    public static let receiver: IntrospectionScope
  • Look for an ancestor relative 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)