IntrospectableViewType

@MainActor
public protocol IntrospectableViewType

Undocumented

  • scope Default implementation

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

    While the scope can be overridden by the user in their .introspect(...) call, most of the time it’s preferable to defer to the view type’s own scope, as it guarantees introspection is working as intended by the vendor.

    Defaults to .receiver if left unimplemented, which is a sensible one in most cases if you’re looking to implement your own view type.

    Default Implementation

    Declaration

    Swift

    @MainActor
    var scope: IntrospectionScope { get }

Available where Self == ViewType

  • view Extension method

    Undocumented

    Declaration

    Swift

    @MainActor
    public static var view: Self { get }

Available where Self == ColorPickerType

  • colorPicker Extension method

    Undocumented

    Declaration

    Swift

    @MainActor
    public static var colorPicker: Self { get }

Available where Self == DatePickerType

  • datePicker Extension method

    Undocumented

    Declaration

    Swift

    @MainActor
    public static var datePicker: Self { get }

Available where Self == DatePickerWithCompactStyleType

  • datePicker(style:) Extension method

    Undocumented

    Declaration

    Swift

    @MainActor
    public static func datePicker(style: Self.Style) -> Self

Available where Self == DatePickerWithGraphicalStyleType

  • datePicker(style:) Extension method

    Undocumented

    Declaration

    Swift

    @MainActor
    public static func datePicker(style: Self.Style) -> Self

Available where Self == DatePickerWithWheelStyleType

  • datePicker(style:) Extension method

    Undocumented

    Declaration

    Swift

    @MainActor
    public static func datePicker(style: Self.Style) -> Self

Available where Self == FormType

  • form Extension method

    Undocumented

    Declaration

    Swift

    @MainActor
    public static var form: Self { get }

Available where Self == FormWithGroupedStyleType

  • form(style:) Extension method

    Undocumented

    Declaration

    Swift

    @MainActor
    public static func form(style: Self.Style) -> Self

Available where Self == FullScreenCoverType

  • fullScreenCover Extension method

    Undocumented

    Declaration

    Swift

    @MainActor
    public static var fullScreenCover: Self { get }

Available where Self == ListType

  • list Extension method

    Undocumented

    Declaration

    Swift

    @MainActor
    public static var list: Self { get }
  • list(style:) Extension method

    Undocumented

    Declaration

    Swift

    @MainActor
    public static func list(style: Self.Style) -> Self

Available where Self == ListWithGroupedStyleType

  • list(style:) Extension method

    Undocumented

    Declaration

    Swift

    @MainActor
    public static func list(style: Self.Style) -> Self

Available where Self == ListWithInsetGroupedStyleType

  • list(style:) Extension method

    Undocumented

    Declaration

    Swift

    @MainActor
    public static func list(style: Self.Style) -> Self

Available where Self == ListWithInsetStyleType

  • list(style:) Extension method

    Undocumented

    Declaration

    Swift

    @MainActor
    public static func list(style: Self.Style) -> Self

Available where Self == ListWithSidebarStyleType

  • list(style:) Extension method

    Undocumented

    Declaration

    Swift

    @MainActor
    public static func list(style: Self.Style) -> Self

Available where Self == ListCellType

  • listCell Extension method

    Undocumented

    Declaration

    Swift

    @MainActor
    public static var listCell: Self { get }

Available where Self == NavigationSplitViewType

  • navigationSplitView Extension method

    Undocumented

    Declaration

    Swift

    @MainActor
    public static var navigationSplitView: Self { get }

Available where Self == NavigationStackType

  • navigationStack Extension method

    Undocumented

    Declaration

    Swift

    @MainActor
    public static var navigationStack: Self { get }

Available where Self == NavigationViewWithColumnsStyleType

  • navigationView(style:) Extension method

    Undocumented

    Declaration

    Swift

    @MainActor
    public static func navigationView(style: Self.Style) -> Self

Available where Self == NavigationViewWithStackStyleType

  • navigationView(style:) Extension method

    Undocumented

    Declaration

    Swift

    @MainActor
    public static func navigationView(style: Self.Style) -> Self

Available where Self == PageControlType

  • pageControl Extension method

    Undocumented

    Declaration

    Swift

    @MainActor
    public static var pageControl: Self { get }

Available where Self == PickerWithSegmentedStyleType

  • picker(style:) Extension method

    Undocumented

    Declaration

    Swift

    @MainActor
    public static func picker(style: Self.Style) -> Self

Available where Self == PickerWithWheelStyleType

  • picker(style:) Extension method

    Undocumented

    Declaration

    Swift

    @MainActor
    public static func picker(style: Self.Style) -> Self

Available where Self == PopoverType

  • popover Extension method

    Undocumented

    Declaration

    Swift

    @MainActor
    public static var popover: Self { get }

Available where Self == ProgressViewWithCircularStyleType

  • progressView(style:) Extension method

    Undocumented

    Declaration

    Swift

    @MainActor
    public static func progressView(style: Self.Style) -> Self

Available where Self == ProgressViewWithLinearStyleType

  • progressView(style:) Extension method

    Undocumented

    Declaration

    Swift

    @MainActor
    public static func progressView(style: Self.Style) -> Self

Available where Self == ScrollViewType

  • scrollView Extension method

    Undocumented

    Declaration

    Swift

    @MainActor
    public static var scrollView: Self { get }

Available where Self == SearchFieldType

  • searchField Extension method

    Undocumented

    Declaration

    Swift

    @MainActor
    public static var searchField: Self { get }

Available where Self == SecureFieldType

  • secureField Extension method

    Undocumented

    Declaration

    Swift

    @MainActor
    public static var secureField: Self { get }

Available where Self == SheetType

  • sheet Extension method

    Undocumented

    Declaration

    Swift

    @MainActor
    public static var sheet: Self { get }

Available where Self == SliderType

  • slider Extension method

    Undocumented

    Declaration

    Swift

    @MainActor
    public static var slider: Self { get }

Available where Self == StepperType

  • stepper Extension method

    Undocumented

    Declaration

    Swift

    @MainActor
    public static var stepper: Self { get }

Available where Self == TableType

  • table Extension method

    Undocumented

    Declaration

    Swift

    @MainActor
    public static var table: Self { get }

Available where Self == TabViewType

  • tabView Extension method

    Undocumented

    Declaration

    Swift

    @MainActor
    public static var tabView: Self { get }

Available where Self == TabViewWithPageStyleType

  • tabView(style:) Extension method

    Undocumented

    Declaration

    Swift

    @MainActor
    public static func tabView(style: Self.Style) -> Self

Available where Self == TextEditorType

  • textEditor Extension method

    Undocumented

    Declaration

    Swift

    @MainActor
    public static var textEditor: Self { get }

Available where Self == TextFieldType

  • textField Extension method

    Undocumented

    Declaration

    Swift

    @MainActor
    public static var textField: Self { get }

Available where Self == TextFieldWithVerticalAxisType

  • textField(axis:) Extension method

    Undocumented

    Declaration

    Swift

    @MainActor
    public static func textField(axis: Self.Axis) -> Self

Available where Self == ToggleType

  • toggle Extension method

    Undocumented

    Declaration

    Swift

    @MainActor
    public static var toggle: Self { get }

Available where Self == ToggleWithSwitchStyleType

  • toggle(style:) Extension method

    Undocumented

    Declaration

    Swift

    @MainActor
    public static func toggle(style: Self.Style) -> Self

Available where Self == WindowType

  • window Extension method

    Undocumented

    Declaration

    Swift

    @MainActor
    public static var window: Self { get }

Available where Self == ViewControllerType

  • viewController Extension method

    Undocumented

    Declaration

    Swift

    @MainActor
    public static var viewController: Self { get }