IntrospectableViewType
@MainActor
public protocol IntrospectableViewType
Undocumented
-
scope
Default implementationThe 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 }
-
view
Extension methodUndocumented
Declaration
Swift
@MainActor public static var view: Self { get }
-
colorPicker
Extension methodUndocumented
Declaration
Swift
@MainActor public static var colorPicker: Self { get }
-
datePicker
Extension methodUndocumented
Declaration
Swift
@MainActor public static var datePicker: Self { get }
-
datePicker(style:
Extension method) Undocumented
Declaration
Swift
@MainActor public static func datePicker(style: Self.Style) -> Self
-
datePicker(style:
Extension method) Undocumented
Declaration
Swift
@MainActor public static func datePicker(style: Self.Style) -> Self
-
datePicker(style:
Extension method) Undocumented
Declaration
Swift
@MainActor public static func datePicker(style: Self.Style) -> Self
-
form
Extension methodUndocumented
Declaration
Swift
@MainActor public static var form: Self { get }
-
form(style:
Extension method) Undocumented
Declaration
Swift
@MainActor public static func form(style: Self.Style) -> Self
-
fullScreenCover
Extension methodUndocumented
Declaration
Swift
@MainActor public static var fullScreenCover: Self { get }
-
list
Extension methodUndocumented
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
-
list(style:
Extension method) Undocumented
Declaration
Swift
@MainActor public static func list(style: Self.Style) -> Self
-
list(style:
Extension method) Undocumented
Declaration
Swift
@MainActor public static func list(style: Self.Style) -> Self
-
list(style:
Extension method) Undocumented
Declaration
Swift
@MainActor public static func list(style: Self.Style) -> Self
-
list(style:
Extension method) Undocumented
Declaration
Swift
@MainActor public static func list(style: Self.Style) -> Self
-
listCell
Extension methodUndocumented
Declaration
Swift
@MainActor public static var listCell: Self { get }
-
navigationSplitView
Extension methodUndocumented
Declaration
Swift
@MainActor public static var navigationSplitView: Self { get }
-
navigationStack
Extension methodUndocumented
Declaration
Swift
@MainActor public static var navigationStack: Self { get }
-
navigationView(style:
Extension method) Undocumented
Declaration
Swift
@MainActor public static func navigationView(style: Self.Style) -> Self
-
navigationView(style:
Extension method) Undocumented
Declaration
Swift
@MainActor public static func navigationView(style: Self.Style) -> Self
-
pageControl
Extension methodUndocumented
Declaration
Swift
@MainActor public static var pageControl: Self { get }
-
picker(style:
Extension method) Undocumented
Declaration
Swift
@MainActor public static func picker(style: Self.Style) -> Self
-
picker(style:
Extension method) Undocumented
Declaration
Swift
@MainActor public static func picker(style: Self.Style) -> Self
-
popover
Extension methodUndocumented
Declaration
Swift
@MainActor public static var popover: Self { get }
-
progressView(style:
Extension method) Undocumented
Declaration
Swift
@MainActor public static func progressView(style: Self.Style) -> Self
-
progressView(style:
Extension method) Undocumented
Declaration
Swift
@MainActor public static func progressView(style: Self.Style) -> Self
-
scrollView
Extension methodUndocumented
Declaration
Swift
@MainActor public static var scrollView: Self { get }
-
searchField
Extension methodUndocumented
Declaration
Swift
@MainActor public static var searchField: Self { get }
-
secureField
Extension methodUndocumented
Declaration
Swift
@MainActor public static var secureField: Self { get }
-
sheet
Extension methodUndocumented
Declaration
Swift
@MainActor public static var sheet: Self { get }
-
slider
Extension methodUndocumented
Declaration
Swift
@MainActor public static var slider: Self { get }
-
stepper
Extension methodUndocumented
Declaration
Swift
@MainActor public static var stepper: Self { get }
-
table
Extension methodUndocumented
Declaration
Swift
@MainActor public static var table: Self { get }
-
tabView
Extension methodUndocumented
Declaration
Swift
@MainActor public static var tabView: Self { get }
-
tabView(style:
Extension method) Undocumented
Declaration
Swift
@MainActor public static func tabView(style: Self.Style) -> Self
-
textEditor
Extension methodUndocumented
Declaration
Swift
@MainActor public static var textEditor: Self { get }
-
textField
Extension methodUndocumented
Declaration
Swift
@MainActor public static var textField: Self { get }
-
textField(axis:
Extension method) Undocumented
Declaration
Swift
@MainActor public static func textField(axis: Self.Axis) -> Self
-
toggle
Extension methodUndocumented
Declaration
Swift
@MainActor public static var toggle: Self { get }
-
toggle(style:
Extension method) Undocumented
Declaration
Swift
@MainActor public static func toggle(style: Self.Style) -> Self
-
window
Extension methodUndocumented
Declaration
Swift
@MainActor public static var window: Self { get }
-
viewController
Extension methodUndocumented
Declaration
Swift
@MainActor public static var viewController: Self { get }