SwiftUI API Matrix — iOS · macOS · MiniSwift

Per-API comparison of Apple SwiftUI against MiniSwift's UIIR capture, across the practical lowered surface. MiniSwift lowers SwiftUI into UIIR — this measures capture quality, not runtime.

1326
Full — dedicated UIIR semantics
1410
Partial — generic / structural capture
0
Not yet — outside the catalog
2736
Total APIs compared
1. Layout containers2. Text / Image / Label views3. Controls / input views4. Lists / ForEach / tables5. Navigation6. Presentation / modals / toolbar7. Shapes / Path8. Canvas / graphics / timeline9. Color / gradients / materials / ShapeStyle10. Font / text styling11. Layout modifiers12. Visual effect modifiers13. Transform / geometry modifiers14. State / data-flow wrappers15. Environment / preferences16. Storage / focus / other wrappers17. Gestures18. Animation / transition19. App / Scene lifecycle / commands20. Style protocols + setters21. Accessibility22. Geometry values + utility views

1. Layout containers

97·27·0
VStack
@frozen public struct VStack<Content> : View where Content : View
Catalog view; layout.c captures spacing+alignment into node.layout; web→VStackView, android→Column. SwiftUICore type (not in dump).
iOS allmacOS all
VStack.init(alignment:spacing:content:)
@inlinable public init(alignment: HorizontalAlignment = .center, spacing: CGFloat? = nil, @ViewBuilder content: () -> Content)
alignment+spacing lowered to typed layout metadata; ViewBuilder children become child UIIR nodes.
iOS allmacOS all
HStack
@frozen public struct HStack<Content> : View where Content : View
Catalog view; spacing+alignment captured; web→HStackView, android→Row. SwiftUICore type (not in dump).
iOS allmacOS all
HStack.init(alignment:spacing:content:)
@inlinable public init(alignment: VerticalAlignment = .center, spacing: CGFloat? = nil, @ViewBuilder content: () -> Content)
alignment+spacing lowered to node.layout; children lowered as UIIR child nodes.
iOS allmacOS all
ZStack
@frozen public struct ZStack<Content> : View where Content : View
Catalog view; web→ZStackView with zIndex z-order, android→Box. SwiftUICore type (not in dump).
iOS allmacOS all
ZStack.init(alignment:content:)
@inlinable public init(alignment: Alignment = .center, @ViewBuilder content: () -> Content)
alignment captured into node.layout; children lowered; zIndex honored at render.
iOS allmacOS all
Group
@frozen public struct Group<Content> where Content : View
Catalog view; UIIR preserves a transparent Group node and web renders it through GroupView as a no-background/no-spacing passthrough container.
iOS allmacOS all
Group.init(content:)
@inlinable public init(@ViewBuilder content: () -> Content) where Content : View
ViewBuilder content lowers as Group children; renderer measures/places/draws child nodes transparently without introducing extra chrome.
iOS allmacOS all
Group.init(subviews:transform:)
public init<Base, Result>(subviews view: Base, @ViewBuilder transform: ...) where Content == GroupElementsOfContent<...>
GroupElementsOfContent/GroupSectionsOfContent in catalog as stub kinds; subview-decomposition runtime not implemented.
iOS iOS 18macOS macOS 15
ScrollView
public struct ScrollView<Content> : View where Content : View
Catalog view; axes and indicator defaults lower into node.layout.scroll_axes/scroll_shows_indicators (view.c:283, expr.c:693) and serialize as scrollAxes/scrollShowsIndicators (json_node.c:528).
iOS allmacOS all
ScrollView.init(_:content:)
public init(_ axes: Axis.Set = .vertical, @ViewBuilder content: () -> Content)
Default .vertical, enum/member axes, and array option-set axes decompose to typed scrollAxes layout metadata (view.c:288, json_node.c:528).
iOS allmacOS all
ScrollView.init(_:showsIndicators:content:)
public init(_ axes: Axis.Set = .vertical, showsIndicators: Bool = true, @ViewBuilder content: () -> Content)
Deprecated form still lowers typed axes and literal/default indicator visibility into scrollShowsIndicators (view.c:296, json_node.c:532).
iOS iOS 13 (deprecated)macOS macOS 10.15 (deprecated)
ScrollView.content
public var content: Content
Stored property; the content closure lowers as child UIIR nodes.
iOS allmacOS all
ScrollView.axes
public var axes: Axis.Set
Constructor axis values decompose into UILayout.scroll_axes; absent axes default to vertical (view.c:288, json_node.c:528).
iOS allmacOS all
ScrollView.showsIndicators
public var showsIndicators: Bool
Constructor indicator visibility decomposes into UILayout.scroll_shows_indicators; absent values default true (view.c:296, json_node.c:532).
iOS allmacOS all
ScrollViewReader
@frozen public struct ScrollViewReader<Content> : View where Content : View
Catalog view lowers as a transparent container while the web renderer binds the active ViewNode root for ScrollViewProxy actions; scrollTo now drives the same __scroll_<id> state as wheel/drag scrolling.
iOS iOS 14macOS macOS 11
ScrollViewReader.init(content:)
@inlinable public init(@ViewBuilder content: @escaping (ScrollViewProxy) -> Content)
Content closure lowers with the proxy parameter preserved in actionIR; calls through that proxy are handled by the web scroll runtime.
iOS iOS 14macOS macOS 11
ScrollViewProxy
public struct ScrollViewProxy
MiniSwift value-token proxy: type metadata is preserved and scrollTo method calls are interpreted by the renderer bridge. This is not Apple's private SwiftUI proxy object.
iOS iOS 14macOS macOS 11
ScrollViewProxy.scrollTo(_:anchor:)
public func scrollTo<ID>(_ id: ID, anchor: UnitPoint? = nil) where ID : Hashable
Calls inside ScrollViewReader actions lower as actionIR.call; web runtime resolves .id(...)/explicit identity targets, supports nil/minimal reveal plus top/center/bottom/leading/trailing anchors, and writes clamped scroll offsets.
iOS iOS 14macOS macOS 11
Form
public struct Form<Content> : View where Content : View
Catalog view; Form lowers as a container node and web maps it to the grouped ListView renderer with Section/header/footer row chrome. FormStyle execution is tracked separately.
iOS allmacOS all
Form.init(content:)
public init(@ViewBuilder content: () -> Content)
ViewBuilder children lower under Form and render through grouped list/form layout, including rows and nested Section containers.
iOS allmacOS all
Form.init(_:configuration:) (FormStyle)
public init(_ configuration: FormStyleConfiguration)
Style-configuration initializer call preserves the FormStyleConfiguration arg structurally; style protocol execution is not modeled.
iOS iOS 16macOS macOS 13
Section
public struct Section<Parent, Content, Footer>
Catalog view; ViewBuilder content/header/footer lower into Section UIIR and web/Compose render grouped section structure. Table-row-only overloads are tracked separately.
iOS allmacOS all
Section.init(content:header:footer:)
public init(@ViewBuilder content: () -> Content, @ViewBuilder header: () -> Parent, @ViewBuilder footer: () -> Footer)
header/footer/content closures lower as child nodes; web List/SectionView renders header, rows, footer and grouped row chrome.
iOS allmacOS all
Section.init(_:content:) (titleKey)
public init(_ titleKey: LocalizedStringKey, @ViewBuilder content: () -> Content) where Parent == Text, Footer == EmptyView
Title string + content lower into Section UIIR; renderer synthesizes and draws the header label above grouped rows.
iOS iOS 15macOS macOS 12
Section.init(_:isExpanded:content:)
public init(_ titleKey: LocalizedStringKey, isExpanded: Binding<Bool>, @ViewBuilder content: () -> Content)
isExpanded now lowers as typed Bool control-binding metadata; web Section/List headers hit-test and toggle the bound state while collapsed rows are skipped.
iOS iOS 17macOS macOS 14
Section.init(header:footer:content:) (deprecated)
public init(header: Parent, footer: Footer, @ViewBuilder content: () -> Content)
Deprecated header/footer-as-views form; captured structurally.
iOS iOS 13 (deprecated)macOS macOS 10.15 (deprecated)
Section.init(content:header:) [TableRowBuilder]
public init<V,H>(@TableRowBuilder<V> content:, @ViewBuilder header:) where Parent == TableHeaderRowContent<V,H>
Table-row Section initializer call preserves content/header closures structurally; TableRowBuilder runtime is not executed.
iOS iOS 16macOS macOS 13
LazyVStack
public struct LazyVStack<Content> : View where Content : View
Catalog view; alignment/spacing lower as typed layout metadata and web renders through VStackView. No virtualization/pinnedViews.
iOS iOS 14macOS macOS 11
LazyVStack.init(alignment:spacing:pinnedViews:content:)
public init(alignment: HorizontalAlignment = .center, spacing: CGFloat? = nil, pinnedViews: PinnedScrollableViews = .init(), @ViewBuilder content: () -> Content)
alignment+spacing captured and consumed by web stack layout; pinnedViews remains inert.
iOS iOS 14macOS macOS 11
LazyHStack
public struct LazyHStack<Content> : View where Content : View
Catalog view; alignment/spacing lower as typed layout metadata and web renders through HStackView. No virtualization/pinnedViews.
iOS iOS 14macOS macOS 11
LazyHStack.init(alignment:spacing:pinnedViews:content:)
public init(alignment: VerticalAlignment = .center, spacing: CGFloat? = nil, pinnedViews: PinnedScrollableViews = .init(), @ViewBuilder content: () -> Content)
alignment+spacing captured and consumed by web stack layout; pinnedViews remains inert.
iOS iOS 14macOS macOS 11
LazyVGrid
public struct LazyVGrid<Content> : View where Content : View
Catalog view; web renders grid and resolves contextual GridItem fixed/flexible/adaptive column specs from structured UIIR args. No virtualization/pinnedViews.
iOS iOS 14macOS macOS 11
LazyVGrid.init(columns:alignment:spacing:pinnedViews:content:)
public init(columns: [GridItem], alignment: HorizontalAlignment = .center, spacing: CGFloat? = nil, pinnedViews: PinnedScrollableViews = .init(), @ViewBuilder content: () -> Content)
columns array survives as structured args; web uses GridItem.Size, spacing, and alignment for track layout.
iOS iOS 14macOS macOS 11
LazyHGrid
public struct LazyHGrid<Content> : View where Content : View
Catalog view; web renders grid and resolves contextual GridItem fixed/flexible/adaptive row specs from structured UIIR args. No virtualization/pinnedViews.
iOS iOS 14macOS macOS 11
LazyHGrid.init(rows:alignment:spacing:pinnedViews:content:)
public init(rows: [GridItem], alignment: VerticalAlignment = .center, spacing: CGFloat? = nil, pinnedViews: PinnedScrollableViews = .init(), @ViewBuilder content: () -> Content)
rows array survives as structured args; web uses GridItem.Size, spacing, and alignment for track layout.
iOS iOS 14macOS macOS 11
GridItem
public struct GridItem : Sendable
Contextual value token: LazyVGrid/LazyHGrid columns/rows preserve GridItem(...) as structured call args and the web grid renderer consumes them for track sizing.
iOS iOS 14macOS macOS 11
GridItem.init(_:spacing:alignment:)
public init(_ size: GridItem.Size = .flexible(), spacing: CGFloat? = nil, alignment: Alignment? = nil)
Constructor survives as structured call expression inside grid columns/rows; renderer reads size, spacing, and alignment in grid contexts.
iOS iOS 14macOS macOS 11
GridItem.Size
public enum Size : Sendable { case fixed(CGFloat); case flexible(...); case adaptive(...) }
fixed, flexible, and common single-spec adaptive enum-call args drive web grid track sizing.
iOS iOS 14macOS macOS 11
GridItem.size
public var size: GridItem.Size
member read survives as a structured expression on GridItem; standalone value/member semantics are still structural.
iOS iOS 14macOS macOS 11
GridItem.spacing
public var spacing: CGFloat?
member read survives as a structured expression on GridItem; grid context consumes init spacing, but standalone property semantics remain structural.
iOS iOS 14macOS macOS 11
GridItem.alignment
public var alignment: Alignment?
member read survives as a structured expression on GridItem; grid context consumes init alignment, but standalone property semantics remain structural.
iOS iOS 14macOS macOS 11
Grid
@frozen public struct Grid<Content> where Content : View
Catalog view; web renderer measures GridRow children into shared column widths and row heights with alignment/spacing. Grid cell spanning and unsized-axis modifiers remain separate gaps.
iOS iOS 16macOS macOS 13
Grid.init(alignment:horizontalSpacing:verticalSpacing:content:)
@inlinable public init(alignment: Alignment = .center, horizontalSpacing: CGFloat? = nil, verticalSpacing: CGFloat? = nil, @ViewBuilder content: () -> Content)
alignment plus horizontal/vertical spacing args are consumed by the web grid layout engine.
iOS iOS 16macOS macOS 13
GridRow
@frozen public struct GridRow<Content> where Content : View
Catalog view; web renderer treats children as grid cells and participates in parent Grid shared column placement.
iOS iOS 16macOS macOS 13
GridRow.init(alignment:content:)
@inlinable public init(alignment: VerticalAlignment? = nil, @ViewBuilder content: () -> Content)
alignment captured and used for vertical cell placement within the measured row height.
iOS iOS 16macOS macOS 13
GeometryReader
@frozen public struct GeometryReader<Content> : View where Content : View
Catalog view; web expands to proposed/frame size and binds a lightweight GeometryProxy for child content. Coordinate-space frame, anchors, safe-area, and android BoxWithConstraints parity remain gaps. SwiftUICore type (not in dump).
iOS allmacOS all
GeometryReader.init(content:)
@inlinable public init(@ViewBuilder content: @escaping (GeometryProxy) -> Content)
Content closure lowers as child UIIR and web binds the closure param (for example geo) to the measured GeometryProxy while measuring/placing/drawing children.
iOS allmacOS all
ViewThatFits
@frozen public struct ViewThatFits<Content> : View where Content : View
Catalog view; candidate children lower as UIIR children and the web renderer measures them, selecting the first child that fits the requested axes. Kotlin/android fallback renders the preferred child instead of an unsupported marker.
iOS iOS 16macOS macOS 13
ViewThatFits.init(in:content:)
@inlinable public init(in axes: Axis.Set = [.horizontal, .vertical], @ViewBuilder content: () -> Content)
axes captured; candidate children lowered; renderer uses horizontal/vertical axis constraints when choosing the visible candidate.
iOS iOS 16macOS macOS 13
ControlGroup
public struct ControlGroup<Content> : View where Content : View
Catalog view; ViewBuilder children lower as UIIR children and web maps the basic content-only form to an HStack control row. Style/configuration execution remains separate.
iOS iOS 15macOS macOS 12
ControlGroup.init(content:)
public init(@ViewBuilder content: () -> Content)
Content closure lowers as child UIIR nodes; renderer lays them out as a horizontal control group.
iOS iOS 15macOS macOS 12
ControlGroup.init(content:label:)
public init<C, L>(@ViewBuilder content: () -> C, @ViewBuilder label: () -> L) where Content == LabeledControlGroupContent<C, L>
Label and content children lower into UIIR; web synthesizes a labeled control group with the label above an HStack control row.
iOS iOS 16macOS macOS 13
ControlGroup.init(_:content:) (titleKey)
public init<C>(_ titleKey: LocalizedStringKey, @ViewBuilder content: () -> C) where Content == LabeledControlGroupContent<C, Text>
Title + content captured; web synthesizes a title label above the HStack control row.
iOS iOS 16macOS macOS 13
ControlGroup.init(_:systemImage:content:)
public init<C>(_ titleKey: LocalizedStringKey, systemImage: String, @ViewBuilder content: () -> C) where Content == LabeledControlGroupContent<C, Label<Text, Image>>
Title+systemImage+content captured as args/children; web synthesizes a Label above the HStack control row.
iOS iOS 16macOS macOS 13
ControlGroup.init(_:configuration:) (style)
public init(_ configuration: ControlGroupStyleConfiguration)
Style-configuration initializer call preserves the ControlGroupStyleConfiguration arg structurally; style protocol execution is not modeled.
iOS iOS 15macOS macOS 12
LabeledContent
public struct LabeledContent<Label, Content>
Catalog view; label/content/value forms lower to UIIR args/children and web synthesizes HStack { label; Spacer; content/value } with secondary value styling.
iOS iOS 16macOS macOS 13
LabeledContent.init(content:label:)
public init(@ViewBuilder content: () -> Content, @ViewBuilder label: () -> Label)
Label and content closures lower as child UIIR nodes; renderer maps them into a labeled row.
iOS iOS 16macOS macOS 13
LabeledContent.init(_:content:) (titleKey)
public init(_ titleKey: LocalizedStringKey, @ViewBuilder content: () -> Content) where Label == Text
Title string lowers as the label arg and content closure as child UIIR; renderer synthesizes the label Text.
iOS iOS 16macOS macOS 13
LabeledContent.init(_:value:) (StringProtocol)
public init<S>(_ titleKey: LocalizedStringKey, value: S) where Content == Text, S : StringProtocol
Title and value args lower explicitly; renderer synthesizes label/value Text nodes.
iOS iOS 16macOS macOS 13
LabeledContent.init(_:value:format:)
public init<F>(_ titleKey: LocalizedStringKey, value: F.FormatInput, format: F) where F : FormatStyle, F.FormatOutput == String
Title/value/format captured as args; FormatStyle not executed, formatted string not produced.
iOS iOS 16macOS macOS 13
LabeledContent.init(_:configuration:) (style)
public init(_ configuration: LabeledContentStyleConfiguration)
Style-configuration initializer call preserves the LabeledContentStyleConfiguration arg structurally; style protocol execution is not modeled.
iOS iOS 16macOS macOS 13
GroupBox
public struct GroupBox<Label, Content> : View where Label : View, Content : View
Catalog view; label/title/content forms lower to UIIR and web synthesizes a boxed VStack with padding, background, corner radius, and optional bold title. GroupBoxStyle execution remains separate.
iOS iOS 14macOS macOS 10.15
GroupBox.init(content:label:)
public init(@ViewBuilder content: () -> Content, @ViewBuilder label: () -> Label)
Label and content closures lower as UIIR children; renderer builds the titled boxed stack.
iOS iOS 14macOS macOS 10.15
GroupBox.init(_:content:) (Label==Text)
public init(_ titleKey: LocalizedStringKey, @ViewBuilder content: () -> Content) where Label == Text
Title string and content closure lower; renderer synthesizes a bold title above the boxed content.
iOS iOS 15macOS macOS 12
GroupBox.init(content:) (Label==EmptyView)
public init(@ViewBuilder content: () -> Content) where Label == EmptyView
Content-only form lowers as child UIIR nodes and renders as an untitled boxed stack.
iOS iOS 14macOS macOS 10.15
GroupBox.init(_:configuration:) (style)
public init(_ configuration: GroupBoxStyleConfiguration) where Label == ..., Content == ...
Style-configuration initializer call preserves the GroupBoxStyleConfiguration arg structurally; style protocol execution is not modeled.
iOS iOS 14macOS macOS 11
Spacer
@frozen public struct Spacer : View
Catalog leaf view; layout.c treats Spacer specially per parent axis (expands along primary axis); web+android render. SwiftUICore type (not in dump).
iOS allmacOS all
Spacer.init(minLength:)
@inlinable public init(minLength: CGFloat? = nil)
Spacer lowers with minLength arg and web stack layout enforces it as the primary-axis minimum before distributing leftover space.
iOS allmacOS all
Spacer.minLength
public var minLength: CGFloat?
SpacerView reads the captured minLength arg and VStack/HStack include it in intrinsic and fixed-frame spacer sizing.
iOS allmacOS all
Divider
public struct Divider : View
Catalog leaf view; web and android both render Divider (orientation per parent axis).
iOS allmacOS all
Divider.init()
public init()
Modeled as leaf node; renderer draws a thin separator line.
iOS allmacOS all
Layout
public protocol Layout : Animatable
module protocol stub preserves custom-layout conformance/type surface; layout protocol requirements are not invoked by a layout engine.
iOS iOS 16macOS macOS 13
Layout.sizeThatFits(proposal:subviews:cache:)
func sizeThatFits(proposal: ProposedViewSize, subviews: Self.Subviews, cache: inout Self.Cache) -> CGSize
Explicit method calls preserve proposal/subviews/cache args structurally; MiniSwift does not invoke custom layout engines.
iOS iOS 16macOS macOS 13
Layout.placeSubviews(in:proposal:subviews:cache:)
func placeSubviews(in bounds: CGRect, proposal: ProposedViewSize, subviews: Self.Subviews, cache: inout Self.Cache)
Explicit method calls preserve bounds/proposal/subviews/cache args structurally; MiniSwift does not invoke custom placement.
iOS iOS 16macOS macOS 13
Layout.makeCache(subviews:)
func makeCache(subviews: Self.Subviews) -> Self.Cache
Explicit method calls preserve subviews args structurally; layout cache runtime is not modeled.
iOS iOS 16macOS macOS 13
Layout.callAsFunction(_:)
public func callAsFunction<V>(@ViewBuilder _ content: () -> V) -> some View where V : View
Custom-layout callAsFunction syntax preserves content closure structurally; it is not attached to a dedicated layout engine node.
iOS iOS 16macOS macOS 13
ProposedViewSize
@frozen public struct ProposedViewSize : Equatable, Sendable
module struct stub preserves type metadata for Layout/ImageRenderer surfaces; value semantics and size proposal runtime are not modeled.
iOS iOS 16macOS macOS 13
ProposedViewSize.init(_:)
@inlinable public init(_ size: CGSize)
constructor survives as a structured call expression with the CGSize arg; proposal sizing runtime is not evaluated.
iOS iOS 16macOS macOS 13
ProposedViewSize.zero/unspecified/infinity
public static let zero / unspecified / infinity : ProposedViewSize
static constants survive as structured member expressions; proposal sizing runtime is not evaluated.
iOS iOS 16macOS macOS 13
ProposedViewSize.replacingUnspecifiedDimensions(by:)
public func replacingUnspecifiedDimensions(by size: CGSize = ...) -> CGSize
method call survives as a structured expression; replacement sizing math is not evaluated.
iOS iOS 16macOS macOS 13
ViewDimensions
public struct ViewDimensions : Equatable
module struct stub preserves type metadata and alignmentGuide closures are serialized structurally; dimension queries are not evaluated.
iOS iOS 13macOS macOS 10.15
ViewDimensions.width / height
public var width: CGFloat { get } / public var height: CGFloat { get }
member reads survive inside alignmentGuide compute closures; real measured dimensions are not supplied by lowering.
iOS iOS 13macOS macOS 10.15
ViewDimensions[_:] (HorizontalAlignment)
public subscript(guide: HorizontalAlignment) -> CGFloat { get }
subscript expression survives inside alignmentGuide compute closures; alignment guide evaluation remains renderer/runtime policy.
iOS iOS 13macOS macOS 10.15
ViewDimensions[explicit:]
public subscript(explicit guide: VerticalAlignment) -> CGFloat? { get }
labeled subscript expression survives inside alignmentGuide compute closures; explicit guide lookup is not evaluated by lowering.
iOS iOS 13macOS macOS 10.15
View.padding(_:)
@inlinable nonisolated public func padding(_ insets: EdgeInsets) -> some View
Layout-hoisted dedicated family in coverage; lowers to node.layout frame/inset metadata. SwiftUICore modifier (not in dump).
iOS allmacOS all
View.padding(_:_:)
@inlinable nonisolated public func padding(_ edges: Edge.Set = .all, _ length: CGFloat? = nil) -> some View
Edge set + length lowered to dedicated layout padding metadata; web+android both apply padding.
iOS allmacOS all
View.frame(width:height:alignment:)
@inlinable nonisolated public func frame(width: CGFloat? = nil, height: CGFloat? = nil, alignment: Alignment = .center) -> some View
Layout-hoisted; lowers to node.layout.frame_* + alignment; web+android apply frame. SwiftUICore modifier.
iOS allmacOS all
View.frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)
@inlinable nonisolated public func frame(minWidth:..., maxWidth:..., minHeight:..., maxHeight:..., alignment:) -> some View
Flexible frame; min/ideal/max + expands flags lowered; web honors maxWidth/.infinity expand.
iOS allmacOS all
View.layoutPriority(_:)
@inlinable nonisolated public func layoutPriority(_ value: Double) -> some View
Layout-hoisted dedicated family; priority captured into layout metadata. SwiftUICore modifier.
iOS allmacOS all
View.fixedSize()
@inlinable nonisolated public func fixedSize() -> some View
Layout-hoisted; lowers to fixed-size layout metadata. SwiftUICore modifier.
iOS allmacOS all
View.fixedSize(horizontal:vertical:)
@inlinable nonisolated public func fixedSize(horizontal: Bool, vertical: Bool) -> some View
Per-axis fixed-size flags captured into layout metadata.
iOS allmacOS all
View.aspectRatio(_:contentMode:)
@inlinable nonisolated public func aspectRatio(_ aspectRatio: CGFloat? = nil, contentMode: ContentMode) -> some View
Layout-hoisted; ratio + contentMode captured into layout metadata. SwiftUICore modifier.
iOS allmacOS all
View.containerRelativeFrame(_:alignment:)
nonisolated public func containerRelativeFrame(_ axes: Axis.Set, alignment: Alignment = .center) -> some View
Layout-hoisted; axes/alignment decompose to UILayout.container_relative_axes/alignment (uiir.h:137, layout.c:574) and JSON emits containerRelativeAxes/containerRelativeAlignment (json_node.c:474).
iOS iOS 17macOS macOS 14
View.scrollDisabled(_:)
nonisolated public func scrollDisabled(_ disabled: Bool) -> some View
Dedicated UI_SEMANTIC_SCROLL_DISABLED; literal bool decomposes to UISemantic.scroll_disabled (uiir.h:719, uiir.h:750, chain.c:382, chain.c:836) and JSON emits payload.disabled (json_modifier.c:1025).
iOS iOS 16macOS macOS 13
View.scrollIndicators(_:axes:)
nonisolated public func scrollIndicators(_ visibility: ScrollIndicatorVisibility, axes: Axis.Set = [.vertical, .horizontal]) -> some View
Dedicated UI_SEMANTIC_SCROLL_INDICATORS; visibility decomposes to UISemantic.scroll_indicator_visibility and axes: to UISemantic.scroll_indicator_axes (uiir.h:721, uiir.h:755, chain.c:386, chain.c:919), with default horizontal+vertical axes and JSON payload.visibility/payload.axes (json_modifier.c:1060).
iOS iOS 16macOS macOS 13
View.scrollContentBackground(_:)
nonisolated public func scrollContentBackground(_ visibility: Visibility) -> some View
Dedicated UI_SEMANTIC_SCROLL_CONTENT_BACKGROUND; Visibility arg decomposes to UISemantic.scroll_content_background_visibility (uiir.h:720, uiir.h:753, chain.c:384, chain.c:861) and JSON emits payload.visibility (json_modifier.c:1032). tvOS unavailable.
iOS iOS 16macOS macOS 13
View.scrollTargetBehavior(_:)
nonisolated public func scrollTargetBehavior(_ behavior: some ScrollTargetBehavior) -> some View
Dedicated UI_SEMANTIC_SCROLL_TARGET_BEHAVIOR; static behavior args such as .paging/.viewAligned decompose to UISemantic.scroll_target_behavior (uiir.h:723, uiir.h:764, chain.c:390, chain.c:976) and JSON emits payload.behavior (json_modifier.c:1080). Protocol behavior is captured, not executed.
iOS iOS 17macOS macOS 14
View.scrollTargetLayout(isEnabled:)
nonisolated public func scrollTargetLayout(isEnabled: Bool = true) -> some View
Dedicated UI_SEMANTIC_SCROLL_TARGET_LAYOUT; missing arg defaults to payload.isEnabled=true, literal bool decomposes to UISemantic.scroll_target_layout_enabled (uiir.h:722, uiir.h:758, chain.c:388, chain.c:935), and JSON emits payload.isEnabled (json_modifier.c:1070).
iOS iOS 17macOS macOS 14
View.scrollPosition(_:anchor:)
nonisolated public func scrollPosition(_ position: Binding<ScrollPosition>, anchor: UnitPoint? = nil) -> some View
Dedicated UI_SEMANTIC_SCROLL_POSITION; chain.c:526 maps the modifier and chain.c:2820 classifies the unlabeled binding as payload.bindingKind=position, preserves the raw binding arg, and decomposes static anchor: UnitPoint tokens into UISemantic.scroll_position_anchor (uiir.h:1054). JSON emits payload.bindingKind/binding/anchor (json_modifier.c:1527); scroll runtime remains renderer policy.
iOS iOS 18macOS macOS 15
View.scrollPosition(id:anchor:)
nonisolated public func scrollPosition(id: Binding<(some Hashable)?>, anchor: UnitPoint? = nil) -> some View
Dedicated UI_SEMANTIC_SCROLL_POSITION; chain.c:2824 recognizes the id: binding overload as payload.bindingKind=id, preserves the raw id binding arg, and defaults absent anchor: to JSON null (json_modifier.c:1527). No scroll-to-id runtime is implied by capture.
iOS iOS 17macOS macOS 14
View.scrollBounceBehavior(_:axes:)
nonisolated public func scrollBounceBehavior(_ behavior: ScrollBounceBehavior, axes: Axis.Set = [.vertical]) -> some View
Dedicated UI_SEMANTIC_SCROLL_BOUNCE_BEHAVIOR; behavior and axes: decompose to UISemantic.scroll_bounce_behavior/scroll_bounce_axes (uiir.h:722, uiir.h:761, chain.c:388, chain.c:941) with default vertical axis, and JSON emits payload.behavior/payload.axes (json_modifier.c:1070).
iOS iOS 16.4macOS macOS 13.3
View.scrollClipDisabled(_:)
nonisolated public func scrollClipDisabled(_ disabled: Bool = true) -> some View
Dedicated UI_SEMANTIC_SCROLL_CLIP_DISABLED; default/literal bool decomposes to UISemantic.scroll_clip_disabled (uiir.h:719, chain.c:818) and JSON emits payload.disabled (json_modifier.c:1025).
iOS iOS 17macOS macOS 14
View.scrollDismissesKeyboard(_:)
nonisolated public func scrollDismissesKeyboard(_ mode: ScrollDismissesKeyboardMode) -> some View
Dedicated UI_SEMANTIC_SCROLL_DISMISSES_KEYBOARD; mode arg decomposes to UISemantic.scroll_dismisses_keyboard_mode (uiir.h:723, uiir.h:761, chain.c:390, chain.c:953) and JSON emits payload.mode (json_modifier.c:1078).
iOS iOS 16macOS macOS 13
View.defaultScrollAnchor(_:)
nonisolated public func defaultScrollAnchor(_ anchor: UnitPoint?) -> some View
Dedicated UI_SEMANTIC_DEFAULT_SCROLL_ANCHOR; UnitPoint preset anchor decomposes to UISemantic.default_scroll_anchor (uiir.h:724, uiir.h:763, chain.c:392, chain.c:965) and JSON emits payload.anchor (json_modifier.c:1086).
iOS iOS 17macOS macOS 14
View.contentMargins(_:_:for:)
nonisolated public func contentMargins(_ edges: Edge.Set = .all, _ insets: EdgeInsets, for placement: ContentMarginPlacement = .automatic) -> some View
Layout-hoisted; edges/insets/placement decompose to UILayout.content_margin_* plus content_margin_placement (uiir.h:151, layout.c:734) and JSON emits contentMargin* fields (json_node.c:503).
iOS iOS 17macOS macOS 14
View.safeAreaInset(edge:alignment:spacing:content:)
nonisolated public func safeAreaInset<V>(edge: VerticalEdge, alignment: HorizontalAlignment = .center, spacing: CGFloat? = nil, @ViewBuilder content: () -> V) -> some View
Dedicated UI_SEMANTIC_SAFE_AREA_INSET; edge/alignment/spacing decompose to UISemantic.safe_area_inset_* (uiir.h:719, uiir.h:861, chain.c:1693) and JSON emits payload.edge/alignment/spacing (json_modifier.c:1255). SwiftUICore modifier.
iOS iOS 15macOS macOS 12
View.safeAreaPadding(_:)
nonisolated public func safeAreaPadding(_ insets: EdgeInsets) -> some View
Layout-hoisted; EdgeInsets values decompose into UILayout.safe_pad_* fields (uiir.h:115, layout.c:327) and JSON emits safeAreaPad* fields (json_node.c:428). SwiftUICore modifier.
iOS iOS 17macOS macOS 14
View.gridCellColumns(_:)
@inlinable nonisolated public func gridCellColumns(_ count: Int) -> some View
Layout-hoisted; literal count decomposes to UILayout.grid_cell_columns (uiir.h:155, layout.c:798) and JSON emits layout.gridCellColumns (json_node.c:518). Renderer cell-merge support remains separate from capture.
iOS iOS 16macOS macOS 13
View.gridCellAnchor(_:)
@inlinable nonisolated public func gridCellAnchor(_ anchor: UnitPoint) -> some View
Layout-hoisted; UnitPoint preset decomposes to UILayout.grid_cell_anchor (uiir.h:156, layout.c:840) and JSON emits layout.gridCellAnchor (json_node.c:520). Renderer alignment support remains separate from capture.
iOS iOS 16macOS macOS 13
View.gridCellUnsizedAxes(_:)
@inlinable nonisolated public func gridCellUnsizedAxes(_ axes: Axis.Set) -> some View
Layout-hoisted; enum/array Axis.Set decomposes to UILayout.grid_cell_unsized_axes (uiir.h:157, layout.c:852) and JSON emits layout.gridCellUnsizedAxes (json_node.c:525). Renderer sizing behavior remains separate from capture.
iOS iOS 16macOS macOS 13
View.gridColumnAlignment(_:)
@inlinable nonisolated public func gridColumnAlignment(_ guide: HorizontalAlignment) -> some View
Layout-hoisted; HorizontalAlignment enum decomposes to UILayout.grid_column_alignment (uiir.h:158, layout.c:863) and JSON emits layout.gridColumnAlignment (json_node.c:530). Renderer column alignment behavior remains separate from capture.
iOS iOS 16macOS macOS 13
View.groupBoxStyle(_:)
nonisolated public func groupBoxStyle<S>(_ style: S) -> some View where S : GroupBoxStyle
Dedicated UI_SEMANTIC_GROUP_BOX_STYLE; style arg is preserved as typed payload.style (chain.c:715, json_modifier.c:2267). Style protocol execution remains out of scope.
iOS iOS 14macOS macOS 11
View.controlGroupStyle(_:)
nonisolated public func controlGroupStyle<S>(_ style: S) -> some View where S : ControlGroupStyle
Dedicated UI_SEMANTIC_CONTROL_GROUP_STYLE; style arg is preserved as typed payload.style (chain.c:711, json_modifier.c:2265). Style protocol execution remains out of scope.
iOS iOS 15macOS macOS 12
View.formStyle(_:)
nonisolated public func formStyle<S>(_ style: S) -> some View where S : FormStyle
Dedicated UI_SEMANTIC_FORM_STYLE; style arg is preserved as typed payload.style (chain.c:707, json_modifier.c:2263). Style protocol execution remains out of scope.
iOS iOS 16macOS macOS 13
View.labeledContentStyle(_:)
nonisolated public func labeledContentStyle<S>(_ style: S) -> some View where S : LabeledContentStyle
Dedicated UI_SEMANTIC_LABELED_CONTENT_STYLE; style arg is preserved as typed payload.style (uiir.h:867, chain.c:699, json_modifier.c:2259). Style protocol execution remains out of scope.
iOS iOS 16macOS macOS 13
View.alignmentGuide(_:computeValue:) (Horizontal)
@inlinable nonisolated public func alignmentGuide(_ g: HorizontalAlignment, computeValue: @escaping (ViewDimensions) -> CGFloat) -> some View
Dedicated UI_SEMANTIC_ALIGNMENT_GUIDE maps alignmentGuide (modules/swiftui/compiler/lower/chain.c:793, include/internal/uiir.h:877) and serializes typed payload.guide plus payload.computeValue (modules/swiftui/compiler/uiir/names.c:503, modules/swiftui/compiler/uiir/json_modifier.c:2378). ViewDimensions evaluation remains renderer/runtime policy.
iOS allmacOS all
View.alignmentGuide(_:computeValue:) (Vertical)
@inlinable nonisolated public func alignmentGuide(_ g: VerticalAlignment, computeValue: @escaping (ViewDimensions) -> CGFloat) -> some View
Same UI_SEMANTIC_ALIGNMENT_GUIDE path captures the vertical guide token and compute closure under typed payload fields (modules/swiftui/compiler/uiir/json_modifier.c:2378). ViewDimensions-based custom guide execution is not performed by lowering.
iOS allmacOS all
Map
@MainActor @preconcurrency public struct Map<Content> : View where Content : View
Catalogued leaf view; lowers as a stable Map UIIR node and web renders a dedicated stylised map preview surface with coordinate/annotation hooks.
iOS iOS 14macOS macOS 11
`Map.init(coordinateRegion:interactionModes:showsUserLocation:userTrackingMode:annotationItems:annotationContent:)` (deprecated)
@MainActor @preconcurrency public init<Items, Annotation>(coordinateRegion: Binding<MKCoordinateRegion>, interactionModes: MapInteractionModes = .all, showsUserLocation: Bool = false, userTrackingMode: Binding<MapUserTrackingMode>? = nil, annotationItems: Items, annotationContent: @escaping (Items.Element) -> Annotation) where Content == _DefaultAnnotatedMapContent<Items>
Deprecated initializer; args captured structurally; MapContent/MapAnnotationProtocol builders not decomposed.
iOS iOS 14 (deprecated 17)macOS macOS 11 (deprecated 14)
HSplitView
public struct HSplitView<Content> : View where Content : View
Catalogued container; ViewBuilder children lower as UIIR children and web synthesizes a horizontal split stack with vertical dividers between panes.
iOSmacOS macOS 10.15
HSplitView.init(content:)
public init(@ViewBuilder content: () -> Content)
Content closure lowers as child UIIR nodes; renderer inserts static vertical split dividers between panes.
iOSmacOS macOS 10.15
VSplitView
public struct VSplitView<Content> : View where Content : View
Catalogued container; ViewBuilder children lower as UIIR children and web synthesizes a vertical split stack with horizontal dividers between panes.
iOSmacOS macOS 10.15
VSplitView.init(content:)
public init(@ViewBuilder content: () -> Content)
Content closure lowers as child UIIR nodes; renderer inserts static horizontal split dividers between panes.
iOSmacOS macOS 10.15

2. Text / Image / Label views

100·39·0
Text
@frozen public struct Text : Equatable, View
Leaf UIView node; literal/interpolation/expr-ref args lowered. Web renders; Android renders Text.
iOS allmacOS all
Text.init(_:)
nonisolated public init(_ content: some StringProtocol)
String/verbatim text node; @State/expr/subscript arg resolves (web fix 2026-05-30).
iOS allmacOS all
Text.init(verbatim:)
public init(verbatim content: String)
Verbatim string captured as Text node; no localization lookup needed.
iOS allmacOS all
Text.init(_:tableName:bundle:comment:)
public init(_ key: LocalizedStringKey, tableName: String? = nil, bundle: Bundle? = nil, comment: StaticString? = nil)
Key string captured; localization table/bundle/comment args carried generically, no resolver.
iOS allmacOS all
Text.init(_:)
public init(_ resource: LocalizedStringResource)
LocalizedStringResource calls resolve to their string key in the web UIIR evaluator, so Text(LocalizedStringResource("...")) renders like the key-backed Text overload.
iOS iOS 16macOS macOS 13
Text.init(_:format:)
public init<F>(_ input: F.FormatInput, format: F) where F : FormatStyle, F.FormatInput : Equatable, F.FormatOutput == String
Captured as Text with generic format arg; FormatStyle not executed.
iOS iOS 15macOS macOS 12
Text.init(_:style:)
public init(_ date: Date, style: Text.DateStyle)
Date + DateStyle args lower on Text; web formats .date/.time/combined date-time display from Date-like values.
iOS allmacOS all
Text.init(_:)
public init(_ dates: ClosedRange<Date>)
ClosedRange<Date>-style range expr lowers on Text; web formats lower/upper date endpoints as a compact date range.
iOS allmacOS all
Text.init(_:)
public init(_ interval: DateInterval)
DateInterval arg survives structurally; not formatted.
iOS allmacOS all
Text.init(timerInterval:pauseTime:countsDown:showsHours:)
public init(timerInterval: ClosedRange<Date>, pauseTime: Date? = nil, countsDown: Bool = true, showsHours: Bool = true)
Timer interval range, pauseTime, countsDown, and showsHours args lower on Text; web formats elapsed/countdown duration from the interval.
iOS iOS 16macOS macOS 13
Text.init(_:)
public init(_ attributedContent: AttributedString)
AttributedString arg survives as expr; runs as plain text, no attribute runs modeled.
iOS iOS 15macOS macOS 12
Text.init(_:)
public init(_ image: Image)
Text(Image(systemName: ...)) lowers as a structured Image call; web TextView renders a compact SF-symbol glyph fallback inline.
iOS iOS 13macOS macOS 11
Text.+ (concatenation)
public static func + (lhs: Text, rhs: Text) -> Text
Operator + on Text survives as binary expr; concatenated styled-run semantics not modeled as one Text.
iOS allmacOS all
Text.foregroundColor(_:)
public func foregroundColor(_ color: Color?) -> Text
Dedicated style metadata family; web tints glyphs, Android maps to Text color.
iOS allmacOS all
Text.foregroundStyle(_:)
public func foregroundStyle(_ style: some ShapeStyle) -> Text
Style metadata family; common payload fields captured. ShapeStyle gradients are renderer-led.
iOS iOS 17macOS macOS 14
Text.font(_:)
public func font(_ font: Font?) -> Text
Style metadata; Font payload captured; web/Android map size/weight.
iOS allmacOS all
Text.fontWeight(_:)
public func fontWeight(_ weight: Font.Weight?) -> Text
Style metadata family; weight enum captured and mapped by both renderers.
iOS allmacOS all
Text.fontWidth(_:)
public func fontWidth(_ width: Font.Width?) -> Text
Dedicated UI_SEMANTIC_FONT_WIDTH; Font.Width arg decomposes to UISemantic.font_width and JSON payload.width (uiir.h:829, chain.c:943, json_modifier.c:1405).
iOS iOS 16macOS macOS 13
Text.fontDesign(_:)
public func fontDesign(_ design: Font.Design?) -> Text
Dedicated UI_SEMANTIC_FONT_DESIGN; Font.Design arg decomposes to UISemantic.font_design and JSON payload.design (uiir.h:830, chain.c:946, json_modifier.c:1412).
iOS iOS 16.1macOS macOS 13
Text.bold()
public func bold() -> Text
Style metadata family (UI_STYLE_BOLD); chain.c:293 defaults UIStyle.style_enabled=true, serialized as payload.enabled in json_modifier.c:909.
iOS allmacOS all
Text.bold(_:)
public func bold(_ isActive: Bool) -> Text
Bold style family; chain.c:303 decomposes positional bool into UIStyle.style_enabled, serialized as payload.enabled in json_modifier.c:911.
iOS iOS 16macOS macOS 13
Text.italic()
public func italic() -> Text
Style metadata family (UI_STYLE_ITALIC); chain.c:293 defaults UIStyle.style_enabled=true, serialized as payload.enabled in json_modifier.c:909.
iOS allmacOS all
Text.italic(_:)
public func italic(_ isActive: Bool) -> Text
Italic style family; chain.c:303 decomposes positional bool into UIStyle.style_enabled, serialized as payload.enabled in json_modifier.c:911.
iOS iOS 16macOS macOS 13
Text.monospaced(_:)
public func monospaced(_ isActive: Bool = true) -> Text
Dedicated UI_SEMANTIC_MONOSPACED; isActive bool lowered.
iOS iOS 16.1macOS macOS 13
Text.monospacedDigit()
public func monospacedDigit() -> Text
Dedicated UI_SEMANTIC_MONOSPACED_DIGIT; flag modifier, empty payload.
iOS iOS 15macOS macOS 12
Text.strikethrough(_:color:)
public func strikethrough(_ isActive: Bool = true, color: Color? = nil) -> Text
Style metadata family; active flag + color captured.
iOS allmacOS all
Text.strikethrough(_:pattern:color:)
public func strikethrough(_ isActive: Bool = true, pattern: Text.LineStyle.Pattern, color: Color? = nil) -> Text
Style metadata family: chain.c stores enabled/pattern/color in UIStyle decoration fields (chain.c:266, chain.c:279); json_modifier.c emits enabled/pattern/color payload (json_modifier.c:715).
iOS iOS 16macOS macOS 13
Text.underline(_:color:)
public func underline(_ isActive: Bool = true, color: Color? = nil) -> Text
Style metadata family; active flag + color captured.
iOS allmacOS all
Text.underline(_:pattern:color:)
public func underline(_ isActive: Bool = true, pattern: Text.LineStyle.Pattern, color: Color? = nil) -> Text
Style metadata family: pattern arg decomposes to UIStyle.decoration_pattern and serializes as payload.pattern.
iOS iOS 16macOS macOS 13
Text.kerning(_:)
public func kerning(_ kerning: CGFloat) -> Text
Dedicated UI_SEMANTIC_KERNING; numeric arg decomposes to UISemantic.text_kerning (uiir.h:639, chain.c:566) and JSON payload.kerning (json_modifier.c:999).
iOS allmacOS all
Text.tracking(_:)
public func tracking(_ tracking: CGFloat) -> Text
Dedicated UI_SEMANTIC_TRACKING; numeric arg decomposes to UISemantic.text_tracking and JSON payload.tracking.
iOS iOS 16macOS macOS 13
Text.baselineOffset(_:)
public func baselineOffset(_ baselineOffset: CGFloat) -> Text
Dedicated UI_SEMANTIC_BASELINE_OFFSET; numeric/unary numeric arg decomposes to UISemantic.text_baseline_offset and JSON payload.baselineOffset.
iOS allmacOS all
Text.textScale(_:isEnabled:)
public func textScale(_ scale: Text.Scale, isEnabled: Bool = true) -> Text
Dedicated UI_SEMANTIC_TEXT_SCALE; scale/isEnabled decompose to UISemantic.text_scale + text_scale_enabled (uiir.h:646, chain.c:627) and JSON payload.scale/isEnabled (json_modifier.c:1046).
iOS iOS 17macOS macOS 14
Text.speechAlwaysIncludesPunctuation(_:)
public func speechAlwaysIncludesPunctuation(_ value: Bool = true) -> Text
Dedicated UI_ACCESSIBILITY_SPEECH_ALWAYS_INCLUDES_PUNCTUATION; lowering maps it in modules/swiftui/compiler/lower/chain.c:116, stores default/literal bool in UIAccessibility (include/internal/uiir.h:572), and JSON emits accessibility.payload.alwaysIncludesPunctuation (modules/swiftui/compiler/uiir/json_modifier.c:544).
iOS iOS 15macOS macOS 12
Text.speechSpellsOutCharacters(_:)
public func speechSpellsOutCharacters(_ value: Bool = true) -> Text
Dedicated UI_ACCESSIBILITY_SPEECH_SPELLS_OUT_CHARACTERS; catalogued as UIMOD_SPEECH_SPELLS_OUT_CHARACTERS, lowering maps it in modules/swiftui/compiler/lower/chain.c:122, stores default/literal bool in UIAccessibility (include/internal/uiir.h:579), and JSON emits accessibility.payload.spellsOutCharacters (modules/swiftui/compiler/uiir/json_modifier.c:572).
iOS iOS 15macOS macOS 12
Text.speechAdjustedPitch(_:)
public func speechAdjustedPitch(_ value: Double) -> Text
Dedicated UI_ACCESSIBILITY_SPEECH_ADJUSTED_PITCH; lowering maps it in modules/swiftui/compiler/lower/chain.c:118, decomposes numeric pitch in chain.c:157, and JSON emits accessibility.payload.pitch (modules/swiftui/compiler/uiir/json_modifier.c:554).
iOS iOS 15macOS macOS 12
Text.speechAnnouncementsQueued(_:)
public func speechAnnouncementsQueued(_ value: Bool = true) -> Text
Dedicated UI_ACCESSIBILITY_SPEECH_ANNOUNCEMENTS_QUEUED; lowering maps it in modules/swiftui/compiler/lower/chain.c:120, stores default/literal bool in UIAccessibility (include/internal/uiir.h:576), and JSON emits accessibility.payload.announcementsQueued (modules/swiftui/compiler/uiir/json_modifier.c:562).
iOS iOS 15macOS macOS 12
Text.accessibilityLabel(_:)
nonisolated public func accessibilityLabel(_ label: Text) -> Text
Accessibility metadata family; label stored, no platform a11y tree.
iOS iOS 15macOS macOS 12
Text.accessibilityTextContentType(_:)
nonisolated public func accessibilityTextContentType(_ value: AccessibilityTextContentType) -> Text
Dedicated UI_ACCESSIBILITY_TEXT_CONTENT_TYPE; lowering maps it in modules/swiftui/compiler/lower/chain.c:120, stores the token in UIAccessibility.text_content_type (include/internal/uiir.h:576), and JSON emits accessibility.payload.textContentType (modules/swiftui/compiler/uiir/json_modifier.c:553).
iOS iOS 15macOS macOS 12
Text.accessibilityHeading(_:)
nonisolated public func accessibilityHeading(_ level: AccessibilityHeadingLevel) -> Text
Dedicated UI_ACCESSIBILITY_HEADING; lowering maps it in modules/swiftui/compiler/lower/chain.c:118, stores the token in UIAccessibility.heading_level (include/internal/uiir.h:575), and JSON emits accessibility.payload.headingLevel (modules/swiftui/compiler/uiir/json_modifier.c:544).
iOS iOS 15macOS macOS 12
Text.DateStyle
public struct DateStyle : Equatable, Sendable
module struct stub exists; nested type metadata currently collapses to the outer Text type in some property contexts, and date formatting runtime is not modeled.
iOS allmacOS all
Text.LineStyle
@frozen public struct LineStyle : Equatable, Sendable
module struct stub; Text underline/strikethrough overloads lower LineStyle pattern/color payloads, but standalone value semantics are not modeled
iOS iOS 16macOS macOS 13
Text.LineStyle.Pattern
public enum Pattern : Sendable
No standalone nested enum catalog, but underline/strikethrough pattern args lower to UIStyle.decoration_pattern. Other uses remain structural/source.
iOS iOS 16macOS macOS 13
Text.TruncationMode
public enum TruncationMode : Sendable
Nested enum not catalogued standalone, but args to truncationMode(_:) lower to UISemantic.truncation_mode and JSON payload.mode (chain.c:1464, json_modifier.c:1444).
iOS allmacOS all
Text.Case
public enum Case : Sendable
Nested enum not catalogued standalone, but args to textCase(_:) lower to UISemantic.text_case and JSON payload.textCase (chain.c:1479, json_modifier.c:1466).
iOS allmacOS all
Text.Scale
public enum Scale : Sendable
Nested enum not catalogued standalone, but .default/.secondary args lower as UISemantic.text_scale in textScale(_:isEnabled:). Other standalone uses remain structural/source.
iOS iOS 17macOS macOS 14
Image
@frozen public struct Image : Equatable, View
Leaf UIView node; web renders (SF Symbol partial map); Android emits Text([Image]) TODO.
iOS allmacOS all
Image.init(_:bundle:)
public init(_ name: String, bundle: Bundle? = nil)
Image node carries typed imageValue with source:"asset" and name; lowering hoists it in modules/swiftui/compiler/lower/view.c:243 / expr.c:691, and JSON emits imageValue in modules/swiftui/compiler/uiir/json_node.c:729.
iOS allmacOS all
Image.init(_:variableValue:bundle:)
public init(_ name: String, variableValue: Double?, bundle: Bundle? = nil)
Dedicated UIImageValue payload: asset name plus numeric variableValue decompose to imageValue.name / imageValue.variableValue (include/internal/uiir.h:659, modules/swiftui/compiler/uiir/json_node.c:648).
iOS iOS 16macOS macOS 13
Image.init(_:label:)
public init(_ name: String, label: Text)
Image asset name decomposes into imageValue, and web ImageView resolves the label: Text(...) argument into dedicated image/accessibility label metadata.
iOS allmacOS all
Image.init(decorative:bundle:)
public init(decorative name: String, bundle: Bundle? = nil)
Dedicated UIImageValue payload: decorative asset source/name and flag decompose to JSON imageValue.source, imageValue.name, and imageValue.decorative.
iOS allmacOS all
Image.init(systemName:)
public init(systemName name: String)
Image node carries typed imageValue with source:"system" and symbol name; renderer symbol coverage remains separate.
iOS iOS 13macOS macOS 11
Image.init(systemName:variableValue:)
public init(systemName name: String, variableValue: Double?)
Dedicated UIImageValue payload: system symbol name plus numeric variableValue decompose to JSON imageValue.name / imageValue.variableValue.
iOS iOS 16macOS macOS 13
Image.init(_:)
public init(_ resource: ImageResource)
ImageResource arg lowers as a structured expr; web resolves ImageResource(name:) into the same asset-name fallback path as Image("name").
iOS iOS 17macOS macOS 14
Image.init(uiImage:)
public init(uiImage: UIImage)
Runtime UIImage arg survives as expr; no bitmap pipeline at lowering.
iOS iOS 13macOS
Image.init(nsImage:)
nonisolated public init(nsImage: NSImage)
Runtime NSImage arg survives as expr; macOS-only; no bitmap pipeline.
iOSmacOS all
Image.init(cgImage:scale:orientation:label:)
public init(_ cgImage: CGImage, scale: CGFloat, orientation: Image.Orientation = .up, label: Text)
CGImage runtime arg survives as expr; not rendered from bits at lowering.
iOS iOS 13macOS macOS 11
Image.resizable(capInsets:resizingMode:)
public func resizable(capInsets: EdgeInsets = EdgeInsets(), resizingMode: Image.ResizingMode = .stretch) -> Image
Catalogued + dedicated UI_SEMANTIC_RESIZABLE; capInsets/resizingMode carried by label.
iOS allmacOS all
Image.renderingMode(_:)
public func renderingMode(_ renderingMode: Image.TemplateRenderingMode?) -> Image
Catalogued + dedicated UI_SEMANTIC_RENDERING_MODE; mode enum lowered (e.g. .template).
iOS allmacOS all
Image.interpolation(_:)
public func interpolation(_ interpolation: Image.Interpolation) -> Image
Catalogued + dedicated UI_SEMANTIC_INTERPOLATION; interpolation enum lowered.
iOS allmacOS all
Image.antialiased(_:)
public func antialiased(_ isAntialiased: Bool) -> Image
Catalogued + dedicated UI_SEMANTIC_ANTIALIASED; isAntialiased bool lowered.
iOS allmacOS all
Image.symbolRenderingMode(_:)
public func symbolRenderingMode(_ mode: SymbolRenderingMode?) -> some View
Dedicated UI_SEMANTIC_SYMBOL_RENDERING_MODE; chain.c:491 maps the modifier and chain.c:1946 decomposes the SymbolRenderingMode token into UISemantic.symbol_rendering_mode (uiir.h:921), with JSON literal payload.mode (json_modifier.c:1586). Renderer behavior remains separate.
iOS iOS 15macOS macOS 12
Image.symbolVariant(_:)
public func symbolVariant(_ variant: SymbolVariants) -> some View
Dedicated UI_SEMANTIC_SYMBOL_VARIANT; chain.c:493 maps the modifier and chain.c:1946 decomposes the SymbolVariants token into UISemantic.symbol_variant (uiir.h:922), with JSON literal payload.variant (json_modifier.c:1594). Renderer behavior remains separate.
iOS iOS 15macOS macOS 12
Image.symbolEffect(_:options:isActive:)
public func symbolEffect<T>(_ effect: T, options: SymbolEffectOptions = .default, isActive: Bool = true) -> some View where T : IndefiniteSymbolEffect
Dedicated UI_SEMANTIC_SYMBOL_EFFECT; chain.c:600 maps the modifier and chain.c:2500 decomposes effect, options, and literal/default isActive into UISemantic.symbol_effect, symbol_effect_options, and symbol_effect_is_active (uiir.h:997), with JSON payload.effect, payload.options, and payload.isActive (json_modifier.c:1791). Symbol animation playback remains renderer/runtime policy.
iOS iOS 17macOS macOS 14
Image.imageScale(_:)
public func imageScale(_ scale: Image.Scale) -> some View
Dedicated UI_SEMANTIC_IMAGE_SCALE; chain.c:1946 decomposes the Image.Scale token into UISemantic.image_scale (uiir.h:920) and JSON emits literal payload.scale (json_modifier.c:1579). Renderer behavior remains separate.
iOS iOS 13macOS macOS 11
Image.ResizingMode
public enum ResizingMode : Sendable
module enum stub exists and Image.resizable(..., resizingMode:) already carries the mode contextually; standalone nested enum semantics remain structural.
iOS allmacOS all
Image.TemplateRenderingMode
public enum TemplateRenderingMode : Sendable
module enum stub exists and Image.renderingMode(_:) lowers mode args contextually; standalone nested enum semantics remain structural.
iOS allmacOS all
Image.Interpolation
public enum Interpolation : Sendable
module enum stub exists and Image.interpolation(_:) lowers interpolation args contextually; standalone nested enum semantics remain structural.
iOS allmacOS all
Image.Scale
public enum Scale : Sendable
No standalone value-type catalog, but imageScale(_:) contextually lowers enum/member tokens to UISemantic.image_scale (chain.c:1946, json_modifier.c:1579). Other contexts remain raw args.
iOS iOS 13macOS macOS 11
Image.Orientation
@frozen public enum Orientation : UInt8, CaseIterable, Hashable, Sendable
module enum stub exists and orientation args survive structurally in CGImage initializers; bitmap/orientation runtime is not modeled.
iOS allmacOS all
Image.DynamicRange
public enum DynamicRange : Hashable, Sendable
module enum stub preserves type surface; HDR/dynamic-range rendering behavior is not modeled.
iOS iOS 17macOS macOS 14
Image: Transferable
extension Image : Transferable
SDK vocab records Image : Transferable, and generic T: Transferable constraints accept Image; transfer/export pipeline runtime is not modeled.
iOS iOS 16macOS macOS 13
Label
@MainActor @preconcurrency public struct Label<Title, Icon> : View where Title : View, Icon : View
Catalogued view + ViewBuilder; web renders, Android emits TODO (icon+Text row pending).
iOS iOS 14macOS macOS 11
Label.init(title:icon:)
public init(@ViewBuilder title: () -> Title, @ViewBuilder icon: () -> Icon)
Title/icon closures lowered as child UIIR nodes.
iOS iOS 14macOS macOS 11
Label.init(_:image:)
nonisolated public init(_ titleKey: LocalizedStringKey, image name: String)
Title key + image-name captured; web extracts label+SF glyph for tabItem reuse.
iOS iOS 14macOS macOS 11
Label.init(_:systemImage:)
nonisolated public init(_ titleKey: LocalizedStringKey, systemImage name: String)
Title + SF-symbol name captured; web maps symbol glyph.
iOS iOS 14macOS macOS 11
Label.init(_:image:) (ImageResource)
nonisolated public init(_ titleKey: LocalizedStringKey, image resource: ImageResource)
Title + ImageResource overload lowers into Label args; web LabelView resolves ImageResource(name:) and renders the label with asset-icon metadata.
iOS iOS 17macOS macOS 14
Label.init(_:) (configuration)
nonisolated public init(_ configuration: LabelStyleConfiguration)
Style-config initializer call survives structurally with LabelStyleConfiguration; LabelStyle runtime/config execution is not modeled.
iOS iOS 14macOS macOS 11
View.labelStyle(_:)
nonisolated public func labelStyle<S>(_ style: S) -> some View where S : LabelStyle
Dedicated UI_SEMANTIC_LABEL_STYLE; style arg lowered (buttonStyle recipe).
iOS iOS 14macOS macOS 11
LabelStyle
@MainActor @preconcurrency public protocol LabelStyle
module protocol stub exists and .labelStyle(...) captures style tokens; style protocol body execution is not modeled.
iOS iOS 14macOS macOS 11
LabelStyleConfiguration
public struct LabelStyleConfiguration
module struct stub preserves configuration type metadata; style makeBody/config execution is not modeled.
iOS iOS 14macOS macOS 11
DefaultLabelStyle
public struct DefaultLabelStyle : LabelStyle
Concrete/default style token is normalized by ViewNode and web LabelView renders the default title+icon policy.
iOS iOS 14macOS macOS 11
IconOnlyLabelStyle
public struct IconOnlyLabelStyle : LabelStyle
Concrete style token is normalized by ViewNode; web LabelView renders only the icon glyph.
iOS iOS 14macOS macOS 11
TitleOnlyLabelStyle
public struct TitleOnlyLabelStyle : LabelStyle
Concrete style token is normalized by ViewNode; web LabelView renders only the title text.
iOS iOS 14macOS macOS 11
TitleAndIconLabelStyle
public struct TitleAndIconLabelStyle : LabelStyle
Concrete style token is normalized by ViewNode; web LabelView renders icon + title.
iOS iOS 14macOS macOS 11
AsyncImage
public struct AsyncImage<Content> : View where Content : View
Catalogued ViewBuilder view; web renders; Android emits Coil-pending TODO.
iOS iOS 15macOS macOS 12
AsyncImage.init(url:scale:)
public init(url: URL?, scale: CGFloat = 1) where Content == Image
url/scale args captured as node fields; placeholder/load is renderer-led.
iOS iOS 15macOS macOS 12
AsyncImage.init(url:scale:content:placeholder:)
public init<I, P>(url: URL?, scale: CGFloat = 1, @ViewBuilder content: @escaping (Image) -> I, @ViewBuilder placeholder: @escaping () -> P)
content/placeholder closures lower as child UIIR; image param closure captured.
iOS iOS 15macOS macOS 12
AsyncImage.init(url:scale:transaction:content:)
public init(url: URL?, scale: CGFloat = 1, transaction: Transaction = Transaction(), @ViewBuilder content: @escaping (AsyncImagePhase) -> Content)
Phase-closure captured as child builder; Transaction + phase switching not driven at lowering.
iOS iOS 15macOS macOS 12
AsyncImagePhase
public enum AsyncImagePhase : Sendable
Phase enum referenced inside the content closure body; no async load state machine.
iOS iOS 15macOS macOS 12
AsyncImagePhase.empty
case empty
Case usable inside builder if/switch; no runtime phase transition.
iOS iOS 15macOS macOS 12
AsyncImagePhase.success(_:)
case success(Image)
Case + associated Image lower via builder control flow; no real load.
iOS iOS 15macOS macOS 12
AsyncImagePhase.failure(_:)
case failure(any Error)
Case lowers via builder control flow; error never produced at lowering.
iOS iOS 15macOS macOS 12
AsyncImagePhase.image
public var image: Image? { get }
Property read survives as member expr in builder; no resolved image.
iOS iOS 15macOS macOS 12
AsyncImagePhase.error
public var error: (any Error)? { get }
Property read survives as member expr; always nil at lowering.
iOS iOS 15macOS macOS 12
ContentUnavailableView
public struct ContentUnavailableView<Label, Description, Actions> : View where Label : View, Description : View, Actions : View
Leaf/composite catalogued view; web renders centered VStack; Android pending.
iOS iOS 17macOS macOS 14
ContentUnavailableView.init(label:description:actions:)
public init(@ViewBuilder label: () -> Label, @ViewBuilder description: () -> Description = { EmptyView() }, @ViewBuilder actions: () -> Actions = { EmptyView() })
label/description/actions closures lower as child UIIR nodes.
iOS iOS 17macOS macOS 14
ContentUnavailableView.init(_:image:description:)
nonisolated public init(_ title: LocalizedStringKey, image name: String, description: Text? = nil)
Title + image-name + optional Text desc captured; web renders title (+children).
iOS iOS 17macOS macOS 14
ContentUnavailableView.init(_:systemImage:description:)
nonisolated public init(_ title: LocalizedStringKey, systemImage name: String, description: Text? = nil)
Title + SF-symbol + optional desc captured; web renders centered.
iOS iOS 17macOS macOS 14
ContentUnavailableView.search
public static var search: ContentUnavailableView<SearchUnavailableContent.Label, SearchUnavailableContent.Description, SearchUnavailableContent.Actions> { get }
Static search member; searchable-context binding not driven at lowering.
iOS iOS 17macOS macOS 14
ContentUnavailableView.search(text:)
public static func search(text: String) -> ContentUnavailableView<...>
Static factory; query text arg captured, no search state at lowering.
iOS iOS 17macOS macOS 14
Link
@MainActor @preconcurrency public struct Link<Label> : View where Label : View
Catalogued ViewBuilder view; web renders Link; Android emits open-URL TODO.
iOS iOS 14macOS macOS 11
Link.init(destination:label:)
@MainActor public init(destination: URL, @ViewBuilder label: () -> Label)
destination URL captured; label closure lowers as child UIIR; web renders the label and opens the resolved URL on tap.
iOS iOS 14macOS macOS 11
Link.init(_:destination:) (LocalizedStringKey)
nonisolated public init(_ titleKey: LocalizedStringKey, destination: URL)
Title key + destination captured; Label==Text variant; web opens the resolved URL on tap.
iOS iOS 14macOS macOS 11
Link.init(_:destination:) (String)
nonisolated public init<S>(_ title: S, destination: URL) where S : StringProtocol
Title string + destination captured; Label==Text variant; web opens the resolved URL on tap.
iOS iOS 14macOS macOS 11
Link.init(_:destination:) (LocalizedStringResource)
nonisolated public init(_ titleResource: LocalizedStringResource, destination: URL)
LocalizedStringResource title calls resolve to their string key in the web UIIR evaluator, and Link opens the resolved URL through the shared browser activation path.
iOS iOS 16macOS macOS 13
ShareLink
public struct ShareLink<Data, PreviewImage, PreviewIcon, Label> : View where Data : RandomAccessCollection, ...
Catalogued ViewBuilder view; web renders ShareLink; Android emits share-intent TODO.
iOS iOS 16macOS macOS 13
ShareLink.init(items:subject:message:preview:label:)
public init(items: Data, subject: Text? = nil, message: Text? = nil, preview: @escaping (Data.Element) -> SharePreview<PreviewImage, PreviewIcon>, @ViewBuilder label: () -> Label)
Label closure lowers; items/preview closures + Transferable captured generically, no share runtime.
iOS iOS 16macOS macOS 13
ShareLink.init(item:subject:message:preview:label:)
nonisolated public init<I>(item: I, subject: Text? = nil, message: Text? = nil, preview: SharePreview<PreviewImage, PreviewIcon>, @ViewBuilder label: () -> Label) where Data == CollectionOfOne<I>, I : Transferable
Single URL/String item overload; label child lowers, web share payload resolves item/message plus SharePreview title and image/icon metadata for browser share/copy fallback.
iOS iOS 16macOS macOS 13
ShareLink.init(items:subject:message:label:)
nonisolated public init(items: Data, subject: Text? = nil, message: Text? = nil, @ViewBuilder label: () -> Label)
URL/String items overload; label child lowers, web resolves items/subject/message into a share payload and uses navigator.share with clipboard fallback.
iOS iOS 16macOS macOS 13
ShareLink.init(items:subject:message:preview:) (default label)
nonisolated public init(items: Data, subject: Text? = nil, message: Text? = nil, preview: @escaping (Data.Element) -> SharePreview<...>)
DefaultShareLinkLabel variant; default label synthesized by renderer, args generic.
iOS iOS 16macOS macOS 13
ShareLink.init(_:item:...) (title + item)
nonisolated public init<I>(_ titleKey: LocalizedStringKey, item: I, subject: Text? = nil, message: Text? = nil, preview: SharePreview<...>) where Data == CollectionOfOne<I>, I : Transferable
Title-keyed URL/String share variant; web renderer maps title + item/message into a browser share payload. SharePreview metadata remains structural.
iOS iOS 16macOS macOS 13
ShareLink.init(item:subject:message:) (URL/String, default label)
nonisolated public init(item: URL, subject: Text? = nil, message: Text? = nil) where Data == CollectionOfOne<URL>
Default-label single-item URL/String variant; web renderer synthesizes the Share label and opens browser share/copy fallback with the resolved payload.
iOS iOS 16macOS macOS 13
SharePreview
public struct SharePreview<Image, Icon> where Image : Transferable, Icon : Transferable
module struct stub preserves type metadata and ShareLink preview args survive structurally; share-sheet preview runtime is not modeled.
iOS iOS 16macOS macOS 13
SharePreview.init(_:image:icon:)
public init(_ titleKey: LocalizedStringKey, image: Image, icon: Icon)
Structured ShareLink.preview arg resolves title plus Image(systemName:) image/icon metadata; web ShareLink carries it into browser share/copy fallback metadata.
iOS iOS 16macOS macOS 13
SharePreview.init(_:icon:)
public init(_ titleKey: LocalizedStringKey, icon: Icon)
Structured ShareLink.preview arg resolves title plus Image(systemName:) icon metadata; Image==Never overload is represented by an empty image field.
iOS iOS 16macOS macOS 13
SharePreview.init(_:image:)
public init(_ titleKey: LocalizedStringKey, image: Image)
Structured ShareLink.preview arg resolves title plus Image(systemName:) image metadata; Icon==Never overload is represented by an empty icon field.
iOS iOS 16macOS macOS 13
SharePreview.init(_:)
public init(_ titleKey: LocalizedStringKey)
Title-only SharePreview calls resolve into web ShareLink preview metadata and flow into browser share/copy fallback.
iOS iOS 16macOS macOS 13
View.lineLimit(_:)
nonisolated public func lineLimit(_ number: Int?) -> some View
Dedicated semantic metadata kind (lineLimit); both renderers honor it.
iOS allmacOS all
View.lineLimit(_:reservesSpace:)
nonisolated public func lineLimit(_ limit: Int, reservesSpace: Bool) -> some View
Dedicated UI_SEMANTIC_LINE_LIMIT; count/reservesSpace decompose to UISemantic line-limit fields (uiir.h:640, chain.c:603) and JSON payload.count/reservesSpace (json_modifier.c:876).
iOS iOS 16macOS macOS 13
View.lineSpacing(_:)
nonisolated public func lineSpacing(_ lineSpacing: CGFloat) -> some View
Dedicated UI_SEMANTIC_LINE_SPACING; numeric arg decomposes to UISemantic.line_spacing and JSON payload.lineSpacing (chain.c:1458, json_modifier.c:1422).
iOS allmacOS all
View.multilineTextAlignment(_:)
nonisolated public func multilineTextAlignment(_ alignment: TextAlignment) -> some View
Dedicated UI_SEMANTIC_MULTILINE_TEXT_ALIGNMENT; alignment arg decomposes to UISemantic.multiline_text_alignment and JSON payload.alignment (chain.c:1445, json_modifier.c:1164).
iOS allmacOS all
View.truncationMode(_:)
nonisolated public func truncationMode(_ mode: Text.TruncationMode) -> some View
Dedicated UI_SEMANTIC_TRUNCATION_MODE; mode arg decomposes to UISemantic.truncation_mode and JSON payload.mode (chain.c:1464, json_modifier.c:1444).
iOS allmacOS all
View.allowsTightening(_:)
nonisolated public func allowsTightening(_ flag: Bool) -> some View
Dedicated UI_SEMANTIC_ALLOWS_TIGHTENING; bool arg decomposes to UISemantic.allows_tightening and JSON payload.flag (chain.c:1467, json_modifier.c:1452).
iOS allmacOS all
View.minimumScaleFactor(_:)
nonisolated public func minimumScaleFactor(_ factor: CGFloat) -> some View
Dedicated UI_SEMANTIC_MINIMUM_SCALE_FACTOR; numeric arg decomposes to UISemantic.minimum_scale_factor and JSON payload.factor (chain.c:1473, json_modifier.c:1459).
iOS allmacOS all
View.textCase(_:)
nonisolated public func textCase(_ textCase: Text.Case?) -> some View
Dedicated UI_SEMANTIC_TEXT_CASE; enum arg decomposes to UISemantic.text_case and JSON payload.textCase (chain.c:1479, json_modifier.c:1466).
iOS allmacOS all
View.textSelection(_:)
nonisolated public func textSelection<S>(_ selectability: S) -> some View where S : TextSelectability
Dedicated UI_SEMANTIC_TEXT_SELECTION; chain.c:495 maps the modifier and chain.c:1946 decomposes the TextSelectability token into UISemantic.text_selection (uiir.h:923), with JSON literal payload.selectability (json_modifier.c:1601). Renderer behavior remains separate.
iOS iOS 15macOS macOS 12
View.textRenderer(_:)
nonisolated public func textRenderer<T>(_ renderer: T) -> some View where T : TextRenderer
Dedicated UI_SEMANTIC_TEXT_RENDERER; lowering maps textRenderer in modules/swiftui/compiler/lower/chain.c:733, and JSON preserves the renderer arg as semantic.payload.renderer (modules/swiftui/compiler/uiir/json_modifier.c:2215). TextRenderer protocol execution remains out of scope.
iOS iOS 18macOS macOS 15
View.dynamicTypeSize(_:)
nonisolated public func dynamicTypeSize(_ size: DynamicTypeSize) -> some View
Dedicated UI_SEMANTIC_DYNAMIC_TYPE_SIZE; enum args lower to payload.size, and web text/control renderers apply the exact dynamic-type font scale on the styled node.
iOS iOS 15macOS macOS 12
View.privacySensitive(_:)
nonisolated public func privacySensitive(_ sensitive: Bool = true) -> some View
Dedicated UI_SEMANTIC_PRIVACY_SENSITIVE; sensitive bool lowers to JSON and web renderer applies privacy redaction unless false.
iOS iOS 15macOS macOS 12
View.redacted(reason:)
nonisolated public func redacted(reason: RedactionReasons) -> some View
Dedicated semantic metadata kind; JSON carries payload.reason, and web renderer stores the normalized redaction reason while applying redaction chrome.
iOS iOS 14macOS macOS 11
View.unredacted()
nonisolated public func unredacted() -> some View
Dedicated UI_SEMANTIC_UNREDACTED; zero-arg flag clears web renderer redaction state.
iOS iOS 14macOS macOS 11
View.imageScale(_:)
nonisolated public func imageScale(_ scale: Image.Scale) -> some View
Dedicated UI_SEMANTIC_IMAGE_SCALE; chain.c:1946 decomposes the Image.Scale token into UISemantic.image_scale (uiir.h:920) and JSON emits literal payload.scale (json_modifier.c:1579). Renderer behavior remains separate.
iOS iOS 13macOS macOS 11
View.tint(_:)
nonisolated public func tint(_ tint: Color?) -> some View
Style metadata family (tint); color payload captured; renderer applies tint.
iOS iOS 15macOS macOS 12
Font
public struct Font : Hashable, Sendable
Font value type; payload fields captured by font() family; struct itself not fully modeled.
iOS allmacOS all
HelpLink
public struct HelpLink : View
Catalogued view (swiftui_stubs.h:109); macOS-only. Action and destination forms are executable in web; NSHelpManager anchor lookup/runtime remains partial.
iOSmacOS macOS 14.0
HelpLink.init(action:)
public init(action: @escaping () -> Void)
Catalog override treats the trailing closure as actionIR; web maps it to a synthetic Help ButtonView and executes the action through the normal button path.
iOSmacOS macOS 14.0
HelpLink.init(destination:)
public init(destination: URL)
Destination URL captured as arg; web maps it to the shared LinkView and opens the resolved help URL on tap.
iOSmacOS macOS 14.0
HelpLink.init(anchor:)
public init(anchor: NSHelpManager.AnchorName)
NSHelpManager anchor arg captured; Help book anchor lookup not executed at lowering.
iOSmacOS macOS 14.0

3. Controls / input views

120·54·0
Button
public struct Button<Label> : View where Label : View
dedicated direct-action view; action closure lowers to actionIR; label is child UIIR; web/compose render it
iOS allmacOS all
Button.init(action:label:)
public init(action: @escaping @MainActor () -> Void, @ViewBuilder label: () -> Label)
primary form; action lowered to actionIR, label children captured
iOS allmacOS all
Button.init(_:action:)
public init(_ titleKey: LocalizedStringKey, action: @escaping @MainActor () -> Void)
title+action lowered; synthesizes Text label
iOS allmacOS all
Button.init(_:action:) [String]
public init<S>(_ title: S, action: @escaping @MainActor () -> Void) where S : StringProtocol
string title + action lowered
iOS allmacOS all
Button.init(_:systemImage:action:)
public init(_ titleKey: LocalizedStringKey, systemImage: String, action: @escaping @MainActor () -> Void)
title+symbol Label captured; web synthesizes a LabelView for the symbol/title pair; action lowered
iOS iOS 14macOS macOS 11
Button.init(_:image:action:)
public init(_ titleKey: LocalizedStringKey, image: ImageResource, action: @escaping @MainActor () -> Void)
Title + ImageResource label arg lower on Button; web LabelView resolves ImageResource(name:) into icon metadata while preserving actionIR.
iOS iOS 17macOS macOS 14
Button.init(_:action:) [resource]
public init(_ titleResource: LocalizedStringResource, action: @escaping @MainActor () -> Void)
LocalizedStringResource title resolves through the shared Text/UIIR evaluator, so the web Button synthesizes the resolved Text label while preserving actionIR.
iOS iOS 16macOS macOS 13
Button.init(role:action:label:)
public init(role: ButtonRole?, action: @escaping @MainActor () -> Void, @ViewBuilder label: () -> Label)
action lowers to actionIR, label lowers as child UIIR, and role: enum args survive for renderer styling (.destructive red, default/cancel/confirm token preserved).
iOS iOS 15macOS macOS 12
Button.init(_:role:action:)
public init(_ titleKey: LocalizedStringKey, role: ButtonRole?, action: @escaping @MainActor () -> Void)
title+action+role lower together; web Button/List row renderers read the role arg while actionIR remains executable.
iOS iOS 15macOS macOS 12
Button.init(role:action:) [default label]
public init(role: ButtonRole, action: @escaping @MainActor () -> Void)
role+action lower as a Button node; web synthesizes the default Button label while preserving role styling/actionIR.
iOS iOS 26macOS macOS 26
Button.init(_:) [config]
public init(_ configuration: PrimitiveButtonStyleConfiguration)
PrimitiveButtonStyleConfiguration is a module struct stub and preserves type metadata; style-config initializer execution/rendering is not modeled
iOS allmacOS all
ButtonRole
public struct ButtonRole : Equatable, Sendable
module struct stub; role type metadata is preserved and .destructive is read contextually by Button/menu paths, but no standalone value model
iOS iOS 15macOS macOS 12
ButtonRole.destructive / .cancel / .confirm
public static let destructive: ButtonRole
static member tokens survive in role args; contextual handling exists for destructive, full ButtonRole value semantics are not modeled
iOS iOS 15macOS macOS 12
ButtonBorderShape
public struct ButtonBorderShape : Equatable, Sendable
No standalone value-type model, but buttonBorderShape(_:) contextually lowers static/factory tokens to UISemantic.button_border_shape (chain.c:1946, json_modifier.c:1608). Other contexts remain raw args.
iOS iOS 15macOS macOS 12
ButtonRepeatBehavior
public struct ButtonRepeatBehavior : Hashable, Sendable
No standalone value-type model, but buttonRepeatBehavior(_:) contextually lowers behavior tokens to UISemantic.button_repeat_behavior (chain.c:1946, json_modifier.c:1616). Other contexts remain raw args.
iOS iOS 17macOS macOS 14
View.buttonStyle(_:) [PrimitiveButtonStyle]
public func buttonStyle<S>(_ style: S) -> some View where S : PrimitiveButtonStyle
Dedicated UI_SEMANTIC_BUTTON_STYLE; style arg lowers to typed payload and web honors built-in bordered/prominent/glass/plain/default button policies. Custom makeBody remains covered by the style protocol rows.
iOS allmacOS all
View.buttonStyle(_:) [ButtonStyle]
public func buttonStyle<S>(_ style: S) -> some View where S : ButtonStyle
Same dedicated UI_SEMANTIC_BUTTON_STYLE setter path as the Style protocols section; value tokens are preserved and built-in style tokens affect web rendering. Custom style body execution remains out of scope.
iOS allmacOS all
View.buttonBorderShape(_:)
public func buttonBorderShape(_ shape: ButtonBorderShape) -> some View
Dedicated UI_SEMANTIC_BUTTON_BORDER_SHAPE; static/factory shape tokens lower to payload.shape, and web ButtonView applies capsule/rounded-rectangle/circle geometry for styled buttons.
iOS iOS 15macOS macOS 12
View.buttonRepeatBehavior(_:)
public func buttonRepeatBehavior(_ behavior: ButtonRepeatBehavior) -> some View
Dedicated UI_SEMANTIC_BUTTON_REPEAT_BEHAVIOR; chain.c:499 maps the modifier and chain.c:1946 decomposes behavior tokens into UISemantic.button_repeat_behavior (uiir.h:925), with JSON literal payload.behavior (json_modifier.c:1616). Renderer behavior remains separate.
iOS iOS 17macOS macOS 14
View.buttonSizing(_:)
public func buttonSizing(_ sizing: ButtonSizing) -> some View
Dedicated UI_SEMANTIC_BUTTON_SIZING; chain.c:509 maps the modifier and chain.c:1946 decomposes ButtonSizing tokens into UISemantic.button_sizing (uiir.h:930), with JSON literal payload.sizing (json_modifier.c:1654). Renderer behavior remains separate.
iOS iOS 26macOS macOS 26
ButtonStyle (protocol)
public protocol ButtonStyle
module protocol stub; buttonStyle(_:) preserves style tokens, but custom makeBody execution is not modeled
iOS allmacOS all
PrimitiveButtonStyle (protocol)
public protocol PrimitiveButtonStyle
module protocol stub; primitive button style tokens/config types are preserved, but protocol execution is not modeled
iOS allmacOS all
BorderedButtonStyle
public struct BorderedButtonStyle : PrimitiveButtonStyle
Concrete style token normalizes to bordered; web ButtonView renders the bordered pill policy.
iOS allmacOS all
BorderedProminentButtonStyle
public struct BorderedProminentButtonStyle : PrimitiveButtonStyle
Concrete style token normalizes to borderedProminent; web ButtonView renders accent fill, white text, capsule sizing.
iOS allmacOS all
BorderlessButtonStyle
public struct BorderlessButtonStyle : PrimitiveButtonStyle
Concrete style token normalizes to borderless; web ButtonView keeps the text-only/default policy.
iOS allmacOS all
PlainButtonStyle
public struct PlainButtonStyle : PrimitiveButtonStyle
Concrete style token normalizes to plain; web ButtonView keeps text-only sizing without pill padding.
iOS allmacOS all
DefaultButtonStyle
public struct DefaultButtonStyle : PrimitiveButtonStyle
Concrete/default style token normalizes to automatic; web ButtonView uses the default render path.
iOS allmacOS all
GlassButtonStyle / GlassProminentButtonStyle
public struct GlassButtonStyle : PrimitiveButtonStyle
Concrete Liquid Glass style tokens normalize to glass / glassProminent; web ButtonView applies the existing glass/pill policies.
iOS iOS 26macOS macOS 26
Toggle
public struct Toggle<Label> : View where Label : View
control-binding view; isOn Binding<Bool> lowered to typed control-binding metadata; web/compose render tap-to-toggle
iOS allmacOS all
Toggle.init(isOn:label:)
public init(isOn: Binding<Bool>, @ViewBuilder label: () -> Label)
isOn binding resolved from lowered state_ref_idx; label child captured
iOS allmacOS all
Toggle.init(_:isOn:)
public init(_ titleKey: LocalizedStringKey, isOn: Binding<Bool>)
title + bool binding lowered to control-binding metadata
iOS allmacOS all
Toggle.init(_:isOn:) [String]
public init<S>(_ title: S, isOn: Binding<Bool>) where S : StringProtocol
string title + bool binding lowered
iOS allmacOS all
Toggle.init(_:systemImage:isOn:)
public init(_ titleKey: LocalizedStringKey, systemImage: String, isOn: Binding<Bool>)
symbol label + binding captured; web renders the leading SF symbol/label alongside the switch
iOS iOS 17macOS macOS 14
Toggle.init(_:image:isOn:)
public init(_ titleKey: LocalizedStringKey, image: ImageResource, isOn: Binding<Bool>)
Title + ImageResource label arg lower on Toggle; web resolves the asset icon metadata and renders it next to the bound switch.
iOS iOS 17macOS macOS 14
Toggle.init(sources:isOn:label:)
public init<C>(sources: C, isOn: KeyPath<C.Element, Binding<Bool>>, @ViewBuilder label: () -> Label) where C : RandomAccessCollection
captured as Toggle; multi-source KeyPath binding not modeled, mixed-state runtime is renderer-led
iOS iOS 16macOS macOS 13
Toggle.init(_:) [config]
public init(_ configuration: ToggleStyleConfiguration)
ToggleStyleConfiguration is a module struct stub and preserves type metadata; style-config initializer execution is not modeled
iOS allmacOS all
View.toggleStyle(_:)
public func toggleStyle<S>(_ style: S) -> some View where S : ToggleStyle
Dedicated UI_SEMANTIC_TOGGLE_STYLE; style arg lowers to typed payload and web ToggleView honors built-in automatic/switch policy.
iOS allmacOS all
ToggleStyle (protocol)
public protocol ToggleStyle
module protocol stub; toggleStyle(_:) preserves style tokens, but style protocol execution is not modeled
iOS allmacOS all
SwitchToggleStyle
public struct SwitchToggleStyle : ToggleStyle
Concrete style token normalizes to switch; web ToggleView renders the switch policy.
iOS allmacOS all
ButtonToggleStyle
public struct ButtonToggleStyle : ToggleStyle
module struct stub and style token surface; button-toggle rendering semantics are not modeled
iOS iOS 15macOS macOS 12
DefaultToggleStyle
public struct DefaultToggleStyle : ToggleStyle
Concrete style token normalizes to automatic; web ToggleView keeps the default switch policy.
iOS allmacOS all
Slider
public struct Slider<Label, ValueLabel> : View where Label : View, ValueLabel : View
control-binding view; value Binding lowered; web drag updates bound @State, compose renders
iOS allmacOS all
Slider.init(value:in:onEditingChanged:)
public init<V>(value: Binding<V>, in bounds: ClosedRange<V> = 0...1, onEditingChanged: @escaping (Bool) -> Void = { _ in }) where V : BinaryFloatingPoint, V.Stride : BinaryFloatingPoint
value binding + bounds lowered; onEditingChanged closure captured as action
iOS allmacOS all
Slider.init(value:in:step:onEditingChanged:)
public init<V>(value: Binding<V>, in bounds: ClosedRange<V>, step: V.Stride = 1, onEditingChanged: @escaping (Bool) -> Void = { _ in }) where V : BinaryFloatingPoint
value+bounds+step lowered to control-binding metadata
iOS allmacOS all
Slider.init(value:in:label:minimumValueLabel:maximumValueLabel:...)
public init<V>(value: Binding<V>, in bounds: ClosedRange<V> = 0...1, @ViewBuilder label: () -> Label, @ViewBuilder minimumValueLabel: () -> ValueLabel, @ViewBuilder maximumValueLabel: () -> ValueLabel, onEditingChanged: ...) where V : BinaryFloatingPoint
value binding captured; min/max value labels children captured but renderer shows bar only
iOS allmacOS all
Slider.init(value:...neutralValue:enabledBounds:ticks:...)
public init<V>(value: Binding<V>, in bounds: ClosedRange<V> = 0...1, neutralValue: V? = nil, enabledBounds: ClosedRange<V>? = nil, ... @SliderTickBuilder<V> ticks: () -> some SliderTickContent, ...)
value binding captured; neutralValue/enabledBounds/ticks builder not modeled
iOS iOS 26macOS macOS 26
SliderTick
public struct SliderTick<V> : SliderTickContent, Identifiable, Comparable where V : BinaryFloatingPoint
module struct stub preserves generic type metadata; slider tick rendering/comparison semantics are not modeled
iOS iOS 26macOS macOS 26
SliderTickContent (protocol)
public protocol SliderTickContent<Value>
module protocol stub; tick builder protocol execution is not modeled
iOS iOS 26macOS macOS 26
SliderTickBuilder
@resultBuilder public struct SliderTickBuilder<V> where V : BinaryFloatingPoint
module struct stub preserves builder type metadata; tick result-builder lowering remains unmodeled
iOS iOS 26macOS macOS 26
View.sliderThumbVisibility(_:)
public func sliderThumbVisibility(_ visibility: Visibility) -> some View
Dedicated UI_SEMANTIC_SLIDER_THUMB_VISIBILITY; chain.c:511 maps the modifier and chain.c:1946 decomposes the Visibility token into UISemantic.slider_thumb_visibility (uiir.h:931), with JSON literal payload.visibility (json_modifier.c:1662). Renderer behavior remains separate.
iOS iOS 26macOS macOS 26
Stepper
public struct Stepper<Label> : View where Label : View
control-binding view; value binding lowered; web stepperAdjust ± clamps to in: range by step:, compose pending
iOS allmacOS all
Stepper.init(label:onIncrement:onDecrement:onEditingChanged:)
public init(@ViewBuilder label: () -> Label, onIncrement: (() -> Void)?, onDecrement: (() -> Void)?, onEditingChanged: @escaping (Bool) -> Void = { _ in })
label captured; onIncrement/onDecrement closures captured as actions, manual-callback form less directly modeled
iOS allmacOS all
Stepper.init(value:step:label:onEditingChanged:)
public init<V>(value: Binding<V>, step: V.Stride = 1, @ViewBuilder label: () -> Label, onEditingChanged: ...) where V : Strideable
value binding + step lowered; web stepperAdjust mutates bound @State
iOS allmacOS all
Stepper.init(value:in:step:label:onEditingChanged:)
public init<V>(value: Binding<V>, in bounds: ClosedRange<V>, step: V.Stride = 1, @ViewBuilder label: () -> Label, onEditingChanged: ...) where V : Strideable
value+range+step lowered; web clamps to in: range (0..10 unit-tested)
iOS allmacOS all
Stepper.init(_:value:in:step:onEditingChanged:)
public init<V>(_ titleKey: LocalizedStringKey, value: Binding<V>, in bounds: ClosedRange<V>, step: V.Stride = 1, onEditingChanged: ...) where V : Strideable
title + value/range/step lowered to control-binding metadata
iOS allmacOS all
Stepper.init(value:...format:...)
public init<F>(value: Binding<F.FormatInput>, step: F.FormatInput.Stride = 1, format: F, @ViewBuilder label: () -> Label, onEditingChanged: ...) where F : ParseableFormatStyle, F.FormatOutput == String
value binding captured; format: ParseableFormatStyle not modeled
iOS iOS 15macOS macOS 12
TextField
public struct TextField<Label> : View where Label : View
control-binding view; text Binding<String> lowered; web uses prompt(), onSubmit fires after commit, binding from state_ref_idx
iOS allmacOS all
TextField.init(_:text:)
public init(_ titleKey: LocalizedStringKey, text: Binding<String>)
title + text binding lowered to typed control-binding metadata
iOS allmacOS all
TextField.init(_:text:) [String]
public init<S>(_ title: S, text: Binding<String>) where S : StringProtocol
string title + text binding lowered
iOS allmacOS all
TextField.init(_:text:prompt:)
public init(_ titleKey: LocalizedStringKey, text: Binding<String>, prompt: Text?)
title+text+prompt captured; prompt Text approximated
iOS iOS 15macOS macOS 12
TextField.init(text:prompt:label:)
public init(text: Binding<String>, prompt: Text? = nil, @ViewBuilder label: () -> Label)
text binding + label child captured
iOS iOS 15macOS macOS 12
TextField.init(_:text:prompt:axis:)
public init(_ titleKey: LocalizedStringKey, text: Binding<String>, prompt: Text?, axis: Axis)
text binding lowers to typed control-binding metadata; prompt Text(...) is preserved and web uses it as placeholder, while .vertical axis selects a taller multiline-style field.
iOS iOS 16macOS macOS 13
TextField.init(_:text:selection:prompt:axis:)
public init(_ titleKey: LocalizedStringKey, text: Binding<String>, selection: Binding<TextSelection?>, prompt: Text? = nil, axis: Axis? = nil)
Text and selection bindings lower as args; web keeps prompt/axis behavior and writes a collapsed {start,end} selection to the selection binding after text commit.
iOS iOS 18macOS macOS 15
TextField.init(_:value:format:prompt:)
public init<F>(_ titleKey: LocalizedStringKey, value: Binding<F.FormatInput?>, format: F, prompt: Text? = nil) where F : ParseableFormatStyle, F.FormatOutput == String
captured as TextField; value+format ParseableFormatStyle binding not modeled, treated as text
iOS iOS 15macOS macOS 12
TextField.init(_:value:formatter:)
public init<V>(_ titleKey: LocalizedStringKey, value: Binding<V>, formatter: Formatter)
captured as TextField; Formatter binding not modeled
iOS allmacOS all
TextField.init(_:text:onEditingChanged:onCommit:)
public init<S>(_ title: S, text: Binding<String>, onEditingChanged: @escaping (Bool) -> Void, onCommit: @escaping () -> Void) where S : StringProtocol
text binding lowered; onCommit/onEditingChanged closures captured as actions
iOS allmacOS all
View.textFieldStyle(_:)
public func textFieldStyle<S>(_ style: S) -> some View where S : TextFieldStyle
Dedicated UI_SEMANTIC_TEXT_FIELD_STYLE; style arg lowers to typed payload and web TextFieldView honors built-in automatic/plain/rounded/square policies.
iOS allmacOS all
TextFieldStyle (protocol)
public protocol TextFieldStyle
module protocol stub; textFieldStyle(_:) preserves style tokens, but style protocol execution is not modeled
iOS allmacOS all
RoundedBorderTextFieldStyle
public struct RoundedBorderTextFieldStyle : TextFieldStyle
Concrete style token normalizes to roundedBorder; web TextFieldView draws rounded border chrome.
iOS allmacOS all
PlainTextFieldStyle / DefaultTextFieldStyle
public struct PlainTextFieldStyle : TextFieldStyle
Concrete style tokens normalize to plain / automatic; web TextFieldView applies plain no-chrome and default separator policies.
iOS allmacOS all
View.keyboardType(_:)
public func keyboardType(_ type: UIKeyboardType) -> some View
Dedicated UI_SEMANTIC_KEYBOARD_TYPE; type enum lowered (→HTML input type).
iOS allmacOS
View.textContentType(_:)
public func textContentType(_ textContentType: UITextContentType?) -> some View
Dedicated UI_SEMANTIC_TEXT_CONTENT_TYPE; contentType enum lowered (→autocomplete attr).
iOS allmacOS
View.textInputAutocapitalization(_:)
public func textInputAutocapitalization(_ autocapitalization: TextInputAutocapitalization?) -> some View
Dedicated UI_SEMANTIC_TEXT_INPUT_AUTOCAPITALIZATION; autocapitalization enum lowered.
iOS iOS 15macOS
View.autocorrectionDisabled(_:)
public func autocorrectionDisabled(_ disable: Bool = true) -> some View
Dedicated UI_SEMANTIC_AUTOCORRECTION_DISABLED; disabled bool lowered (→spellcheck attr).
iOS allmacOS all
View.submitLabel(_:)
public func submitLabel(_ submitLabel: SubmitLabel) -> some View
Dedicated UI_SEMANTIC_SUBMIT_LABEL; label enum lowered (→enterkeyhint).
iOS iOS 15macOS macOS 12
SubmitLabel
public struct SubmitLabel : Sendable
module struct stub; submitLabel(_:) contextually lowers submit label tokens, no standalone value model
iOS iOS 15macOS macOS 12
View.textInputCompletion(_:)
public func textInputCompletion(_ completion: String) -> some View
Dedicated UI_SEMANTIC_TEXT_INPUT_COMPLETION; completion string lowered.
iOS iOS 26macOS macOS 26
View.textInputSuggestions(_:)
public func textInputSuggestions(...) -> some View
Dedicated UI_SEMANTIC_TEXT_INPUT_SUGGESTIONS; lowering maps textInputSuggestions in modules/swiftui/compiler/lower/chain.c:880, and JSON preserves the suggestions arg as semantic.payload.suggestions (modules/swiftui/compiler/uiir/json_modifier.c:2629).
iOS iOS 18macOS macOS 15
SecureField
public struct SecureField<Label> : View where Label : View
control-binding view; text Binding<String> lowered; web renders masked field, binding from state_ref_idx
iOS allmacOS all
SecureField.init(_:text:)
public init(_ titleKey: LocalizedStringKey, text: Binding<String>)
title + text binding lowered to control-binding metadata
iOS allmacOS all
SecureField.init(_:text:prompt:)
public init(_ titleKey: LocalizedStringKey, text: Binding<String>, prompt: Text?)
title+text+prompt captured
iOS iOS 15macOS macOS 12
SecureField.init(text:prompt:label:)
public init(text: Binding<String>, prompt: Text? = nil, @ViewBuilder label: () -> Label)
text binding + label child captured
iOS iOS 15macOS macOS 12
SecureField.init(_:text:onCommit:)
public init(_ titleKey: LocalizedStringKey, text: Binding<String>, onCommit: @escaping () -> Void)
text binding lowered; onCommit closure captured as action
iOS allmacOS all
TextEditor
public struct TextEditor : View
control-binding view; text Binding<String> lowered; web renders via TextField reuse (TextEditor->TextField)
iOS iOS 14macOS macOS 11
TextEditor.init(text:)
public init(text: Binding<String>)
text binding lowered to typed control-binding metadata
iOS iOS 14macOS macOS 11
TextEditor.init(text:selection:)
public init(text: Binding<String>, selection: Binding<TextSelection?>)
Text + selection bindings lower as args; web maps TextEditor to multiline text input and writes a collapsed {start,end} selection after commit.
iOS iOS 18macOS macOS 15
TextEditor.init(text:selection:) [AttributedString]
public init(text: Binding<AttributedString>, selection: Binding<AttributedTextSelection>? = nil)
captured; AttributedString text + attributed selection binding not modeled
iOS iOS 26macOS macOS 26
View.textEditorStyle(_:)
public func textEditorStyle(_ style: some TextEditorStyle) -> some View
Dedicated UI_SEMANTIC_TEXT_EDITOR_STYLE; style arg is preserved as typed payload.style (uiir.h:866, chain.c:697, json_modifier.c:2258). Style protocol execution remains out of scope.
iOS iOS 17macOS macOS 14
TextEditorStyle (protocol)
public protocol TextEditorStyle
module protocol stub; textEditorStyle(_:) preserves style tokens, but style execution is not modeled
iOS iOS 17macOS macOS 14
Picker
public struct Picker<Label, SelectionValue, Content> : View where Label : View, SelectionValue : Hashable, Content : View
control-binding view; selection Binding lowered; web renders + resolves binding (showed var name before fix)
iOS allmacOS all
Picker.init(selection:content:label:)
public init(selection: Binding<SelectionValue>, @ViewBuilder content: () -> Content, @ViewBuilder label: () -> Label)
selection binding lowered; content children (tag-able rows) captured
iOS allmacOS all
Picker.init(_:selection:content:)
public init(_ titleKey: LocalizedStringKey, selection: Binding<SelectionValue>, @ViewBuilder content: () -> Content)
title + selection binding + content lowered
iOS allmacOS all
Picker.init(_:selection:content:) [String]
public init<S>(_ title: S, selection: Binding<SelectionValue>, @ViewBuilder content: () -> Content) where S : StringProtocol
string title + selection binding + content lowered
iOS allmacOS all
Picker.init(_:systemImage:selection:content:)
public init(_ titleKey: LocalizedStringKey, systemImage: String, selection: Binding<SelectionValue>, @ViewBuilder content: () -> Content)
symbol label + selection binding + content captured
iOS iOS 26macOS macOS 26
Picker.init(sources:selection:content:label:)
public init<C>(sources: C, selection: KeyPath<C.Element, Binding<SelectionValue>>, @ViewBuilder content: () -> Content, @ViewBuilder label: () -> Label) where C : RandomAccessCollection
captured as Picker; multi-source KeyPath selection not modeled
iOS iOS 16macOS macOS 13
Picker.init(selection:content:label:currentValueLabel:)
public init(selection: Binding<SelectionValue>, @ViewBuilder content: () -> Content, @ViewBuilder label: () -> Label, @ViewBuilder currentValueLabel: () -> some View)
selection binding captured; currentValueLabel slot not specially modeled
iOS iOS 17macOS
View.pickerStyle(_:)
public func pickerStyle<S>(_ style: S) -> some View where S : PickerStyle
Dedicated UI_SEMANTIC_PICKER_STYLE; style arg lowered (buttonStyle recipe).
iOS allmacOS all
PickerStyle (protocol)
public protocol PickerStyle
module protocol stub; pickerStyle(_:) preserves style tokens, but style protocol execution is not modeled
iOS allmacOS all
SegmentedPickerStyle
public struct SegmentedPickerStyle : PickerStyle
Concrete style token normalizes to segmented; web PickerView renders the segmented control policy.
iOS allmacOS all
WheelPickerStyle
public struct WheelPickerStyle : PickerStyle
Concrete style token normalizes to wheel; web PickerView renders a wheel-style selected center row.
iOS iOS 13macOS
MenuPickerStyle
public struct MenuPickerStyle : PickerStyle
Concrete style token normalizes to menu; web PickerView renders the menu-row policy with tagged options.
iOS iOS 14macOS macOS 11
InlinePickerStyle / PalettePickerStyle / NavigationLinkPickerStyle / DefaultPickerStyle
public struct InlinePickerStyle : PickerStyle
Concrete style tokens normalize to inline/palette/navigationLink/automatic; web PickerView renders inline rows, palette segmented controls, or menu-row navigation policy.
iOS iOS 14macOS macOS 11
RadioGroupPickerStyle
public struct RadioGroupPickerStyle : PickerStyle
Concrete style token normalizes to radioGroup; web PickerView renders radio option rows.
iOSmacOS macOS 10.15
View.horizontalRadioGroupLayout()
public func horizontalRadioGroupLayout() -> some View
macOS-only; horizontalRadioGroupLayout catalogued as generic UIMod only
iOSmacOS macOS 10.15
View.defaultWheelPickerItemHeight(_:)
public func defaultWheelPickerItemHeight(_ height: CGFloat) -> some View
watchOS-only; defaultWheelPickerItemHeight catalogued as generic UIMod only
iOSmacOS
DatePicker
public struct DatePicker<Label> : View where Label : View
control-binding view; selection Binding<Date> lowered; tvOS unavailable; web renders DatePickerView from bound state, compose renders
iOS allmacOS all
DatePicker.init(selection:displayedComponents:label:)
public init(selection: Binding<Date>, displayedComponents: DatePicker<Label>.Components = [.hourAndMinute, .date], @ViewBuilder label: () -> Label)
date binding lowered; label child captured; web consumes .date / .hourAndMinute displayedComponents for the accessory text.
iOS allmacOS all
DatePicker.init(_:selection:displayedComponents:)
public init(_ titleKey: LocalizedStringKey, selection: Binding<Date>, displayedComponents: DatePicker<Label>.Components = [.hourAndMinute, .date])
title + date binding lowered to control-binding metadata; web formats the bound date/time value for the row accessory.
iOS allmacOS all
DatePicker.init(_:selection:in:displayedComponents:)
public init(_ titleKey: LocalizedStringKey, selection: Binding<Date>, in range: ClosedRange<Date>, displayedComponents: ...)
date binding captured; web display resolves in: ClosedRange<Date>-style bounds and clamps the rendered bound value before formatting displayedComponents.
iOS allmacOS all
DatePicker.init(_:selection:in:...) [PartialRange]
public init(_ titleKey: LocalizedStringKey, selection: Binding<Date>, in range: PartialRangeFrom<Date>, displayedComponents: ...)
date binding captured; compiler emits start... as a range expr with open upper bound, and web clamps the rendered value to the lower bound before formatting displayedComponents.
iOS allmacOS all
DatePickerComponents
public struct DatePickerComponents : OptionSet, Sendable
module struct stub preserves type metadata; web DatePicker consumes simple .date and .hourAndMinute tokens, but full OptionSet math is not modeled.
iOS allmacOS all
View.datePickerStyle(_:)
public func datePickerStyle<S>(_ style: S) -> some View where S : DatePickerStyle
Dedicated UI_SEMANTIC_DATE_PICKER_STYLE; style arg lowered (buttonStyle recipe).
iOS allmacOS all
DatePickerStyle (protocol)
public protocol DatePickerStyle
module protocol stub; datePickerStyle(_:) preserves style tokens, but style protocol execution is not modeled
iOS allmacOS all
CompactDatePickerStyle / GraphicalDatePickerStyle / WheelDatePickerStyle / DefaultDatePickerStyle
public struct CompactDatePickerStyle : DatePickerStyle
Date picker style structs resolve as .datePickerStyle tokens; web DatePickerView renders compact/default row, graphical calendar-grid, and wheel policies.
iOS iOS 14macOS macOS 10.15
MultiDatePicker
public struct MultiDatePicker<Label> : View where Label : View
in catalog as leaf/stub view; web reuses DatePickerView single-date approximation; Set<DateComponents> binding not modeled
iOS iOS 16macOS
MultiDatePicker.init(selection:label:)
public init(selection: Binding<Set<DateComponents>>, @ViewBuilder label: () -> Label)
captured as view; multi-date Set binding not modeled, single-date approximation
iOS iOS 16macOS
MultiDatePicker.init(_:selection:in:)
public init(_ titleKey: LocalizedStringKey, selection: Binding<Set<DateComponents>>, in bounds: Range<Date>)
captured; Set selection + range bounds not modeled
iOS iOS 16macOS
ColorPicker
public struct ColorPicker<Label> : View where Label : View
control-binding view + leaf; selection Binding<Color> lowered; tvOS/watchOS unavailable; web renders the swatch from bound color state.
iOS iOS 14macOS macOS 11
ColorPicker.init(selection:supportsOpacity:label:)
public init(selection: Binding<Color>, supportsOpacity: Bool = true, @ViewBuilder label: () -> Label)
color binding lowered; label child captured; web reads hex/named/object color values from state. supportsOpacity picker UI remains renderer policy.
iOS iOS 14macOS macOS 11
ColorPicker.init(_:selection:supportsOpacity:)
public init(_ titleKey: LocalizedStringKey, selection: Binding<Color>, supportsOpacity: Bool = true)
title + color binding lowered to control-binding metadata; web resolves the bound value for the accessory swatch.
iOS iOS 14macOS macOS 11
ColorPicker.init(selection:supportsOpacity:label:) [CGColor]
public init(selection: Binding<CGColor>, supportsOpacity: Bool = true, @ViewBuilder label: () -> Label)
CGColor binding lowers as valueType=CGColor; web ColorPicker reads bound red/green/blue/alpha object colors and renders the swatch like Color bindings.
iOS iOS 14macOS macOS 11
ProgressView
public struct ProgressView<Label, CurrentValueLabel> : View where Label : View, CurrentValueLabel : View
dedicated view kind; web/compose render bar/spinner
iOS iOS 14macOS macOS 11
ProgressView.init()
public init() where Label == EmptyView
indeterminate spinner captured as ProgressView node
iOS iOS 14macOS macOS 11
ProgressView.init(value:total:)
public init<V>(value: V?, total: V = 1.0) where Label == EmptyView, CurrentValueLabel == EmptyView, V : BinaryFloatingPoint
determinate value/total lowered; web normalizes value / total and draws the clamped fraction as a bar.
iOS iOS 14macOS macOS 11
ProgressView.init(_:value:total:)
public init<V>(_ titleKey: LocalizedStringKey, value: V?, total: V = 1.0) where Label == Text, CurrentValueLabel == EmptyView, V : BinaryFloatingPoint
title + value/total lowered
iOS iOS 14macOS macOS 11
ProgressView.init(_:)
public init(_ titleKey: LocalizedStringKey) where Label == Text
labeled indeterminate captured
iOS iOS 14macOS macOS 11
ProgressView.init(timerInterval:countsDown:label:currentValueLabel:)
public init(timerInterval: ClosedRange<Date>, countsDown: Bool = true, @ViewBuilder label: () -> Label, @ViewBuilder currentValueLabel: () -> CurrentValueLabel)
captured as ProgressView; timer-interval Date range not modeled, no live countdown
iOS iOS 16macOS macOS 13
ProgressView.init(_:) [Progress]
public init(_ progress: Progress) where Label == EmptyView, CurrentValueLabel == EmptyView
captured; Foundation Progress object not modeled
iOS iOS 14macOS macOS 11
View.progressViewStyle(_:)
public func progressViewStyle<S>(_ style: S) -> some View where S : ProgressViewStyle
Dedicated UI_SEMANTIC_PROGRESS_VIEW_STYLE; style arg lowers to typed payload and web ProgressView honors built-in automatic/circular/linear policies.
iOS iOS 14macOS macOS 11
ProgressViewStyle (protocol)
public protocol ProgressViewStyle
module protocol stub; progressViewStyle(_:) preserves style tokens, but style protocol execution is not modeled
iOS iOS 14macOS macOS 11
LinearProgressViewStyle / CircularProgressViewStyle / DefaultProgressViewStyle
public struct LinearProgressViewStyle : ProgressViewStyle
Concrete/default style tokens normalize to linear / circular / automatic; web ProgressView chooses bar or spinner policy from the style.
iOS iOS 14macOS macOS 11
Gauge
public struct Gauge<Label, CurrentValueLabel, BoundsLabel, MarkedValueLabels> : View where Label : View, ...
dedicated view kind in catalog; tvOS unavailable; web renders -> ProgressView (value as a bar)
iOS iOS 16macOS macOS 13
Gauge.init(value:in:label:)
public init<V>(value: V, in bounds: ClosedRange<V> = 0...1, @ViewBuilder label: () -> Label) where ..., V : BinaryFloatingPoint
value/bounds + label captured; web normalizes value against the in: range and draws the clamped fraction as a bar.
iOS iOS 16macOS macOS 13
Gauge.init(value:in:label:currentValueLabel:)
public init<V>(value: V, in bounds: ClosedRange<V> = 0...1, @ViewBuilder label: () -> Label, @ViewBuilder currentValueLabel: () -> CurrentValueLabel) where ...
value/bounds captured; currentValueLabel slot not specially modeled
iOS iOS 16macOS macOS 13
Gauge.init(value:in:...minimumValueLabel:maximumValueLabel:markedValueLabels:)
public init<V>(value: V, in bounds: ClosedRange<V> = 0...1, ... @ViewBuilder minimumValueLabel: () -> BoundsLabel, @ViewBuilder maximumValueLabel: () -> BoundsLabel, @ViewBuilder markedValueLabels: () -> MarkedValueLabels) where V : BinaryFloatingPoint
value captured; min/max/marked label slots not specially modeled
iOS iOS 16macOS macOS 13
View.gaugeStyle(_:)
public func gaugeStyle<S>(_ style: S) -> some View where S : GaugeStyle
Dedicated UI_SEMANTIC_GAUGE_STYLE; style arg lowered (buttonStyle recipe).
iOS iOS 16macOS macOS 13
GaugeStyle (protocol)
public protocol GaugeStyle
module protocol stub; gaugeStyle(_:) preserves style tokens, but style protocol execution is not modeled
iOS iOS 16macOS macOS 13
AccessoryCircularGaugeStyle / AccessoryLinearGaugeStyle / LinearCapacityGaugeStyle / DefaultGaugeStyle
public struct AccessoryCircularGaugeStyle : GaugeStyle
Gauge style structs resolve as .gaugeStyle tokens; web Gauge renders linear and circular ring policies.
iOS iOS 16macOS macOS 13
Menu
public struct Menu<Label, Content> : View where Label : View, Content : View
ViewBuilder + control view in catalog; watchOS unavailable; web renders content (Menu->Group reuse)
iOS iOS 14macOS macOS 11
Menu.init(content:label:)
public init(@ViewBuilder content: () -> Content, @ViewBuilder label: () -> Label)
content + label children lowered as child UIIR
iOS iOS 14macOS macOS 11
Menu.init(_:content:)
public init(_ titleKey: LocalizedStringKey, @ViewBuilder content: () -> Content) where Label == Text
title + content children captured
iOS iOS 14macOS macOS 11
Menu.init(_:systemImage:content:)
public init(_ titleKey: LocalizedStringKey, systemImage: String, @ViewBuilder content: () -> Content)
symbol label + content children captured
iOS iOS 15macOS macOS 12
Menu.init(_:content:primaryAction:)
public init(_ titleKey: LocalizedStringKey, @ViewBuilder content: () -> Content, primaryAction: @escaping () -> Void) where Label == Text
content children + primaryAction closure captured as action
iOS iOS 15macOS macOS 12
Menu.init(_:) [config]
public init(_ configuration: MenuStyleConfiguration)
MenuStyleConfiguration is a module struct stub and preserves type metadata; style-config initializer execution is not modeled
iOS iOS 14macOS macOS 11
View.menuStyle(_:)
public func menuStyle<S>(_ style: S) -> some View where S : MenuStyle
Dedicated UI_SEMANTIC_MENU_STYLE; style arg lowered (buttonStyle recipe).
iOS iOS 14macOS macOS 11
MenuStyle (protocol)
public protocol MenuStyle
module protocol stub; menuStyle(_:) preserves style tokens, but style protocol execution is not modeled
iOS iOS 14macOS macOS 11
ButtonMenuStyle / BorderlessButtonMenuStyle / DefaultMenuStyle
public struct ButtonMenuStyle : MenuStyle
Menu style structs resolve as .menuStyle tokens; web Menu synthesizes a trigger Button and maps button/borderless/default policies to Button chrome.
iOS iOS 14macOS macOS 11
View.menuOrder(_:)
public func menuOrder(_ order: MenuOrder) -> some View
Dedicated UI_SEMANTIC_MENU_ORDER; chain.c:501 maps the modifier and chain.c:1946 decomposes MenuOrder tokens into UISemantic.menu_order (uiir.h:926), with JSON literal payload.order (json_modifier.c:1623). Renderer behavior remains separate.
iOS iOS 16macOS macOS 13
MenuOrder
public struct MenuOrder : Equatable, Hashable, Sendable
No standalone value-type model, but menuOrder(_:) contextually lowers order tokens to UISemantic.menu_order (chain.c:1946, json_modifier.c:1623). Other contexts remain raw args.
iOS iOS 16macOS macOS 13
View.menuIndicator(_:)
public func menuIndicator(_ visibility: Visibility) -> some View
Dedicated UI_SEMANTIC_MENU_INDICATOR; chain.c:503 maps the modifier and chain.c:1946 decomposes the Visibility token into UISemantic.menu_indicator_visibility (uiir.h:927), with JSON literal payload.visibility (json_modifier.c:1630). Renderer behavior remains separate.
iOS iOS 15macOS macOS 12
View.menuActionDismissBehavior(_:)
public func menuActionDismissBehavior(_ behavior: MenuActionDismissBehavior) -> some View
Dedicated UI_SEMANTIC_MENU_ACTION_DISMISS_BEHAVIOR; chain.c:505 maps the modifier and chain.c:1946 decomposes behavior tokens into UISemantic.menu_action_dismiss_behavior (uiir.h:928), with JSON literal payload.behavior (json_modifier.c:1638). Renderer behavior remains separate.
iOS iOS 16macOS macOS 13
MenuActionDismissBehavior
public struct MenuActionDismissBehavior : Equatable
No standalone value-type model, but menuActionDismissBehavior(_:) contextually lowers behavior tokens to UISemantic.menu_action_dismiss_behavior (chain.c:1946, json_modifier.c:1638). Other contexts remain raw args.
iOS iOS 16macOS macOS 13
MenuButton (macOS)
public struct MenuButton<Label, Content> : View where Label : View, Content : View
Deprecated macOS-only view is catalogued and web/UIIR synthesizes a trigger Button, preserving title/systemImage args, custom label child, action payloads, and .menuButtonStyle token mods.
iOSmacOS macOS 10.15
MenuButtonStyle (protocol, macOS)
public protocol MenuButtonStyle
module protocol stub; menuButtonStyle(_:) preserves style tokens, but deprecated style protocol execution is not modeled
iOSmacOS macOS 10.15
PullDownMenuButtonStyle (macOS)
public struct PullDownMenuButtonStyle : MenuButtonStyle
Concrete deprecated style struct resolves as a .menuButtonStyle token; web MenuButton normalizes it to pull-down trigger Button chrome.
iOSmacOS macOS 10.15
EditButton
public struct EditButton : View
in catalog as stub view; iOS-only; web renders -> ButtonView with 'Edit' label; no EditMode runtime
iOS allmacOS
EditButton.init()
public init()
captured as EditButton view node; EditMode environment toggle not modeled
iOS allmacOS
PasteButton
public struct PasteButton : View
in catalog as stub view; tvOS/watchOS unavailable; web renders -> ButtonView 'Paste'; no clipboard runtime
iOS iOS 16macOS macOS 10.15
PasteButton.init(supportedContentTypes:payloadAction:)
public init(supportedContentTypes: [UTType], payloadAction: @escaping ([NSItemProvider]) -> Void)
captured as view; UTType list + NSItemProvider payload not modeled
iOS iOS 16macOS macOS 11
PasteButton.init(payloadType:onPaste:)
public init<T>(payloadType: T.Type, onPaste: @escaping ([T]) -> Void) where T : Transferable
captured as view; Transferable payload binding not modeled
iOS iOS 16macOS macOS 13
RenameButton
public struct RenameButton<Label> : View where Label : View
Captured as a RenameButton view node; web preserves identity, synthesizes the default label, and executes the nearest closure-based .renameAction on tap.
iOS iOS 16macOS macOS 13
RenameButton.init()
public init() where Label == Label<Text, Image>
captured as RenameButton view node; web preserves the RenameButton identity, synthesizes the default label, and executes the nearest closure-based .renameAction on tap.
iOS iOS 16macOS macOS 13
View.renameAction(_:) [focus]
public func renameAction(_ isFocused: FocusState<Bool>.Binding) -> some View
Generated catalog marks renameAction as action-capable (include/generated/swiftui_stubs.h:543); lowering maps it to UI_SEMANTIC_RENAME_ACTION (modules/swiftui/compiler/lower/chain.c:932) and JSON emits semantic.payload.mode=focus plus payload.isFocused for the FocusState binding (modules/swiftui/compiler/uiir/json_modifier.c:1888).
iOS iOS 16macOS macOS 13
View.renameAction(_:) [closure]
public func renameAction(_ action: @escaping () -> Void) -> some View
Same UI_SEMANTIC_RENAME_ACTION path with semantic.payload.mode=action; closure overload maps to UI_EVENT_PAYLOAD_RENAME (modules/swiftui/compiler/lower/chain.c:51) and lowers the closure to actionIR.
iOS iOS 16macOS macOS 13
View.controlSize(_:)
public func controlSize(_ controlSize: ControlSize) -> some View
Dedicated UI_SEMANTIC_CONTROL_SIZE; enum/member tokens lower to payload.size, and web Button/Toggle/TextField renderers apply mini/small/regular/large/extraLarge sizing policies.
iOS iOS 15macOS macOS 10.15
View.controlGroupStyle(_:)
public func controlGroupStyle<S>(_ style: S) -> some View where S : ControlGroupStyle
Dedicated UI_SEMANTIC_CONTROL_GROUP_STYLE; style arg is preserved as typed payload.style (chain.c:711, json_modifier.c:2265).
iOS iOS 15macOS macOS 12
View.labelsHidden()
public func labelsHidden() -> some View
labelsHidden is a dedicated semantic modifier with lowered metadata
iOS allmacOS all
View.tint(_:)
public func tint(_ tint: Color?) -> some View
tint is a dedicated style metadata modifier; color payload captured (SwiftUICore)
iOS iOS 15macOS macOS 12
View.disabled(_:)
public func disabled(_ disabled: Bool) -> some View
Dedicated UI_SEMANTIC_DISABLED; chain.c:1753 decomposes literal Bool into UISemantic.disabled (uiir.h:872) and JSON emits payload.isDisabled (json_modifier.c:1427). SwiftUICore decl.
iOS allmacOS all
View.keyboardShortcut(_:modifiers:)
public func keyboardShortcut(_ key: KeyEquivalent, modifiers: EventModifiers = .command) -> some View
Dedicated UI_SEMANTIC_KEYBOARD_SHORTCUT via semantic_kind_for_modifier in modules/swiftui/compiler/lower/chain.c:654; key/modifier fields live in include/internal/uiir.h:946; JSON emits payload.key, payload.keyKind, and payload.modifiers in modules/swiftui/compiler/uiir/json_modifier.c:2094. Shortcut dispatch remains renderer/runtime policy.
iOS iOS 14macOS macOS 11
View.digitalCrownRotation(_:)
public func digitalCrownRotation<V>(_ binding: Binding<V>) -> some View where V : BinaryFloatingPoint
watchOS-only; digitalCrownRotation catalogued as generic UIMod only
iOSmacOS
SignInWithAppleButton
AuthenticationServices.SignInWithAppleButton
Constructor calls survive as generic SwiftUI view tokens; AuthenticationServices/platform sign-in runtime is not modeled.
iOSmacOS
TextFieldLink
public struct TextFieldLink<Label> : View where Label : View
Catalogued container (swiftui_stubs.h:137); watchOS 9.0+. ViewBuilder label; iOS 18 (unavailable on macOS). Captured structurally; text-input dialog trigger not modeled.
iOS iOS 18macOS
`TextFieldLink.init(_:prompt:onSubmit:)` (LocalizedStringKey)
public nonisolated init(_ titleKey: LocalizedStringKey, prompt: Text? = nil, onSubmit: @escaping (String) -> Void)
Title/prompt/onSubmit captured; text-input submission action carried generically, no text-input dialog runtime.
iOS iOS 18macOS

4. Lists / ForEach / tables

54·41·0
List
@MainActor public struct List<SelectionValue, Content> : View where SelectionValue : Hashable, Content : View
Catalog view (UINodeKind), ViewBuilder container; listStyle dedicated semantic kind; web renders inset/plain card, compose AppleList.
iOS allmacOS all
List.init(content:)
init(@ViewBuilder content: () -> Content) where SelectionValue == Never
Static-content List lowered; children become row UIIR nodes; web+compose render.
iOS allmacOS all
List.init(_:rowContent:)
init<Data, RowContent>(_ data: Data, @ViewBuilder rowContent: @escaping (Data.Element) -> RowContent) where Content == ForEach<Data, Data.Element.ID, RowContent>
Data arg and rowContent lower on the List node; web wraps them in a synthetic ForEach and materializes one list row per collection element with row parameter binding.
iOS allmacOS all
List.init(_:id:rowContent:)
init<Data, ID, RowContent>(_ data: Data, id: KeyPath<Data.Element, ID>, @ViewBuilder rowContent: @escaping (Data.Element) -> RowContent) where Content == ForEach<Data, ID, RowContent>
id: keypath is preserved and passed to the synthetic ForEach identity path; web iterates the collection into stable keyed list rows.
iOS allmacOS all
List.init(_:selection:rowContent:) [multi]
init<Data, RowContent>(_ data: Data, selection: Binding<Set<SelectionValue>>?, @ViewBuilder rowContent: @escaping (Data.Element) -> RowContent)
selection Binding is lowered and web List rows expose tap actions that toggle the row value in a Set-like selection binding; selected rows get renderer feedback.
iOS allmacOS all
List.init(_:selection:rowContent:) [single]
init<Data, RowContent>(_ data: Data, selection: Binding<SelectionValue?>?, @ViewBuilder rowContent: @escaping (Data.Element) -> RowContent)
selection Binding is lowered and web List rows expose tap actions that write the selected row value into the optional/single selection binding.
iOS iOS 13macOS all
List.init(_:children:rowContent:)
init<Data, RowContent>(_ data: Data, children: KeyPath<Data.Element, Data?>, selection:..., rowContent:) where Content == OutlineGroup<...>
hierarchical List builds OutlineGroup; OutlineGroup catalogued but only structural; recursive tree not expanded by renderers.
iOS iOS 14macOS all
List.init(_:selection:rowContent:) [Range]
init<RowContent>(_ data: Range<Int>, selection:..., @ViewBuilder rowContent: @escaping (Int) -> RowContent) where Content == ForEach<Range<Int>, Int, ...>
Range expression lowers on the List node; web converts it to a synthetic ForEach range and materializes one row per integer. Selection binding remains covered by the selection-specific rows above.
iOS allmacOS all
List.init(_:editActions:selection:rowContent:)
init<Data, RowContent>(_ data: Binding<Data>, selection:..., @ViewBuilder rowContent: @escaping (Binding<Data.Element>) -> RowContent)
binding-of-collection editable List; binding captured, edit/move/delete runtime not implemented.
iOS iOS 15macOS all
ForEach
public struct ForEach<Data, ID, Content> where Data : RandomAccessCollection, ID : Hashable (View/DynamicViewContent)
Catalog view + dedicated ViewBuilder for-each lowering; range & collection iteration; web has identity-keyed diffing; compose forEach{}.
iOS allmacOS all
ForEach.init(_:content:) [Identifiable]
init(_ data: Data, @ViewBuilder content: @escaping (Data.Element) -> Content) where ID == Data.Element.ID, Data.Element : Identifiable
Identifiable collection iteration fully lowered; web resolves @State data, stable per-row ids for transitions.
iOS allmacOS all
ForEach.init(_:id:content:)
init(_ data: Data, id: KeyPath<Data.Element, ID>, @ViewBuilder content: @escaping (Data.Element) -> Content)
id: keypath lowered as foreachIdentity; web rewrites cloned row ids by key; compose forEach (id key not yet emitted).
iOS allmacOS all
ForEach.init(_:content:) [Range]
init(_ data: Range<Int>, @ViewBuilder content: @escaping (Int) -> Content) where Data == Range<Int>, ID == Int
Constant/dynamic range iteration fully lowered; web resolves 0..<count per-pass; compose (lo until hi).
iOS allmacOS all
ForEach.init(_:editActions:content:)
init<C, R>(_ data: Binding<C>, editActions: EditActions<C>, @ViewBuilder content: @escaping (Binding<C.Element>) -> R)
editActions synthesizes delete/move; arg captured but EditActions semantics + binding-element edits are runtime, not modeled.
iOS iOS 16macOS iOS 16
ForEach.init(_:id:editActions:content:)
init<C, R>(_ data: Binding<C>, id: KeyPath<C.Element, ID>, editActions: EditActions<C>, @ViewBuilder content: @escaping (Binding<C.Element>) -> R)
binding+id+editActions form; structurally captured; edit-action synthesis not executed.
iOS iOS 16macOS iOS 16
ForEach : DynamicViewContent
extension ForEach : DynamicViewContent where Content : View
DynamicViewContent gives onDelete/onMove/onInsert on ForEach; all three callbacks now lower to typed edit action payloads, while collection edit execution remains renderer/runtime policy.
iOS allmacOS all
Section
public struct Section<Parent, Content, Footer>
Catalog view (UINodeKind), ViewBuilder container; header/footer children lowered; web renders, compose maps to grouped section.
iOS allmacOS all
Section.init(content:header:footer:)
init(@ViewBuilder content: () -> Content, @ViewBuilder header: () -> Parent, @ViewBuilder footer: () -> Footer)
header/footer/content slots lowered as child UIIR nodes.
iOS allmacOS all
Section.init(_:content:)
init(_ titleKey: LocalizedStringKey, @ViewBuilder content: () -> Content) where Parent == Text, Footer == EmptyView
title-string Section lowered; header becomes Text node.
iOS allmacOS all
Section.init(_:isExpanded:content:)
init(_ titleKey: LocalizedStringKey, isExpanded: Binding<Bool>, @ViewBuilder content: () -> Content)
collapsible Section lowers typed isExpanded control binding; web renderer draws disclosure header affordance and hides/shows section rows through the same toggle actionIR path.
iOS iOS 17macOS all
Section.init(content:header:) [TableRow]
init<V, H>(@TableRowBuilder<V> content: () -> Content, @ViewBuilder header: () -> H) where Parent == TableHeaderRowContent<V, H>
Section inside Table groups rows; TableRowBuilder content not modeled, structural at best.
iOS iOS 16macOS iOS 16
DisclosureGroup
public struct DisclosureGroup<Label, Content> : View where Label : View, Content : View
Catalog view + typed control-binding metadata; web uses DisclosureGroupView with collapsed/expanded measurement, label rendering, and tap-to-toggle behavior.
iOS iOS 14macOS all
DisclosureGroup.init(content:label:)
init(@ViewBuilder content: @escaping () -> Content, @ViewBuilder label: () -> Label)
Content and label closures lower as child UIIR nodes; renderer uses the last child as label and earlier children as collapsible content.
iOS iOS 14macOS all
DisclosureGroup.init(isExpanded:content:label:)
init(isExpanded: Binding<Bool>, @ViewBuilder content: @escaping () -> Content, @ViewBuilder label: () -> Label)
isExpanded lowers as writable Bool control binding (target=isExpanded); web toggles the bound state and remeasures content.
iOS iOS 14macOS all
DisclosureGroup.init(_:content:)
init(_ titleKey: LocalizedStringKey, @ViewBuilder content: @escaping () -> Content) where Label == Text
String-title form lowers the title arg and content children; renderer synthesizes the label Text.
iOS iOS 14macOS all
DisclosureGroup.init(_:isExpanded:content:)
init(_ titleKey: LocalizedStringKey, isExpanded: Binding<Bool>, @ViewBuilder content: @escaping () -> Content)
Title + binding form lowers both label arg and writable isExpanded binding; web click handling toggles expanded/collapsed state.
iOS iOS 14macOS all
OutlineGroup
public struct OutlineGroup<Data, ID, Parent, Leaf, Subgroup> where Data : RandomAccessCollection, ID : Hashable
Catalog view; web OutlineGroupView resolves data plus children key path, recursively materializes row content, and indents child rows. Collapse/expand affordances are not modeled.
iOS iOS 14macOS all
OutlineGroup.init(_:children:content:)
init<DataElement>(_ root: DataElement, children: KeyPath<DataElement, Data?>, @ViewBuilder content: @escaping (DataElement) -> Leaf)
data/root arg and children key path are consumed by the web recursive outline renderer with per-row item binding.
iOS iOS 14macOS all
OutlineGroup.init(_:id:children:content:)
init<DataElement>(_ data: Data, id: KeyPath<DataElement, ID>, children: KeyPath<DataElement, Data?>, @ViewBuilder content: @escaping (DataElement) -> Leaf)
id+children key paths lower on the OutlineGroup node; web uses explicit id: key path values for stable recursive row identity while binding each row item into content.
iOS iOS 14macOS all
OutlineGroup.init(_:children:) [TableRow]
init<DataElement>(_ data: Data, children: KeyPath<DataElement, Data?>) where Parent == TableRow<DataElement>
Table-row overload calls preserve data and children key path structurally; recursive table row expansion remains runtime-only.
iOS iOS 17macOS all
Table
public struct Table<Value, Rows, Columns> : View where Rows : TableRowContent, Columns : TableColumnContent
Catalog view as stable UIIR kind; web renders header plus simple data rows for Table(data) + TableColumn(_:value:); custom rows/sort/selection remain partial.
iOS iOS 16macOS macOS 12
Table.init(of:columns:rows:)
init(of valueType: Value.Type, @TableColumnBuilder columns: () -> Columns, @TableRowBuilder rows: () -> Rows)
columns/rows result-builder slots; TableColumnBuilder/TableRowBuilder not modeled; web shows headers only.
iOS iOS 16macOS macOS 12
Table.init(of:selection:columns:rows:)
init(of valueType: Value.Type, selection: Binding<Set<Value.ID>>, @TableColumnBuilder columns:..., @TableRowBuilder rows:...)
selection Binding captured structurally; no row selection runtime; rows not rendered.
iOS iOS 16macOS macOS 12
Table.init(_:columns:) [data]
init<Data>(_ data: Data, @TableColumnBuilder<Value, Never> columns: () -> Columns) where Rows == TableForEachContent<Data>
data arg resolves through UIIR props/state; web renderer materializes rows for simple TableColumn(_:value:) key-path text columns.
iOS iOS 16macOS macOS 12
Table.init(sortOrder:columns:rows:)
init<Sort>(sortOrder: Binding<[Sort]>, @TableColumnBuilder<Value, Sort> columns:..., @TableRowBuilder rows:...) where Sort : SortComparator
sortOrder Binding captured; SortComparator + column sort runtime not modeled.
iOS iOS 16macOS macOS 12
Table.init(of:columnCustomization:columns:rows:)
init(of valueType: Value.Type, columnCustomization: Binding<TableColumnCustomization<Value>>, @TableColumnBuilder columns:..., @TableRowBuilder rows:...)
columnCustomization Binding captured; TableColumnCustomization is a stub kind, no customization runtime.
iOS iOS 17macOS macOS 14
TableColumn
public struct TableColumn<RowValue, Sort, Content, Label> : TableColumnContent where RowValue : Identifiable, Sort : SortComparator
Catalog leaf view (stub kind); web renders bold title in header preview; content/value keypath not data-bound.
iOS iOS 16macOS macOS 12
TableColumn.init(_:content:)
init(_ titleKey: LocalizedStringKey, @ViewBuilder content: @escaping (RowValue) -> Content)
title + per-row content closure; only title used (header preview); content closure not applied per row.
iOS iOS 16macOS macOS 12
TableColumn.init(_:value:)
init(_ titleKey: LocalizedStringKey, value: KeyPath<RowValue, String>) where Content == Text
value key path is consumed by the web Table(data) renderer to populate text cells from each row item.
iOS iOS 16macOS macOS 12
TableColumn.init(_:value:content:)
init<V>(_ titleKey: LocalizedStringKey, value: KeyPath<RowValue, V>, @ViewBuilder content: @escaping (RowValue) -> Content) where V : Comparable
sortable value column; keypath + content captured; sorting/data-binding not modeled.
iOS iOS 16macOS macOS 12
TableColumn.init(_:value:comparator:content:)
init<V, C>(_ titleKey: LocalizedStringKey, value: KeyPath<RowValue, V>, comparator: C, @ViewBuilder content:...) where C : SortComparator
explicit comparator column; comparator + keypath are structural args; no sort runtime.
iOS iOS 16macOS macOS 12
TableColumn.init(_:sortUsing:content:)
init(_ titleKey: LocalizedStringKey, sortUsing comparator: Sort, @ViewBuilder content: @escaping (RowValue) -> Content)
sortUsing form; comparator captured structurally; sort behavior not executed.
iOS iOS 16macOS macOS 12
TableColumnForEach
public struct TableColumnForEach<Data, ID, RowValue, Sort, Content> : TableColumnContent
module struct stub preserves type metadata; dynamic table-column expansion remains structural only.
iOS iOS 17.4macOS macOS 14.4
TableColumnForEach.init(_:content:)
init(_ data: Data, @TableColumnBuilder content: @escaping (Data.Element) -> Content) where ID == Data.Element.ID, Data.Element : Identifiable
Constructor calls preserve data and builder closure structurally; dynamic column expansion is not executed.
iOS iOS 17.4macOS macOS 14.4
TableColumnForEach.init(_:id:content:)
init(_ data: Data, id: KeyPath<Data.Element, ID>, @TableColumnBuilder content: @escaping (Data.Element) -> Content)
Constructor calls preserve data/id key path and builder closure structurally; dynamic column expansion is not executed.
iOS iOS 17.4macOS macOS 14.4
TableRow
public struct TableRow<Value> : TableRowContent where Value : Identifiable
module struct stub preserves type metadata; row value/data binding is not materialized by renderers.
iOS iOS 16macOS macOS 12
TableRow.init(_:)
public init(_ value: Value)
Constructor calls preserve row value structurally; table row data binding/rendering is not materialized.
iOS iOS 16macOS macOS 12
TableRowContent
public protocol TableRowContent (TableRowValue, body)
Registered as stable stub kind in catalog; protocol not executed; structural placeholder only.
iOS iOS 16macOS macOS 12
DynamicTableRowContent
public protocol DynamicTableRowContent : TableRowContent
Stable stub kind; gives onDelete/onMove/onInsert on rows but no edit runtime; structural only.
iOS iOS 16macOS macOS 12
DisclosureTableRow
public struct DisclosureTableRow<RowValue, Content> : TableRowContent
Stable stub kind in catalog; expandable table row not rendered; structural placeholder.
iOS iOS 17macOS macOS 14
TableColumnCustomization
public struct TableColumnCustomization<RowValue> : Equatable, Sendable, Codable
Stable stub kind; column visibility/order state value, no customization runtime.
iOS iOS 17macOS macOS 14
TableColumnCustomizationBehavior
public struct TableColumnCustomizationBehavior : SetAlgebra, Sendable
module struct stub preserves type metadata; column customization runtime/order persistence is not modeled.
iOS iOS 17macOS macOS 14
EmptyTableRowContent
public struct EmptyTableRowContent<Value> : TableRowContent where Value : Identifiable
Stable stub kind; placeholder for empty header/footer rows; no render.
iOS iOS 16macOS macOS 12
TableColumnAlignment
public struct TableColumnAlignment : Hashable, Sendable
module struct stub preserves type metadata; table column alignment runtime remains structural.
iOS iOS 18macOS macOS 15
TableColumnBuilder
@resultBuilder public struct TableColumnBuilder<RowValue, Sort>
module result-builder stub preserves type metadata; builder evaluation is not executed.
iOS iOS 16macOS macOS 12
TableRowBuilder
@resultBuilder public struct TableRowBuilder<Value>
module result-builder stub preserves type metadata; builder evaluation is not executed.
iOS iOS 16macOS macOS 12
EditButton
public struct EditButton : View
Catalog view; web renders ButtonView with system 'Edit' label; edit-mode toggle behavior is renderer-led.
iOS iOS 13macOS
EditButton.init()
public init()
no-arg ctor lowered as a leaf button node.
iOS iOS 13macOS
EditMode
public enum EditMode : Sendable { case inactive, transient, active }
module enum stub preserves edit-mode type metadata; environment resolver/edit runtime is not modeled.
iOS iOS 13macOS
EditActions
public struct EditActions<Data> : OptionSet, Sendable
module struct stub preserves edit-action type metadata; delete/move synthesis remains renderer/runtime policy.
iOS iOS 16macOS iOS 16
View.listStyle(_:)
func listStyle<S>(_ style: S) -> some View where S : ListStyle
Dedicated semantic modifier kind; web honors .plain (edge-to-edge) vs grouped/inset/sidebar card; ListStyle protocol itself not executed.
iOS allmacOS all
View.listRowInsets(_:)
@inlinable func listRowInsets(_ insets: EdgeInsets?) -> some View
Dedicated UI_SEMANTIC_LIST_ROW_INSETS; chain.c:529 maps the modifier and chain.c:2072 decomposes literal EdgeInsets into UISemantic.list_row_inset_top/leading/bottom/trailing (uiir.h:949-uiir.h:953), with JSON payload.insets (json_modifier.c:240, case at json_modifier.c:1767). Nil/dynamic insets fall back to the raw arg. Renderer behavior remains separate.
iOS allmacOS all
View.listRowInsets(_:_:)
func listRowInsets(_ edges: Edge.Set = .all, _ length: CGFloat?) -> some View
Dedicated UI_SEMANTIC_LIST_ROW_INSETS; chain.c:2072 decomposes the Edge.Set overload into UISemantic.list_row_inset_edges (uiir.h:955) and numeric UISemantic.list_row_inset_length (uiir.h:957), with JSON payload.edges/payload.length (json_modifier.c:1767). Nil/dynamic length falls back to raw args. Renderer behavior remains separate.
iOS iOS 26macOS macOS 26
View.listRowBackground(_:)
func listRowBackground<V>(_ view: V?) -> some View where V : View
Dedicated UI_SEMANTIC_LIST_ROW_BACKGROUND; lowering maps listRowBackground in modules/swiftui/compiler/lower/chain.c:750, and JSON emits the row background view/style as semantic.payload.background (modules/swiftui/compiler/uiir/json_modifier.c:2283). Renderer treatment remains separate.
iOS allmacOS all
View.listRowSeparator(_:edges:)
func listRowSeparator(_ visibility: Visibility, edges: VerticalEdge.Set = .all) -> some View
Dedicated UI_SEMANTIC_LIST_ROW_SEPARATOR; chain.c:517 maps the modifier and chain.c:1999 decomposes Visibility into UISemantic.list_row_separator_visibility plus edges: into top/bottom UIEdgeSet (uiir.h:937, uiir.h:939), with JSON literal payload.visibility/payload.edges (json_modifier.c:1687). Missing edges default to top+bottom; renderer behavior remains separate.
iOS iOS 15macOS macOS 13
View.listRowSeparatorTint(_:edges:)
func listRowSeparatorTint(_ color: Color?, edges: VerticalEdge.Set = .all) -> some View
Dedicated UI_SEMANTIC_LIST_ROW_SEPARATOR_TINT; chain.c:521 maps the modifier and chain.c:1999 decomposes the first Color/ShapeStyle arg into UISemantic.color_value (uiir.h:974) plus edges: into top/bottom UIEdgeSet (uiir.h:944), with JSON payload.colorValue/payload.edges (json_modifier.c:1719). Missing edges default to top+bottom; unresolved/nil color falls back to the raw color arg. Renderer behavior remains separate.
iOS iOS 15macOS macOS 13
View.listSectionSeparator(_:edges:)
func listSectionSeparator(_ visibility: Visibility, edges: VerticalEdge.Set = .all) -> some View
Dedicated UI_SEMANTIC_LIST_SECTION_SEPARATOR; chain.c:519 maps the modifier and chain.c:1999 decomposes Visibility into UISemantic.list_section_separator_visibility plus edges: into top/bottom UIEdgeSet (uiir.h:940, uiir.h:942), with JSON literal payload.visibility/payload.edges (json_modifier.c:1703). Missing edges default to top+bottom; renderer behavior remains separate.
iOS iOS 15macOS macOS 13
View.listSectionSeparatorTint(_:edges:)
func listSectionSeparatorTint(_ color: Color?, edges: VerticalEdge.Set = .all) -> some View
Dedicated UI_SEMANTIC_LIST_SECTION_SEPARATOR_TINT; chain.c:523 maps the modifier and chain.c:1999 decomposes the first Color/ShapeStyle arg into UISemantic.color_value (uiir.h:974) plus edges: into top/bottom UIEdgeSet (uiir.h:946), with JSON payload.colorValue/payload.edges (json_modifier.c:1734). Missing edges default to top+bottom; unresolved/nil color falls back to the raw color arg. Renderer behavior remains separate.
iOS iOS 15macOS macOS 13
View.listRowSpacing(_:)
@inlinable func listRowSpacing(_ spacing: CGFloat?) -> some View
Dedicated UI_SEMANTIC_LIST_ROW_SPACING; chain.c:513 maps the modifier and chain.c:1978 decomposes numeric CGFloat into UISemantic.list_row_spacing (uiir.h:933), with JSON literal payload.spacing (json_modifier.c:1669). Non-literal/nil spacing remains as arg fallback. Renderer behavior remains separate.
iOS iOS 15macOS all
View.listSectionSpacing(_:) [enum]
@inlinable func listSectionSpacing(_ spacing: ListSectionSpacing) -> some View
Dedicated UI_SEMANTIC_LIST_SECTION_SPACING; chain.c:515 maps the modifier and chain.c:1978 decomposes ListSectionSpacing tokens into UISemantic.list_section_spacing_kind (uiir.h:934), with JSON literal payload.spacing (json_modifier.c:1676). macOS unavailable; renderer behavior remains separate.
iOS iOS 17macOS
View.listSectionSpacing(_:) [CGFloat]
@inlinable func listSectionSpacing(_ spacing: CGFloat) -> some View
Dedicated UI_SEMANTIC_LIST_SECTION_SPACING; chain.c:515 maps the modifier and chain.c:1978 decomposes numeric CGFloat into UISemantic.list_section_spacing (uiir.h:936), with JSON literal payload.spacing (json_modifier.c:1676). macOS unavailable; renderer behavior remains separate.
iOS iOS 17macOS
View.listItemTint(_:)
@inlinable func listItemTint(_ tint: Color?) -> some View
Dedicated UI_SEMANTIC_LIST_ITEM_TINT; chain.c:527 maps the modifier and chain.c:2124 decomposes ListItemTint tokens/factories into UISemantic.list_item_tint (uiir.h:948), while the Color overload and fixed/preferred factory colors lower into UISemantic.color_value (uiir.h:974; nested call extraction at chain.c:2107). JSON emits payload.tint and/or payload.colorValue (json_modifier.c:1756). Renderer behavior remains separate.
iOS iOS 14macOS all
View.listRowHoverEffect(_:)
func listRowHoverEffect(_ effect: HoverEffect?) -> some View
In catalog as generic UIMod; visionOS hover effect, no iOS/macOS gate; structural arg only.
iOSmacOS
View.swipeActions(edge:allowsFullSwipe:content:)
func swipeActions<T>(edge: HorizontalEdge = .trailing, allowsFullSwipe: Bool = true, @ViewBuilder content: () -> T) -> some View where T : View
Dedicated UI_SEMANTIC_SWIPE_ACTIONS; chain.c:531 maps the modifier and chain.c:2276 decomposes edge: into UISemantic.swipe_actions_edge (uiir.h:978) plus allowsFullSwipe: into UISemantic.swipe_actions_allows_full_swipe (uiir.h:980). Defaults are captured as trailing/true; JSON emits payload.edge/payload.allowsFullSwipe (json_modifier.c:2033). The action content closure remains structurally captured in args; swipe runtime is renderer policy.
iOS iOS 15macOS macOS 12
View.moveDisabled(_:)
@inlinable func moveDisabled(_ isDisabled: Bool) -> some View
Dedicated UI_SEMANTIC_MOVE_DISABLED; chain.c:461 maps the modifier and chain.c:1852 decomposes Bool into UISemantic.move_disabled (uiir.h:896), with JSON literal payload.isDisabled (json_modifier.c:1478). Renderer/runtime behavior remains separate.
iOS allmacOS all
View.deleteDisabled(_:)
@inlinable func deleteDisabled(_ isDisabled: Bool) -> some View
Dedicated UI_SEMANTIC_DELETE_DISABLED; chain.c:463 maps the modifier and chain.c:1855 decomposes Bool into UISemantic.delete_disabled (uiir.h:898), with JSON literal payload.isDisabled (json_modifier.c:1485). Renderer/runtime behavior remains separate.
iOS allmacOS all
View.selectionDisabled(_:)
func selectionDisabled(_ isDisabled: Bool = true) -> some View
Dedicated UI_SEMANTIC_SELECTION_DISABLED; chain.c:465 maps the modifier and chain.c:1836 captures the default true / chain.c:1858 decomposes explicit Bool into UISemantic.selection_disabled (uiir.h:900), with JSON literal payload.isDisabled (json_modifier.c:1492). Renderer/runtime behavior remains separate.
iOS iOS 17macOS macOS 14
View.refreshable(action:)
func refreshable(action: @escaping @Sendable () async -> Void) -> some View
Dedicated action-catalog modifier; closure lowers to actionIR with await/refresh payload; pull-to-refresh execution is renderer policy.
iOS iOS 15macOS macOS 12
View.tableColumnHeaders(_:)
func tableColumnHeaders(_ visibility: Visibility) -> some View
Dedicated UI_SEMANTIC_TABLE_COLUMN_HEADERS; chain.c:507 maps the modifier and chain.c:1946 decomposes the Visibility token into UISemantic.table_column_headers_visibility (uiir.h:929), with JSON literal payload.visibility (json_modifier.c:1646). Renderer behavior remains separate.
iOS iOS 17macOS macOS 14
View.tableStyle(_:)
func tableStyle<S>(_ style: S) -> some View where S : TableStyle
Dedicated UI_SEMANTIC_TABLE_STYLE; style arg lowered (buttonStyle recipe).
iOS iOS 16macOS macOS 12
View.disclosureGroupStyle(_:)
func disclosureGroupStyle<S>(_ style: S) -> some View where S : DisclosureGroupStyle
Dedicated UI_SEMANTIC_DISCLOSURE_GROUP_STYLE; style arg lowered (buttonStyle recipe).
iOS iOS 16macOS macOS 13
ListStyle
public protocol ListStyle
Style protocol captured via .listStyle metadata (.plain/grouped/inset/sidebar honored); protocol body not executed.
iOS allmacOS all
TableStyle
@MainActor public protocol TableStyle { func makeBody(configuration:) }
module protocol stub exists and .tableStyle(...) captures style tokens; makeBody execution is not modeled.
iOS iOS 16macOS macOS 12
DisclosureGroupStyle
@MainActor public protocol DisclosureGroupStyle { func makeBody(configuration:) }
module protocol stub exists and .disclosureGroupStyle(...) captures style tokens; makeBody execution is not modeled.
iOS iOS 16macOS macOS 13
DisclosureGroupStyleConfiguration
public struct DisclosureGroupStyleConfiguration
module struct stub preserves configuration type metadata; style body/config execution is not modeled.
iOS iOS 16macOS macOS 13
OutlineSubgroupChildren
public struct OutlineSubgroupChildren : View
Catalog view (UINodeKind) used as OutlineGroup subgroup placeholder; structural node, tree recursion renderer-led.
iOS iOS 14macOS macOS 11
EditableCollectionContent
public struct EditableCollectionContent<Content, Data> : View
Catalog view (UINodeKind); wraps ForEach editActions content; structural node, edit runtime absent.
iOS iOS 15macOS macOS 12
DynamicViewContent
public protocol DynamicViewContent : View
Protocol surfaces onDelete/onMove/onInsert; callbacks lower to typed UIIR action payloads, but protocol behavior/edit runtime remains renderer-led.
iOS allmacOS all
DynamicViewContent.onDelete(perform:)
func onDelete(perform action: ((IndexSet) -> Void)?) -> some DynamicViewContent
Added to generated modifier catalog as action-capable (include/generated/swiftui_stubs.h:659, include/generated/uiir_kinds.h:641); lowering maps it to UI_EVENT_PAYLOAD_DELETE_ITEMS (modules/swiftui/compiler/lower/chain.c:59), captures the closure as actionIR (chain.c:3630), and JSON emits eventPayload.kind=deleteItems with typed IndexSet indices field (modules/swiftui/compiler/uiir/json_action.c:360). Collection edit execution remains renderer/runtime policy.
iOS allmacOS all
DynamicViewContent.onMove(perform:)
func onMove(perform action: ((IndexSet, Int) -> Void)?) -> some DynamicViewContent
Added to generated modifier catalog as action-capable (include/generated/swiftui_stubs.h:660, include/generated/uiir_kinds.h:642); lowering maps it to UI_EVENT_PAYLOAD_MOVE_ITEMS (modules/swiftui/compiler/lower/chain.c:61), captures closure params/actionIR (chain.c:3630), and JSON emits eventPayload.kind=moveItems with typed IndexSet source and Int destination fields (modules/swiftui/compiler/uiir/json_action.c:364). Collection edit execution remains renderer/runtime policy.
iOS allmacOS all
DynamicViewContent.onInsert(of:perform:)
func onInsert(of supportedContentTypes: [UTType], perform action: @escaping (Int, [NSItemProvider]) -> Void) -> some DynamicViewContent
Added to generated modifier catalog as action-capable (include/generated/swiftui_stubs.h:661, include/generated/uiir_kinds.h:643); lowering maps it to UI_EVENT_PAYLOAD_INSERT_ITEMS/CollectionInsert (modules/swiftui/compiler/lower/chain.c:75, chain.c:128), captures closure params/actionIR (chain.c:3789), JSON emits typed index and [NSItemProvider] item-provider fields (modules/swiftui/compiler/uiir/json_action.c:407), and UI_SEMANTIC_ON_INSERT preserves of: as semantic.payload.supportedContentTypes (modules/swiftui/compiler/lower/chain.c:879, modules/swiftui/compiler/uiir/json_modifier.c:3094). Collection insert execution remains renderer/runtime policy.
iOS iOS 14macOS macOS 11
View.badge(_:) [Int]
func badge(_ count: Int) -> some View
Dedicated UI_SEMANTIC_BADGE; chain.c:530 maps the modifier and chain.c:2266 decomposes integer literals into UISemantic.badge_count (uiir.h:976) and string/interpolated literals into UISemantic.badge_text (uiir.h:977). JSON emits payload.count or payload.text with raw fallback for dynamic values (json_modifier.c:2023). Renderer behavior remains separate.
iOS iOS 15macOS macOS 12
View.headerProminence(_:)
func headerProminence(_ prominence: Prominence) -> some View
Dedicated UI_SEMANTIC_HEADER_PROMINENCE; chain.c:525 maps the modifier and chain.c:1946 decomposes the Prominence token into UISemantic.header_prominence (uiir.h:947), with JSON literal payload.prominence (json_modifier.c:1749). Renderer behavior remains separate.
iOS iOS 15macOS macOS 12
ListItemTint
public struct ListItemTint : Sendable
No standalone value-type catalog, but listItemTint(_:) contextually lowers .monochrome plus .fixed/.preferred factory names into UISemantic.list_item_tint, and factory Color args into UISemantic.color_value (chain.c:2124, json_modifier.c:1756). Other contexts remain raw source.
iOS iOS 14macOS macOS 11
ListSectionSpacing
public struct ListSectionSpacing : Sendable
No standalone value-type model, but listSectionSpacing(_:) contextually lowers tokens such as .default/.compact to UISemantic.list_section_spacing_kind (chain.c:1978, json_modifier.c:1676). Other contexts remain raw args; macOS unavailable.
iOS iOS 17macOS

5. Navigation

62·40·0
NavigationStack
@MainActor public struct NavigationStack<Data, Root> : View where Root : View
In view catalog (ViewBuilder family); UINodeKind + nav metadata. Stack/path runtime not implemented; renderer-led.
iOS iOS 16macOS macOS 13
NavigationStack.init(root:)
public init(@ViewBuilder root: () -> Root) where Data == NavigationPath
root closure lowers to child UIIR; captured as NavigationStack node.
iOS iOS 16macOS macOS 13
NavigationStack.init(path:root:)
public init(path: Binding<NavigationPath>, @ViewBuilder root: () -> Root) where Data == NavigationPath
path Binding captured as control-binding metadata; NavigationPath runtime not modeled.
iOS iOS 16macOS macOS 13
NavigationStack.init(path:root:)
public init(path: Binding<Data>, @ViewBuilder root: () -> Root) where Data : MutableCollection, Data : RandomAccessCollection, Data : RangeReplaceableCollection, Data.Element : Hashable
binding captured structurally; typed collection path routing is renderer/runtime, not modeled.
iOS iOS 16macOS macOS 13
NavigationStack.body
@MainActor public var body: some View { get }
synthesized node body; not an executed SwiftUI body, captured structurally.
iOS iOS 16macOS macOS 13
NavigationView
public struct NavigationView<Content> : View where Content : View
In view catalog (ViewBuilder family); deprecated by Apple but captured as nav node with metadata.
iOS all (dep 100000)macOS all (dep 100000)
NavigationView.init(content:)
public init(@ViewBuilder content: () -> Content)
content closure lowers to child UIIR nodes.
iOS all (dep)macOS all (dep)
NavigationSplitView
public struct NavigationSplitView<Sidebar, Content, Detail> : View where Sidebar : View, Content : View, Detail : View
In view catalog (ViewBuilder family); UINodeKind present. Column layout/runtime is renderer-led.
iOS iOS 16macOS macOS 13
NavigationSplitView.init(sidebar:content:detail:)
public init(@ViewBuilder sidebar: () -> Sidebar, @ViewBuilder content: () -> Content, @ViewBuilder detail: () -> Detail)
three view-builder slots lower to child UIIR nodes.
iOS iOS 16macOS macOS 13
NavigationSplitView.init(columnVisibility:sidebar:content:detail:)
public init(columnVisibility: Binding<NavigationSplitViewVisibility>, @ViewBuilder sidebar: () -> Sidebar, @ViewBuilder content: () -> Content, @ViewBuilder detail: () -> Detail)
Binding captured as state_ref_idx; web NavigationSplitView reads the bound NavigationSplitViewVisibility and filters active columns for all/doubleColumn/detailOnly.
iOS iOS 16macOS macOS 13
NavigationSplitView.init(sidebar:detail:)
public init(@ViewBuilder sidebar: () -> Sidebar, @ViewBuilder detail: () -> Detail) where Content == EmptyView
two-column form; slots lower to child nodes.
iOS iOS 16macOS macOS 13
NavigationSplitView.init(preferredCompactColumn:sidebar:content:detail:)
public init(preferredCompactColumn: Binding<NavigationSplitViewColumn>, @ViewBuilder sidebar: () -> Sidebar, @ViewBuilder content: () -> Content, @ViewBuilder detail: () -> Detail)
Binding captured as state_ref_idx; web compact-width NavigationSplitView selects sidebar/content/detail from the bound preferred compact column.
iOS iOS 17macOS macOS 14
NavigationSplitView.init(columnVisibility:preferredCompactColumn:sidebar:detail:)
public init(columnVisibility: Binding<NavigationSplitViewVisibility>, preferredCompactColumn: Binding<NavigationSplitViewColumn>, @ViewBuilder sidebar: () -> Sidebar, @ViewBuilder detail: () -> Detail) where Content == EmptyView
Combined binding form lowers both visibility and preferred compact column; web renderer applies visibility filtering and compact-column selection.
iOS iOS 17macOS macOS 14
NavigationLink
public struct NavigationLink<Label, Destination> : View where Label : View, Destination : View
In view catalog AND control-binding family (12 views); destination/value/label captured. Routing is renderer-led.
iOS allmacOS all
NavigationLink.init(destination:label:)
public init(@ViewBuilder destination: () -> Destination, @ViewBuilder label: () -> Label)
destination + label closures lower to child UIIR nodes.
iOS allmacOS all
NavigationLink.init(value:label:)
public init<P>(value: P?, @ViewBuilder label: () -> Label) where P : Hashable
value arg lowers into ButtonView.navValue; web click handling routes it through .navigationDestination(for:) via navToValue.
iOS iOS 16macOS macOS 13
NavigationLink.init(_:value:)
public init<P>(_ titleKey: LocalizedStringKey, value: P?) where Label == Text, P : Hashable
Text label + value route lower as a value-based navigation link; web resolves the matching navigationDestination closure on tap.
iOS iOS 16macOS macOS 13
NavigationLink.init(_:value:) (String)
public init<S, P>(_ title: S, value: P?) where Label == Text, S : StringProtocol, P : Hashable
String label + value route lower as a value-based navigation link; web resolves the matching navigationDestination closure on tap.
iOS iOS 16macOS macOS 13
NavigationLink.init(_:destination:)
public init(_ titleKey: LocalizedStringKey, @ViewBuilder destination: () -> Destination) where Label == Text
convenience Text label + destination closure; lowers to nav node.
iOS allmacOS all
NavigationLink.init(_:destination:) (String)
public init<S>(_ title: S, @ViewBuilder destination: () -> Destination) where Label == Text, S : StringProtocol
string-title convenience; destination lowers to child nodes.
iOS allmacOS all
NavigationLink.init(isActive:destination:label:)
public init(isActive: Binding<Bool>, @ViewBuilder destination: () -> Destination, @ViewBuilder label: () -> Label)
deprecated isActive binding captured; programmatic activation runtime not modeled.
iOS all (dep 16)macOS all (dep 13)
NavigationLink.init(tag:selection:destination:label:)
public init<V>(tag: V, selection: Binding<V?>, @ViewBuilder destination: () -> Destination, @ViewBuilder label: () -> Label) where V : Hashable
deprecated tag/selection bindings captured; selection-driven nav runtime absent.
iOS all (dep 16)macOS all (dep 13)
NavigationLink.isDetailLink(_:)
public func isDetailLink(_ isDetailLink: Bool) -> some View
Added to the generated modifier catalog as UIMOD_IS_DETAIL_LINK (include/generated/swiftui_stubs.h:658, include/generated/uiir_kinds.h:640); lowering maps it to UI_NAVIGATION_DETAIL_LINK (modules/swiftui/compiler/lower/chain.c:352), and JSON emits navigation.kind=detailLink plus payload.isDetailLink (modules/swiftui/compiler/uiir/json_action.c:484). Deprecated/iOS-only navigation behavior remains renderer policy.
iOS iOS 13macOS
NavigationLink.body
@MainActor public var body: some View { get }
node body synthesized; not executed SwiftUI body.
iOS allmacOS all
NavigationPath
public struct NavigationPath
Listed in coverage Navigation value/runtime APIs; not in view catalog. Captured structurally, path runtime not implemented.
iOS iOS 16macOS macOS 13
NavigationPath.count
public var count: Int { get }
member read survives as a structured expression on NavigationPath; no live path stack/count runtime is evaluated.
iOS iOS 16macOS macOS 13
NavigationPath.isEmpty
public var isEmpty: Bool { get }
member read survives as a structured expression on NavigationPath; no live path stack runtime is evaluated.
iOS iOS 16macOS macOS 13
NavigationPath.codable
public var codable: NavigationPath.CodableRepresentation? { get }
member read survives structurally and nested CodableRepresentation has a module struct stub; encode/decode runtime is not implemented.
iOS iOS 16macOS macOS 13
NavigationPath.init()
public init()
module struct stub preserves the type and NavigationPath() survives as a structured call expression; path storage/runtime is not implemented.
iOS iOS 16macOS macOS 13
NavigationPath.init(_:)
public init<S>(_ elements: S) where S : Sequence, S.Element : Hashable
constructor call and sequence arg survive structurally; path element storage/runtime is not implemented.
iOS iOS 16macOS macOS 13
NavigationPath.append(_:)
public mutating func append<V>(_ value: V) where V : Hashable
mutating call survives as generic actionIR.call; navigation path writeback/runtime is not implemented.
iOS iOS 16macOS macOS 13
NavigationPath.removeLast(_:)
public mutating func removeLast(_ k: Int = 1)
mutating call survives as generic actionIR.call; navigation path writeback/runtime is not implemented.
iOS iOS 16macOS macOS 13
NavigationPath.CodableRepresentation
public struct CodableRepresentation : Codable
module struct stub preserves nested type surface; NavigationPath Codable encode/decode runtime is not modeled.
iOS iOS 16macOS macOS 13
NavigationSplitViewVisibility
public struct NavigationSplitViewVisibility : Equatable, Codable, Sendable
Listed in coverage Navigation value/runtime APIs; cases are executed contextually through NavigationSplitView(columnVisibility:), but standalone value/Codable semantics remain partial.
iOS iOS 16macOS macOS 13
NavigationSplitViewVisibility.automatic
public static var automatic: NavigationSplitViewVisibility { get }
Contextually used by NavigationSplitView(columnVisibility:); web renderer treats automatic as the full column set unless compact preferred-column policy applies.
iOS iOS 16macOS macOS 13
NavigationSplitViewVisibility.all
public static var all: NavigationSplitViewVisibility { get }
Contextually used by NavigationSplitView(columnVisibility:); web renderer keeps all available split columns active.
iOS iOS 16macOS macOS 13
NavigationSplitViewVisibility.doubleColumn
public static var doubleColumn: NavigationSplitViewVisibility { get }
Contextually used by NavigationSplitView(columnVisibility:); web renderer shows sidebar + detail columns for three-column split views.
iOS iOS 16macOS macOS 13
NavigationSplitViewVisibility.detailOnly
public static var detailOnly: NavigationSplitViewVisibility { get }
Contextually used by NavigationSplitView(columnVisibility:); web renderer shows only the detail column.
iOS iOS 16macOS macOS 13
NavigationSplitViewColumn
public struct NavigationSplitViewColumn : Hashable, Sendable
Listed in coverage Navigation value/runtime APIs; cases are executed contextually through preferredCompactColumn, but standalone Hashable/value semantics remain partial.
iOS iOS 17macOS macOS 14
NavigationSplitViewColumn.sidebar
public static var sidebar: NavigationSplitViewColumn { get }
Contextually used by preferredCompactColumn; web compact-width split view selects the sidebar column.
iOS iOS 17macOS macOS 14
NavigationSplitViewColumn.content
public static var content: NavigationSplitViewColumn { get }
Contextually used by preferredCompactColumn; web compact-width split view selects the content column.
iOS iOS 17macOS macOS 14
NavigationSplitViewColumn.detail
public static var detail: NavigationSplitViewColumn { get }
Contextually used by preferredCompactColumn; web compact-width split view selects the detail column.
iOS iOS 17macOS macOS 14
NavigationBarItem
public struct NavigationBarItem : Sendable
Listed in coverage Navigation value/runtime APIs; macOS-unavailable. Only nested TitleDisplayMode used by a typed modifier.
iOS iOS 13macOS
NavigationBarItem.TitleDisplayMode
public enum TitleDisplayMode : Sendable
consumed as enum arg by navigationBarTitleDisplayMode typed modifier; enum itself not catalogued.
iOS iOS 13macOS
NavigationBarItem.TitleDisplayMode.automatic
case automatic
Contextually lowered by navigationBarTitleDisplayMode(_:) / deprecated navigationBarTitle(_:displayMode:) into typed navigation.payload.displayMode.
iOS iOS 13macOS
NavigationBarItem.TitleDisplayMode.inline
case inline
Contextually lowered by navigationBarTitleDisplayMode(_:); regression coverage asserts the typed displayMode="inline" navigation payload.
iOS iOS 13macOS
NavigationBarItem.TitleDisplayMode.large
case large
Contextually lowered by navigationBarTitleDisplayMode(_:) / deprecated title overload into typed navigation.payload.displayMode.
iOS iOS 13macOS
TabView
public struct TabView<SelectionValue, Content> : View where SelectionValue : Hashable, Content : View
In view catalog (ViewBuilder + control-binding family); selection binding captured. Tab chrome renderer-led.
iOS allmacOS all
TabView.init(selection:content:)
public init(selection: Binding<SelectionValue>?, @ViewBuilder content: () -> Content)
selection Binding -> control-binding metadata; content lowers to child nodes.
iOS all (dep 100000)macOS all
TabView.init(content:) (Int selection)
public init(@ViewBuilder content: () -> Content) where SelectionValue == Int
default Int-selection TabView; content children lowered.
iOS allmacOS all
TabView.init(selection:content:) (TabContentBuilder)
public init<C>(selection: Binding<SelectionValue>, @TabContentBuilder<SelectionValue> content: () -> C) where C : TabContent
TabContentBuilder/TabContent path not modeled as builder; only generic structural capture of content.
iOS iOS 18macOS macOS 15
TabView.init(content:) (TabContentBuilder, Never)
public init<C>(@TabContentBuilder<Never> content: () -> C) where SelectionValue == Never, C : TabContent
TabContent result-builder hierarchy not modeled; structural only.
iOS iOS 18macOS macOS 15
TabView.body
@MainActor public var body: some View { get }
node body synthesized; not executed SwiftUI body.
iOS allmacOS all
Tab
public struct Tab<Value, Content, Label>
module struct stub preserves TabContent value type metadata; TabContent builder execution/chrome integration is not modeled.
iOS iOS 18macOS macOS 15
Tab.init(_:image:value:content:)
public init<S>(_ title: S, image: String, value: Value, @ViewBuilder content: () -> Content) where Label == DefaultTabLabel, S : StringProtocol
Tab(...) initializer survives as a structured call expression with title/image/value/content closure; TabContent builder/chrome runtime is not implemented.
iOS iOS 18macOS macOS 15
Tab.init(_:systemImage:value:content:)
public init<S>(_ title: S, systemImage: String, value: Value, @ViewBuilder content: () -> Content) where Label == DefaultTabLabel, S : StringProtocol
Tab(...) initializer survives as a structured call expression with title/systemImage/value/content closure; TabContent builder/chrome runtime is not implemented.
iOS iOS 18macOS macOS 15
Tab.init(value:role:content:label:)
public init(value: Value, role: TabRole?, @ViewBuilder content: () -> Content, @ViewBuilder label: () -> Label)
value/role/content/label initializer survives as a structured call expression; TabContent builder/chrome runtime is not implemented.
iOS iOS 18macOS macOS 15
Tab.init(content:) (Never value)
public init(@ViewBuilder content: () -> Content) where Value == Never, Label == EmptyView
content-only initializer survives as a structured call expression; Never-value TabContent builder/chrome runtime is not implemented.
iOS iOS 18macOS macOS 15
Tab.body
@MainActor public var body: Tab<Value, Content, Label> { get }
Explicit Tab(...).body member reads survive structurally; Tab content execution remains renderer/runtime policy.
iOS iOS 18macOS macOS 15
TabRole
public struct TabRole : Hashable, Sendable
module struct stub preserves role type metadata; static role values and tab behavior are not modeled.
iOS iOS 18macOS macOS 15
TabRole.search
public static var search: TabRole { get }
module struct stub preserves the type and .search survives as a structured static token; search-tab behavior is not implemented.
iOS iOS 18macOS macOS 15
View.tabItem(_:)
public func tabItem<V>(@ViewBuilder _ label: () -> V) -> some View where V : View
Dedicated UI_SEMANTIC_TAB_ITEM; lowering maps tabItem in modules/swiftui/compiler/lower/chain.c:695, and JSON emits the lowered label closure as semantic.payload.label (modules/swiftui/compiler/uiir/json_modifier.c:2012). Tab chrome rendering remains renderer policy.
iOS all (dep 100000)macOS all (dep)
View.tabViewStyle(_:)
public func tabViewStyle<S>(_ style: S) -> some View where S : TabViewStyle
Dedicated UI_SEMANTIC_TAB_VIEW_STYLE; style arg lowers to typed payload and web TabView honors default/page/sidebarAdaptable/tabBarOnly policies.
iOS iOS 14macOS macOS 11
View.navigationTitle(_:) (Text)
public func navigationTitle(_ title: Text) -> some View
dedicated navigation metadata family in coverage; title captured as typed nav field.
iOS iOS 14macOS macOS 11
View.navigationTitle(_:) (LocalizedStringKey)
public func navigationTitle(_ titleKey: LocalizedStringKey) -> some View
typed navigationTitle metadata; key captured as title field.
iOS iOS 14macOS macOS 11
View.navigationTitle(_:) (String)
public func navigationTitle<S>(_ title: S) -> some View where S : StringProtocol
typed navigationTitle metadata; string title captured.
iOS iOS 14macOS macOS 11
View.navigationTitle(_:) (Binding)
public func navigationTitle(_ title: Binding<String>) -> some View
navigationTitle typed family, but editable title binding rename behavior is renderer/runtime, not modeled.
iOS iOS 16macOS macOS 13
View.navigationSubtitle(_:) (Text)
public func navigationSubtitle(_ subtitle: Text) -> some View
dedicated navigation metadata via navigation_kind_for_modifier in modules/swiftui/compiler/lower/chain.c:140; UINavigationKind has UI_NAVIGATION_SUBTITLE at include/internal/uiir.h:555; JSON emits payload.subtitle in modules/swiftui/compiler/uiir/json_action.c:396.
iOS iOS 26macOS macOS 11
View.navigationSubtitle(_:) (String)
public func navigationSubtitle<S>(_ subtitle: S) -> some View where S : StringProtocol
dedicated navigation metadata via navigation_kind_for_modifier in modules/swiftui/compiler/lower/chain.c:140; string arg captured as payload.subtitle by modules/swiftui/compiler/uiir/json_action.c:396.
iOS iOS 26macOS macOS 11
View.navigationDestination(for:destination:)
public func navigationDestination<D, C>(for data: D.Type, @ViewBuilder destination: @escaping (D) -> C) -> some View where D : Hashable, C : View
dedicated navigation metadata family; destination closure captured. Value-routing runtime is renderer-led.
iOS iOS 16macOS macOS 13
View.navigationDestination(isPresented:destination:)
public func navigationDestination<V>(isPresented: Binding<Bool>, @ViewBuilder destination: () -> V) -> some View where V : View
typed navigation family; isPresented binding + destination captured. Presentation runtime renderer-led.
iOS iOS 16macOS macOS 13
View.navigationDestination(item:destination:)
public func navigationDestination<D, C>(item: Binding<D?>, @ViewBuilder destination: @escaping (D) -> C) -> some View where D : Hashable, C : View
typed navigation family; item binding + destination closure captured.
iOS iOS 17macOS macOS 14
View.navigationBarHidden(_:)
public func navigationBarHidden(_ hidden: Bool) -> some View
in coverage dedicated navigation family; macOS-unavailable. Bool policy field captured, no nav runtime.
iOS all (dep 100000)macOS
View.navigationBarBackButtonHidden(_:)
public func navigationBarBackButtonHidden(_ hidesBackButton: Bool = true) -> some View
dedicated navigation policy field captured; back-button chrome is renderer-led.
iOS iOS 13macOS macOS 13
View.navigationBarTitleDisplayMode(_:)
public func navigationBarTitleDisplayMode(_ displayMode: NavigationBarItem.TitleDisplayMode) -> some View
dedicated navigation family; macOS-unavailable. TitleDisplayMode enum-case captured as typed field.
iOS iOS 14macOS
View.navigationBarTitle(_:) (Text)
public func navigationBarTitle(_ title: Text) -> some View
dedicated navigation metadata via navigation_kind_for_modifier in modules/swiftui/compiler/lower/chain.c:144; UINavigationKind has UI_NAVIGATION_BAR_TITLE at include/internal/uiir.h:557; JSON emits payload.title in modules/swiftui/compiler/uiir/json_action.c:402. Deprecated, macOS-unavailable.
iOS all (dep, renamed navigationTitle)macOS
View.navigationBarTitle(_:displayMode:)
public func navigationBarTitle(_ title: Text, displayMode: NavigationBarItem.TitleDisplayMode) -> some View
dedicated navigation metadata via navigation_kind_for_modifier in modules/swiftui/compiler/lower/chain.c:144; JSON emits payload.title and payload.displayMode in modules/swiftui/compiler/uiir/json_action.c:402. Deprecated, macOS-unavailable.
iOS all (dep)macOS
View.navigationBarItems(leading:trailing:)
public func navigationBarItems<L, T>(leading: L, trailing: T) -> some View where L : View, T : View
Dedicated navigation metadata now maps navigationBarItems to UI_NAVIGATION_BAR_ITEMS (modules/swiftui/compiler/lower/chain.c:397, include/internal/uiir.h:664), and JSON emits navigation.kind=barItems with typed payload.leading/payload.trailing args (modules/swiftui/compiler/uiir/names.c:386, modules/swiftui/compiler/uiir/json_action.c:541). Deprecated/iOS-only bar item placement remains renderer policy.
iOS all (dep 100000)macOS
View.navigationSplitViewColumnWidth(_:)
public func navigationSplitViewColumnWidth(_ width: CGFloat) -> some View
in coverage dedicated navigation family; width captured as typed policy field.
iOS iOS 16macOS macOS 13
View.navigationSplitViewColumnWidth(min:ideal:max:)
public func navigationSplitViewColumnWidth(min: CGFloat? = nil, ideal: CGFloat, max: CGFloat? = nil) -> some View
navigation family typed metadata; min/ideal/max captured. Layout enforcement renderer-led.
iOS iOS 16macOS macOS 13
View.navigationSplitViewStyle(_:)
public func navigationSplitViewStyle<S>(_ style: S) -> some View where S : NavigationSplitViewStyle
in coverage dedicated navigation family; style arg captured. NavigationSplitViewStyle protocol not executed.
iOS iOS 16macOS macOS 13
View.navigationViewStyle(_:)
public func navigationViewStyle<S>(_ style: S) -> some View where S : NavigationViewStyle
Dedicated UI_SEMANTIC_NAVIGATION_VIEW_STYLE; style arg lowered (buttonStyle recipe).
iOS all (dep 100000)macOS all (dep)
View.toolbarRole(_:)
public func toolbarRole(_ role: ToolbarRole) -> some View
dedicated navigation metadata via navigation_kind_for_modifier in modules/swiftui/compiler/lower/chain.c:148; UINavigationKind has UI_NAVIGATION_TOOLBAR_ROLE at include/internal/uiir.h:559; JSON emits payload.role in modules/swiftui/compiler/uiir/json_action.c:408.
iOS iOS 16macOS macOS 13
View.navigationLinkIndicatorVisibility(_:)
public func navigationLinkIndicatorVisibility(_ visibility: Visibility) -> some View
dedicated navigation metadata via navigation_kind_for_modifier in modules/swiftui/compiler/lower/chain.c:142; UINavigationKind has UI_NAVIGATION_LINK_INDICATOR_VISIBILITY at include/internal/uiir.h:556; JSON emits payload.visibility in modules/swiftui/compiler/uiir/json_action.c:399.
iOS iOS 18macOS macOS 15
View.navigationDocument(_:)
public func navigationDocument<D>(_ document: D) -> some View where D : Transferable
Dedicated navigation metadata maps navigationDocument to UI_NAVIGATION_DOCUMENT (modules/swiftui/compiler/lower/chain.c:399, include/internal/uiir.h:665); JSON emits navigation.kind=document and typed payload.document (modules/swiftui/compiler/uiir/names.c:387, modules/swiftui/compiler/uiir/json_action.c:553). Transfer/document runtime remains renderer policy.
iOS iOS 16macOS macOS 13
View.navigationDocument(_:) (URL)
public func navigationDocument(_ url: URL) -> some View
Same UI_NAVIGATION_DOCUMENT metadata path as the Transferable overload; URL args are preserved under typed navigation.payload.document (modules/swiftui/compiler/uiir/json_action.c:553). URL document-opening/runtime policy is outside lowering.
iOS iOS 16macOS macOS 13
View.navigationTransition(_:)
public func navigationTransition(_ style: some NavigationTransition) -> some View
Dedicated navigation metadata maps navigationTransition to UI_NAVIGATION_TRANSITION (modules/swiftui/compiler/lower/chain.c:401, include/internal/uiir.h:666); JSON emits navigation.kind=transition and typed payload.style (modules/swiftui/compiler/uiir/names.c:388, modules/swiftui/compiler/uiir/json_action.c:556). NavigationTransition runtime/zoom animation remains renderer policy.
iOS iOS 18macOS macOS 15
TabViewStyle
@MainActor public protocol TabViewStyle
module protocol stub exists and .tabViewStyle(...) captures style tokens; protocol body execution is not modeled.
iOS iOS 14macOS macOS 11
PageTabViewStyle
public struct PageTabViewStyle : TabViewStyle
Concrete style token normalizes to page; web TabView renders the page carousel and honors .never page dot payload.
iOS iOS 14macOS
DefaultTabViewStyle
public struct DefaultTabViewStyle : TabViewStyle
Concrete style token normalizes to automatic; web TabView keeps the default tab bar rendering policy.
iOS iOS 14macOS macOS 11
SidebarAdaptableTabViewStyle
public struct SidebarAdaptableTabViewStyle : TabViewStyle
Concrete style token normalizes to sidebarAdaptable; web TabView uses a regular-width sidebar rail and compact-width tab bar fallback.
iOS iOS 18macOS macOS 15
NavigationSplitViewStyle
@MainActor public protocol NavigationSplitViewStyle
module protocol stub exists and navigationSplitViewStyle(_:) captures style tokens; protocol execution is not modeled.
iOS iOS 16macOS macOS 13
NavigationSplitViewStyle.balanced
@MainActor public static var balanced: BalancedNavigationSplitViewStyle { get }
Captured as navigation.payload.style by navigationSplitViewStyle(_:); web NavigationSplitView normalizes it to a balanced multi-column layout.
iOS iOS 16macOS macOS 13
NavigationSplitViewStyle.prominentDetail
@MainActor public static var prominentDetail: ProminentDetailNavigationSplitViewStyle { get }
Captured as navigation.payload.style by navigationSplitViewStyle(_:); web NavigationSplitView reserves a wider detail column.
iOS iOS 16macOS macOS 13
NavigationViewStyle
public protocol NavigationViewStyle
module protocol stub exists and the deprecated modifier captures style tokens structurally; protocol execution is not modeled.
iOS all (dep)macOS all (dep)
ToolbarRole
public struct ToolbarRole : Sendable
toolbarRole(_:) serializes role tokens as dedicated navigation payloads; no standalone value runtime.
iOS iOS 16macOS macOS 13
ToolbarRole.automatic
public static var automatic: ToolbarRole { get }
Preserved as a toolbarRole(_:) navigation payload token; toolbar behavior remains renderer/runtime policy.
iOS iOS 16macOS macOS 13
ToolbarRole.navigationStack
public static var navigationStack: ToolbarRole { get }
Preserved as a toolbarRole(_:) navigation payload token; toolbar behavior remains renderer/runtime policy.
iOS iOS 16macOS
ToolbarRole.browser
public static var browser: ToolbarRole { get }
Preserved as a toolbarRole(_:) navigation payload token; toolbar behavior remains renderer/runtime policy.
iOS iOS 16macOS
ToolbarRole.editor
public static var editor: ToolbarRole { get }
Preserved as a toolbarRole(_:) navigation payload token; toolbar behavior remains renderer/runtime policy.
iOS iOS 16macOS macOS 13
TabContent
@MainActor public protocol TabContent<TabValue>
module protocol stub preserves type surface; TabContent protocol execution is not modeled.
iOS iOS 18macOS macOS 15
TabContentBuilder
@resultBuilder public struct TabContentBuilder<TabValue> where TabValue : Hashable
module struct stub preserves builder type metadata; result-builder lowering for TabContent remains generic/structural.
iOS iOS 18macOS macOS 15

6. Presentation / modals / toolbar

55·101·0
View.sheet(item:onDismiss:content:)
nonisolated public func sheet<Item, Content>(item: Binding<Item?>, onDismiss: (() -> Void)? = nil, @ViewBuilder content: @escaping (Item) -> Content) -> some View where Item : Identifiable, Content : View
Dedicated presentation/content family; lowers content closure + presentation kind metadata. item binding + onDismiss captured.
iOS allmacOS all
View.sheet(isPresented:onDismiss:content:)
nonisolated public func sheet<Content>(isPresented: Binding<Bool>, onDismiss: (() -> Void)? = nil, @ViewBuilder content: @escaping () -> Content) -> some View where Content : View
Dedicated presentation/content family; isPresented binding + content closure lowered to UIIR slot.
iOS allmacOS all
View.fullScreenCover(item:onDismiss:content:)
nonisolated public func fullScreenCover<Item, Content>(item: Binding<Item?>, onDismiss: (() -> Void)? = nil, @ViewBuilder content: @escaping (Item) -> Content) -> some View where Item : Identifiable, Content : View
Dedicated presentation/content family; content closure lowered. iOS-only.
iOS iOS 14macOS
View.fullScreenCover(isPresented:onDismiss:content:)
nonisolated public func fullScreenCover<Content>(isPresented: Binding<Bool>, onDismiss: (() -> Void)? = nil, @ViewBuilder content: @escaping () -> Content) -> some View where Content : View
Dedicated presentation/content family; isPresented + content slot lowered. iOS-only.
iOS iOS 14macOS
View.popover(isPresented:attachmentAnchor:arrowEdge:content:)
nonisolated public func popover<Content>(isPresented: Binding<Bool>, attachmentAnchor: PopoverAttachmentAnchor = .rect(.bounds), arrowEdge: Edge? = nil, @ViewBuilder content: @escaping () -> Content) -> some View where Content : View
Dedicated UI_PRESENTATION_POPOVER; lowering maps popover in modules/swiftui/compiler/lower/presentation.c:37, captures trailing content as a content slot (modules/swiftui/compiler/lower/presentation.c:214), and JSON emits isPresented, default/explicit attachmentAnchor, and tokenized arrowEdge payloads (modules/swiftui/compiler/uiir/json_modifier.c:979).
iOS allmacOS all
View.popover(item:attachmentAnchor:arrowEdge:content:)
nonisolated public func popover<Item, Content>(item: Binding<Item?>, attachmentAnchor: PopoverAttachmentAnchor = .rect(.bounds), arrowEdge: Edge? = nil, @ViewBuilder content: @escaping (Item) -> Content) -> some View where Item : Identifiable, Content : View
Same UI_PRESENTATION_POPOVER; item binding becomes the trigger, content closure lowers to slot=content, and .rect/.point anchors plus arrowEdge enum/nil values serialize as typed presentation payload fields (modules/swiftui/compiler/uiir/json_modifier.c:242, modules/swiftui/compiler/uiir/json_modifier.c:979).
iOS allmacOS all
View.alert(_:isPresented:actions:)
nonisolated public func alert<A>(_ titleKey: LocalizedStringKey, isPresented: Binding<Bool>, @ViewBuilder actions: () -> A) -> some View where A : View
Dedicated presentation/content family; captures title, isPresented, actions slot.
iOS iOS 15macOS macOS 12
View.alert(_:isPresented:actions:message:)
nonisolated public func alert<A, M>(_ titleKey: LocalizedStringKey, isPresented: Binding<Bool>, @ViewBuilder actions: () -> A, @ViewBuilder message: () -> M) -> some View where A : View, M : View
Dedicated alert family; actions + message slots lowered to UIIR.
iOS iOS 15macOS macOS 12
View.alert(_:isPresented:presenting:actions:)
nonisolated public func alert<A, T>(_ titleKey: LocalizedStringKey, isPresented: Binding<Bool>, presenting data: T?, @ViewBuilder actions: (T) -> A) -> some View where A : View
Dedicated alert family; presenting-data overload captured via content slots.
iOS iOS 15macOS macOS 12
View.alert(_:isPresented:presenting:actions:message:)
nonisolated public func alert<A, M, T>(_ titleKey: LocalizedStringKey, isPresented: Binding<Bool>, presenting data: T?, @ViewBuilder actions: (T) -> A, @ViewBuilder message: (T) -> M) -> some View where A : View, M : View
Dedicated alert family; actions+message presenting overload lowered.
iOS iOS 15macOS macOS 12
View.alert(isPresented:error:actions:)
nonisolated public func alert<E, A>(isPresented: Binding<Bool>, error: E?, @ViewBuilder actions: () -> A) -> some View where E : LocalizedError, A : View
Dedicated alert family; LocalizedError-driven variant captured as alert content.
iOS iOS 15macOS macOS 12
View.alert(item:content:) [deprecated]
nonisolated public func alert<Item>(item: Binding<Item?>, content: (Item) -> Alert) -> some View where Item : Identifiable
Catalogued alert modifier but Alert value-type closure form not lowered as typed family; deprecated API.
iOS iOS 13 depmacOS macOS 10.15 dep
View.alert(isPresented:content:) [deprecated]
nonisolated public func alert(isPresented: Binding<Bool>, content: () -> Alert) -> some View
Old Alert-builder form; returns Alert value type which is not modeled. Deprecated.
iOS iOS 13 depmacOS macOS 10.15 dep
Alert
public struct Alert
module struct stub preserves deprecated Alert value type metadata; Alert builder/runtime lowering remains generic.
iOS iOS 13 depmacOS macOS 10.15 dep
Alert.init(title:message:dismissButton:)
public init(title: Text, message: Text? = nil, dismissButton: Alert.Button? = nil)
Legacy Alert initializer call preserves title/message/dismissButton args structurally; deprecated alert runtime remains presentation-modifier driven.
iOS iOS 13 depmacOS macOS 10.15 dep
Alert.init(title:message:primaryButton:secondaryButton:)
public init(title: Text, message: Text? = nil, primaryButton: Alert.Button, secondaryButton: Alert.Button)
Legacy two-button Alert initializer call preserves button args structurally; deprecated alert runtime remains presentation-modifier driven.
iOS iOS 13 depmacOS macOS 10.15 dep
Alert.Button.default(_:action:)
public static func `default`(_ label: Text, action: (() -> Void)? = {}) -> Alert.Button
Alert button factory call preserves label and action closure structurally; legacy Alert.Button runtime is not executed.
iOS iOS 13 depmacOS macOS 10.15 dep
Alert.Button.cancel(_:action:)
public static func cancel(_ label: Text, action: (() -> Void)? = {}) -> Alert.Button
Alert button factory call preserves label and action closure structurally; legacy Alert.Button runtime is not executed.
iOS iOS 13 depmacOS macOS 10.15 dep
Alert.Button.destructive(_:action:)
public static func destructive(_ label: Text, action: (() -> Void)? = {}) -> Alert.Button
Alert button factory call preserves label and action closure structurally; legacy Alert.Button runtime is not executed.
iOS iOS 13 depmacOS macOS 10.15 dep
View.confirmationDialog(_:isPresented:titleVisibility:actions:)
nonisolated public func confirmationDialog<A>(_ titleKey: LocalizedStringKey, isPresented: Binding<Bool>, titleVisibility: Visibility = .automatic, @ViewBuilder actions: () -> A) -> some View where A : View
Dedicated presentation/content family; title, titleVisibility, actions slot captured.
iOS iOS 15macOS macOS 12
View.confirmationDialog(_:isPresented:titleVisibility:actions:message:)
nonisolated public func confirmationDialog<A, M>(_ titleKey: LocalizedStringKey, isPresented: Binding<Bool>, titleVisibility: Visibility = .automatic, @ViewBuilder actions: () -> A, @ViewBuilder message: () -> M) -> some View where A : View, M : View
Dedicated confirmationDialog family; actions+message slots lowered.
iOS iOS 15macOS macOS 12
View.confirmationDialog(_:isPresented:titleVisibility:presenting:actions:)
nonisolated public func confirmationDialog<A, T>(_ titleKey: LocalizedStringKey, isPresented: Binding<Bool>, titleVisibility: Visibility = .automatic, presenting data: T?, @ViewBuilder actions: (T) -> A) -> some View where A : View
Dedicated confirmationDialog family; presenting-data overload captured.
iOS iOS 15macOS macOS 12
View.confirmationDialog(_:isPresented:titleVisibility:presenting:actions:message:)
nonisolated public func confirmationDialog<A, M, T>(_ titleKey: LocalizedStringKey, isPresented: Binding<Bool>, titleVisibility: Visibility = .automatic, presenting data: T?, @ViewBuilder actions: (T) -> A, @ViewBuilder message: (T) -> M) -> some View where A : View, M : View
Dedicated confirmationDialog family; full presenting actions+message form lowered.
iOS iOS 15macOS macOS 12
View.actionSheet(isPresented:content:) [deprecated]
nonisolated public func actionSheet(isPresented: Binding<Bool>, content: () -> ActionSheet) -> some View
actionSheet in catalog as generic UIMod; ActionSheet value-type form not a typed family. macOS unavailable.
iOS iOS 13 depmacOS
ActionSheet
public struct ActionSheet
module struct stub preserves deprecated ActionSheet value type metadata; actionSheet content runtime remains generic.
iOS iOS 13 depmacOS
View.dialogIcon(_:)
nonisolated public func dialogIcon(_ icon: Image?) -> some View
Dedicated UI_SEMANTIC_DIALOG_ICON; lowering maps dialogIcon in modules/swiftui/compiler/lower/chain.c:713, and JSON emits the icon arg as semantic.payload.icon (modules/swiftui/compiler/uiir/json_modifier.c:2134).
iOS iOS 17macOS macOS 13
View.dialogSeverity(_:)
nonisolated public func dialogSeverity(_ severity: DialogSeverity) -> some View
Catalogued generic UIMod; macOS-only; DialogSeverity value not modeled.
iOSmacOS macOS 13
DialogSeverity
public struct DialogSeverity : Equatable, Sendable
dialogSeverity(_:) is catalogued as a generic modifier and preserves severity enum tokens such as .critical; dialog severity runtime is not modeled.
iOS iOS 17macOS macOS 13
View.dialogSuppressionToggle(_:isSuppressed:)
nonisolated public func dialogSuppressionToggle(_ titleKey: LocalizedStringKey, isSuppressed: Binding<Bool>) -> some View
Dedicated UI_SEMANTIC_DIALOG_SUPPRESSION_TOGGLE; lowering maps dialogSuppressionToggle in modules/swiftui/compiler/lower/chain.c:715, and JSON emits semantic.payload.title plus isSuppressed binding (modules/swiftui/compiler/uiir/json_modifier.c:2137).
iOS iOS 17macOS macOS 14
View.dialogSuppressionToggle(isSuppressed:)
nonisolated public func dialogSuppressionToggle(isSuppressed: Binding<Bool>) -> some View
Same UI_SEMANTIC_DIALOG_SUPPRESSION_TOGGLE; binding-only overload omits payload.title and emits semantic.payload.isSuppressed (modules/swiftui/compiler/uiir/json_modifier.c:2137).
iOS iOS 17macOS macOS 14
View.dialogPreventsAppTermination(_:)
nonisolated public func dialogPreventsAppTermination(_ preventsAppTermination: Bool?) -> some View
Dedicated UI_SEMANTIC_DIALOG_PREVENTS_APP_TERMINATION; lowering maps dialogPreventsAppTermination in modules/swiftui/compiler/lower/chain.c:717, and JSON emits semantic.payload.preventsAppTermination (modules/swiftui/compiler/uiir/json_modifier.c:2146).
iOSmacOS macOS 13
View.toolbar(content:) [View body]
nonisolated public func toolbar<Content>(@ViewBuilder content: () -> Content) -> some View where Content : View
Dedicated presentation/content family; toolbar content closure lowered to UIIR slots.
iOS iOS 14macOS macOS 11
View.toolbar(content:) [ToolbarContent]
nonisolated public func toolbar<Content>(@ToolbarContentBuilder content: () -> Content) -> some View where Content : ToolbarContent
Dedicated toolbar family captures content slot; ToolbarContent items themselves are not typed nodes.
iOS iOS 14macOS macOS 11
View.toolbar(id:content:)
nonisolated public func toolbar<Content>(id: String, @ToolbarContentBuilder content: () -> Content) -> some View where Content : CustomizableToolbarContent
Dedicated toolbar family; id + customizable content slot lowered. Customization runtime not implemented.
iOS iOS 16macOS macOS 13
View.toolbar(_:for:) [visibility, deprecated]
nonisolated public func toolbar(_ visibility: Visibility, for bars: ToolbarPlacement...) -> some View
Deprecated overload is routed to UI_SEMANTIC_TOOLBAR_VISIBILITY when a for: arg is present (modules/swiftui/compiler/lower/chain.c:3135) and kept out of toolbar-content presentation lowering (modules/swiftui/compiler/lower/chain.c:3407). JSON decomposes visibility plus bars in modules/swiftui/compiler/uiir/json_modifier.c:2137.
iOS iOS 16 depmacOS macOS 13 dep
View.toolbar(removing:)
nonisolated public func toolbar(removing defaultItemKind: ToolbarDefaultItemKind?) -> some View
Dedicated UI_SEMANTIC_TOOLBAR_REMOVING; toolbar calls with a removing: arg are mapped in modules/swiftui/compiler/lower/chain.c:3123 and kept out of presentation-content lowering in modules/swiftui/compiler/lower/chain.c:3395. JSON emits semantic.payload.defaultItemKind as a token or null in modules/swiftui/compiler/uiir/json_modifier.c:2173.
iOS iOS 17macOS macOS 14
ToolbarItem
public struct ToolbarItem<ID, Content> : ToolbarContent where Content : View
Synthetic toolbar-content node emitted by lower_toolbar_body: JSON carries kind=ToolbarItem, slot.kind=toolbarItem, placement token, preserved args, and child content. Swift ToolbarContent protocol/body runtime remains unmodeled.
iOS iOS 14macOS macOS 11
ToolbarItem.init(placement:content:)
nonisolated public init(placement: ToolbarItemPlacement = .automatic, @ViewBuilder content: () -> Content)
Synthetic toolbar-content node emitted by lower_toolbar_body: JSON carries kind=ToolbarItem, slot.kind=toolbarItem, placement token, preserved args, and child content. Swift ToolbarContent protocol/body runtime remains unmodeled.
iOS iOS 14macOS macOS 11
ToolbarItem.init(id:placement:content:)
nonisolated public init(id: String, placement: ToolbarItemPlacement = .automatic, @ViewBuilder content: () -> Content)
Synthetic ToolbarItem node preserves id and placement args plus child content; customization/runtime identity behavior remains unmodeled.
iOS iOS 14macOS macOS 11
ToolbarItem.init(id:placement:showsByDefault:content:) [deprecated]
nonisolated public init(id: String, placement: ToolbarItemPlacement = .automatic, showsByDefault: Bool, @ViewBuilder content: () -> Content)
Synthetic ToolbarItem node preserves id, placement, and showsByDefault args plus child content; deprecated customization runtime remains unmodeled.
iOS iOS 14 depmacOS macOS 11 dep
ToolbarItem.id (Identifiable)
public var id: ID { get }
Explicit ToolbarItem .id member reads survive structurally; toolbar customization identity runtime is not modeled.
iOS iOS 14macOS macOS 11
ToolbarItemGroup
public struct ToolbarItemGroup<Content> : ToolbarContent where Content : View
Synthetic toolbar-content group node emitted by lower_toolbar_body: JSON carries kind=ToolbarItemGroup, slot.kind=toolbarItemGroup, placement token, and child content. ToolbarContent protocol/runtime remains unmodeled.
iOS iOS 14macOS macOS 11
ToolbarItemGroup.init(placement:content:)
public init(placement: ToolbarItemPlacement = .automatic, @ViewBuilder content: () -> Content)
Synthetic ToolbarItemGroup node preserves placement and lowers content children; group runtime/customization behavior remains unmodeled.
iOS iOS 14macOS macOS 11
ToolbarItemGroup.init(placement:content:label:)
nonisolated public init<C, L>(placement: ToolbarItemPlacement = .automatic, @ViewBuilder content: () -> C, @ViewBuilder label: () -> L) where Content == LabeledToolbarItemGroupContent<C, L>, C : View, L : View
Synthetic ToolbarItemGroup node preserves placement and lowers primary content; label closure/customization behavior is not modeled.
iOS iOS 16macOS macOS 13
ToolbarItemPlacement
public struct ToolbarItemPlacement
Toolbar item placement values serialize as enum tokens in ToolbarItem/ToolbarItemGroup args and slot.placement; no standalone value runtime.
iOS iOS 14macOS macOS 11
ToolbarItemPlacement.automatic
public static let automatic: ToolbarItemPlacement
Preserved as a toolbar item placement token/arg when used in ToolbarItem or ToolbarItemGroup; platform-specific rendering/customization remains renderer policy.
iOS iOS 14macOS macOS 11
ToolbarItemPlacement.principal
public static let principal: ToolbarItemPlacement
Preserved as a toolbar item placement token/arg when used in ToolbarItem or ToolbarItemGroup; platform-specific rendering/customization remains renderer policy.
iOS iOS 14macOS macOS 11
ToolbarItemPlacement.navigation
public static let navigation: ToolbarItemPlacement
Preserved as a toolbar item placement token/arg when used in ToolbarItem or ToolbarItemGroup; platform-specific rendering/customization remains renderer policy.
iOS iOS 14macOS macOS 11
ToolbarItemPlacement.primaryAction
public static let primaryAction: ToolbarItemPlacement
Preserved as a toolbar item placement token/arg when used in ToolbarItem or ToolbarItemGroup; platform-specific rendering/customization remains renderer policy.
iOS iOS 14macOS macOS 11
ToolbarItemPlacement.secondaryAction
public static let secondaryAction: ToolbarItemPlacement
Preserved as a toolbar item placement token/arg when used in ToolbarItem or ToolbarItemGroup; platform-specific rendering/customization remains renderer policy.
iOS iOS 16macOS macOS 13
ToolbarItemPlacement.status
public static let status: ToolbarItemPlacement
Preserved as a toolbar item placement token/arg when used in ToolbarItem or ToolbarItemGroup; platform-specific rendering/customization remains renderer policy.
iOS iOS 14macOS macOS 11
ToolbarItemPlacement.confirmationAction
public static let confirmationAction: ToolbarItemPlacement
Preserved as a toolbar item placement token/arg when used in ToolbarItem or ToolbarItemGroup; platform-specific rendering/customization remains renderer policy.
iOS iOS 14macOS macOS 11
ToolbarItemPlacement.cancellationAction
public static let cancellationAction: ToolbarItemPlacement
Preserved as a toolbar item placement token/arg when used in ToolbarItem or ToolbarItemGroup; platform-specific rendering/customization remains renderer policy.
iOS iOS 14macOS macOS 11
ToolbarItemPlacement.destructiveAction
public static let destructiveAction: ToolbarItemPlacement
Preserved as a toolbar item placement token/arg when used in ToolbarItem or ToolbarItemGroup; platform-specific rendering/customization remains renderer policy.
iOS iOS 14macOS macOS 11
ToolbarItemPlacement.keyboard
public static let keyboard: ToolbarItemPlacement
Preserved as a toolbar item placement token/arg when used in ToolbarItem or ToolbarItemGroup; platform-specific rendering/customization remains renderer policy.
iOS iOS 15macOS macOS 12
ToolbarItemPlacement.topBarLeading
public static var topBarLeading: ToolbarItemPlacement { get }
Preserved as a toolbar item placement token/arg when used in ToolbarItem or ToolbarItemGroup; platform-specific rendering/customization remains renderer policy.
iOS iOS 14macOS
ToolbarItemPlacement.topBarTrailing
public static var topBarTrailing: ToolbarItemPlacement { get }
Preserved as a toolbar item placement token/arg when used in ToolbarItem or ToolbarItemGroup; platform-specific rendering/customization remains renderer policy.
iOS iOS 14macOS
ToolbarItemPlacement.navigationBarLeading [deprecated]
public static let navigationBarLeading: ToolbarItemPlacement
Preserved as a toolbar item placement token/arg when used in ToolbarItem or ToolbarItemGroup; platform-specific rendering/customization remains renderer policy.
iOS iOS 14 depmacOS
ToolbarItemPlacement.navigationBarTrailing [deprecated]
public static let navigationBarTrailing: ToolbarItemPlacement
Preserved as a toolbar item placement token/arg when used in ToolbarItem or ToolbarItemGroup; platform-specific rendering/customization remains renderer policy.
iOS iOS 14 depmacOS
ToolbarItemPlacement.bottomBar
public static let bottomBar: ToolbarItemPlacement
Preserved as a toolbar item placement token/arg when used in ToolbarItem or ToolbarItemGroup; platform-specific rendering/customization remains renderer policy.
iOS iOS 14macOS
ToolbarItemPlacement.largeTitle
public static let largeTitle: ToolbarItemPlacement
Preserved as a toolbar item placement token/arg when used in ToolbarItem or ToolbarItemGroup; platform-specific rendering/customization remains renderer policy.
iOS iOS 26macOS
ToolbarItemPlacement.subtitle
public static let subtitle: ToolbarItemPlacement
Preserved as a toolbar item placement token/arg when used in ToolbarItem or ToolbarItemGroup; platform-specific rendering/customization remains renderer policy.
iOS iOS 26macOS
ToolbarItemPlacement.largeSubtitle
public static let largeSubtitle: ToolbarItemPlacement
Preserved as a toolbar item placement token/arg when used in ToolbarItem or ToolbarItemGroup; platform-specific rendering/customization remains renderer policy.
iOS iOS 26macOS
ToolbarItemPlacement.accessoryBar(id:)
public static func accessoryBar<ID>(id: ID) -> ToolbarItemPlacement where ID : Hashable
Preserved as a toolbar item placement token/arg when used in ToolbarItem or ToolbarItemGroup; platform-specific rendering/customization remains renderer policy.
iOSmacOS macOS 14
ToolbarContent
@MainActor @preconcurrency public protocol ToolbarContent
module protocol stub preserves type metadata; custom toolbar-content body execution is not modeled.
iOS iOS 14macOS macOS 11
ToolbarContent.body
@ToolbarContentBuilder @MainActor @preconcurrency var body: Self.Body { get }
Custom ToolbarContent .body member references survive structurally; MiniSwift still does not expand arbitrary toolbar-content bodies.
iOS iOS 14macOS macOS 11
ToolbarContent.sharedBackgroundVisibility(_:)
nonisolated public func sharedBackgroundVisibility(_ visibility: Visibility) -> some ToolbarContent
ToolbarContent-level modifier call preserves Visibility args structurally; typed toolbar background-sharing runtime is not modeled.
iOS iOS 26macOS macOS 26
ToolbarContent.matchedTransitionSource(id:in:)
nonisolated public func matchedTransitionSource(id: some Hashable, in namespace: Namespace.ID) -> some ToolbarContent
ToolbarContent-level modifier call preserves id/namespace args structurally; matched-transition toolbar runtime is not modeled.
iOS iOS 26macOS
CustomizableToolbarContent
public protocol CustomizableToolbarContent : ToolbarContent where Self.Body : CustomizableToolbarContent
module protocol stub preserves type metadata; customization runtime is not executed.
iOS iOS 16macOS macOS 13
CustomizableToolbarContent.defaultCustomization(_:options:)
public func defaultCustomization(_ defaultVisibility: Visibility = .automatic, options: ToolbarCustomizationOptions = []) -> some CustomizableToolbarContent
Customization call preserves visibility/options args structurally; toolbar customization runtime is not modeled.
iOS iOS 16macOS macOS 13
CustomizableToolbarContent.customizationBehavior(_:)
nonisolated public func customizationBehavior(_ behavior: ToolbarCustomizationBehavior) -> some CustomizableToolbarContent
Customization behavior call preserves the behavior token structurally; toolbar customization runtime is not modeled.
iOS iOS 16macOS macOS 13
ToolbarContentBuilder
@resultBuilder public struct ToolbarContentBuilder
module result-builder stub preserves type metadata; toolbar-content builder execution is not modeled.
iOS iOS 14macOS macOS 11
ToolbarContentBuilder.buildBlock(_:)
public static func buildBlock<Content>(_ content: Content) -> some ToolbarContent where Content : ToolbarContent
Explicit builder static call preserves ToolbarContent args structurally; normal toolbar lowering uses MiniSwift's dedicated toolbar-body path.
iOS iOS 14macOS macOS 11
ToolbarContentBuilder.buildExpression(_:)
public static func buildExpression<Content>(_ content: Content) -> Content where Content : ToolbarContent
Explicit builder static call preserves ToolbarContent args structurally; builder runtime is not executed.
iOS iOS 14macOS macOS 11
ToolbarContentBuilder.buildIf(_:)
public static func buildIf<Content>(_ content: Content?) -> Content? where Content : ToolbarContent
Explicit builder static call preserves optional ToolbarContent args structurally; builder runtime is not executed.
iOS iOS 16macOS macOS 13
ToolbarContentBuilder.buildEither(first:)
public static func buildEither<TrueContent, FalseContent>(first: TrueContent) -> _ConditionalContent<TrueContent, FalseContent> where TrueContent : ToolbarContent, FalseContent : ToolbarContent
Explicit builder static call preserves the first: toolbar content branch structurally; builder runtime is not executed.
iOS iOS 16macOS macOS 13
ToolbarContentBuilder.buildEither(second:)
public static func buildEither<TrueContent, FalseContent>(second: FalseContent) -> _ConditionalContent<TrueContent, FalseContent> where TrueContent : ToolbarContent, FalseContent : ToolbarContent
Explicit builder static call preserves the second: toolbar content branch structurally; builder runtime is not executed.
iOS iOS 16macOS macOS 13
ToolbarContentBuilder.buildLimitedAvailability(_:)
public static func buildLimitedAvailability(_ content: any ToolbarContent) -> some ToolbarContent
Explicit builder static call preserves ToolbarContent args structurally; availability-specific builder runtime is not executed.
iOS iOS 17.5macOS macOS 14.5
View.presentationDetents(_:)
nonisolated public func presentationDetents(_ detents: Set<PresentationDetent>) -> some View
Presentation-policy family: stored as modal policy metadata. Detent set captured as policy field.
iOS iOS 16macOS macOS 13
View.presentationDetents(_:selection:)
nonisolated public func presentationDetents(_ detents: Set<PresentationDetent>, selection: Binding<PresentationDetent>) -> some View
Presentation-policy family; detents + selection binding captured as modal policy metadata.
iOS iOS 16macOS macOS 13
PresentationDetent
public struct PresentationDetent : Hashable, Sendable
presentationDetents preserves detent arrays as expression payloads; no standalone detent runtime/protocol execution.
iOS iOS 16macOS macOS 13
PresentationDetent.medium
public static let medium: PresentationDetent
Preserved inside presentationDetents expression payloads as enum/factory tokens; sheet sizing behavior remains renderer/runtime policy.
iOS iOS 16macOS macOS 13
PresentationDetent.large
public static let large: PresentationDetent
Preserved inside presentationDetents expression payloads as enum/factory tokens; sheet sizing behavior remains renderer/runtime policy.
iOS iOS 16macOS macOS 13
PresentationDetent.fraction(_:)
public static func fraction(_ fraction: CGFloat) -> PresentationDetent
Preserved inside presentationDetents expression payloads as enum/factory tokens; sheet sizing behavior remains renderer/runtime policy.
iOS iOS 16macOS macOS 13
PresentationDetent.height(_:)
public static func height(_ height: CGFloat) -> PresentationDetent
Preserved inside presentationDetents expression payloads as enum/factory tokens; sheet sizing behavior remains renderer/runtime policy.
iOS iOS 16macOS macOS 13
PresentationDetent.custom(_:)
public static func custom<D>(_ type: D.Type) -> PresentationDetent where D : CustomPresentationDetent
Custom detent factory call preserves the detent type token structurally; CustomPresentationDetent.height(in:) is not executed.
iOS iOS 16macOS macOS 13
PresentationDetent.Context
@dynamicMemberLookup public struct Context
module struct stub preserves type metadata for custom detent contexts; detent height runtime is not executed.
iOS iOS 16macOS macOS 13
CustomPresentationDetent
public protocol CustomPresentationDetent
module protocol stub preserves type metadata; height(in:) is not executed.
iOS iOS 16macOS macOS 13
View.presentationDragIndicator(_:)
nonisolated public func presentationDragIndicator(_ visibility: Visibility) -> some View
Presentation-policy family; visibility stored as modal policy metadata.
iOS iOS 16macOS macOS 13
View.presentationBackground(_:)
nonisolated public func presentationBackground<S>(_ style: S) -> some View where S : ShapeStyle
Presentation-policy family; ShapeStyle background captured as modal policy metadata.
iOS iOS 16.4macOS macOS 13.3
View.presentationBackground(alignment:content:)
nonisolated public func presentationBackground<V>(alignment: Alignment = .center, @ViewBuilder content: () -> V) -> some View where V : View
Presentation-policy family; content-closure background overload captured as policy.
iOS iOS 16.4macOS macOS 13.3
View.presentationCornerRadius(_:)
nonisolated public func presentationCornerRadius(_ cornerRadius: CGFloat?) -> some View
Presentation-policy family; corner radius stored as modal policy metadata.
iOS iOS 16.4macOS macOS 13.3
View.presentationBackgroundInteraction(_:)
nonisolated public func presentationBackgroundInteraction(_ interaction: PresentationBackgroundInteraction) -> some View
Presentation-policy family; interaction stored as modal policy metadata (value type itself not modeled).
iOS iOS 16.4macOS macOS 13.3
View.presentationCompactAdaptation(_:)
nonisolated public func presentationCompactAdaptation(_ adaptation: PresentationAdaptation) -> some View
Presentation-policy family; adaptation stored as modal policy metadata.
iOS iOS 16.4macOS macOS 13.3
View.presentationCompactAdaptation(horizontal:vertical:)
nonisolated public func presentationCompactAdaptation(horizontal horizontalAdaptation: PresentationAdaptation, vertical verticalAdaptation: PresentationAdaptation) -> some View
Presentation-policy family; horizontal/vertical adaptation captured as policy.
iOS iOS 16.4macOS macOS 13.3
View.presentationContentInteraction(_:)
nonisolated public func presentationContentInteraction(_ behavior: PresentationContentInteraction) -> some View
Presentation-policy family; behavior stored as modal policy metadata.
iOS iOS 16.4macOS macOS 13.3
View.presentationSizing(_:)
nonisolated public func presentationSizing(_ sizing: some PresentationSizing) -> some View
Dedicated UI_PRESENTATION_POLICY_SIZING; lowering maps presentationSizing in modules/swiftui/compiler/lower/chain.c:351, and JSON emits the sizing value as presentationPolicy.payload.sizing (modules/swiftui/compiler/uiir/json_modifier.c:880).
iOS iOS 18macOS macOS 15
View.interactiveDismissDisabled(_:)
nonisolated public func interactiveDismissDisabled(_ isDisabled: Bool = true) -> some View
Presentation-policy family; isDisabled flag stored as modal policy metadata.
iOS iOS 15macOS macOS 12
PresentationAdaptation
public struct PresentationAdaptation : Sendable
presentationCompactAdaptation serializes adaptation tokens, including horizontal/vertical overload payloads; no standalone value runtime.
iOS iOS 16.4macOS macOS 13.3
PresentationAdaptation.automatic
public static var automatic: PresentationAdaptation { get }
Preserved as a presentationCompactAdaptation token payload; adaptive presentation behavior remains renderer/runtime policy.
iOS iOS 16.4macOS macOS 13.3
PresentationAdaptation.popover
public static var popover: PresentationAdaptation { get }
Preserved as a presentationCompactAdaptation token payload; adaptive presentation behavior remains renderer/runtime policy.
iOS iOS 16.4macOS macOS 13.3
PresentationAdaptation.sheet
public static var sheet: PresentationAdaptation { get }
Preserved as a presentationCompactAdaptation token payload; adaptive presentation behavior remains renderer/runtime policy.
iOS iOS 16.4macOS macOS 13.3
PresentationAdaptation.fullScreenCover
public static var fullScreenCover: PresentationAdaptation { get }
Preserved as a presentationCompactAdaptation token payload; adaptive presentation behavior remains renderer/runtime policy.
iOS iOS 16.4macOS macOS 13.3
PresentationBackgroundInteraction
public struct PresentationBackgroundInteraction : Sendable
presentationBackgroundInteraction serializes interaction values as typed policy payloads; background hit-testing behavior is not implemented.
iOS iOS 16.4macOS macOS 13.3
PresentationBackgroundInteraction.enabled(upThrough:)
public static func enabled(upThrough detent: PresentationDetent) -> PresentationBackgroundInteraction
Preserved as an enabled(upThrough:) expression payload with the detent token; actual background interaction behavior remains renderer/runtime policy.
iOS iOS 16.4macOS macOS 13.3
PresentationContentInteraction
public struct PresentationContentInteraction : Equatable, Sendable
presentationContentInteraction serializes content interaction tokens as policy payloads; scroll/resize behavior is renderer/runtime policy.
iOS iOS 16.4macOS macOS 13.3
PresentationContentInteraction.resizes
public static var resizes: PresentationContentInteraction { get }
Preserved as a presentationContentInteraction token payload; runtime resize behavior remains unmodeled.
iOS iOS 16.4macOS macOS 13.3
PresentationContentInteraction.scrolls
public static var scrolls: PresentationContentInteraction { get }
Preserved as a presentationContentInteraction token payload; runtime scroll behavior remains unmodeled.
iOS iOS 16.4macOS macOS 13.3
PopoverAttachmentAnchor
public enum PopoverAttachmentAnchor
popover serializes default/explicit attachment anchors in presentation payloads; no standalone anchor runtime.
iOS allmacOS all
PopoverAttachmentAnchor.rect(_:)
case rect(Anchor<CGRect>.Source)
Serialized by popover as attachmentAnchor.kind=rect plus source token; popover placement runtime remains renderer policy.
iOS allmacOS all
PopoverAttachmentAnchor.point(_:)
case point(UnitPoint)
Serialized by popover as attachmentAnchor.kind=point plus UnitPoint token; popover placement runtime remains renderer policy.
iOS allmacOS all
DismissAction
@MainActor @preconcurrency public struct DismissAction
module struct stub preserves action-object type metadata; dismissal call/runtime is still not executed.
iOS iOS 15macOS macOS 12
DismissAction.callAsFunction()
@MainActor @preconcurrency public func callAsFunction()
Calls on an @Environment(\.dismiss) action value survive as generic actionIR.call inside closures; presentation dismissal runtime is not executed.
iOS iOS 15macOS macOS 12
EnvironmentValues.dismiss
public var dismiss: DismissAction { get }
@Environment(\.dismiss) wrapper metadata now preserves the raw keyPath as wrapperArg; no live EnvironmentValues resolver/runtime value is implemented.
iOS iOS 15macOS macOS 12
DismissBehavior
public struct DismissBehavior : Sendable
module struct stub preserves dismiss-behavior value metadata; transaction/window dismissal runtime remains structural.
iOS iOS 17macOS macOS 14
DismissBehavior.interactive
public static let interactive: DismissBehavior
Static member token survives structurally; transaction/window dismissal behavior is not executed.
iOS iOS 17macOS macOS 14
DismissBehavior.destructive
public static let destructive: DismissBehavior
Static member token survives structurally; transaction/window dismissal behavior is not executed.
iOS iOS 17macOS macOS 14
PresentationMode [deprecated]
public struct PresentationMode
module struct stub preserves deprecated presentation-mode metadata; presentation runtime remains unmodeled.
iOS iOS 13 depmacOS macOS 10.15 dep
View.inspector(isPresented:content:)
nonisolated public func inspector<V>(isPresented: Binding<Bool>, @ViewBuilder content: () -> V) -> some View where V : View
Dedicated UI_PRESENTATION_INSPECTOR; modules/swiftui/compiler/lower/presentation.c:39 recognizes inspector, presentation.c:212 lowers its content closure into a content slot, and JSON emits presentation.kind=inspector plus payload.isPresented/trigger (modules/swiftui/compiler/uiir/json_modifier.c:881).
iOS iOS 17macOS macOS 14
View.inspectorColumnWidth(min:ideal:max:)
nonisolated public func inspectorColumnWidth(min: CGFloat? = nil, ideal: CGFloat, max: CGFloat? = nil) -> some View
Dedicated UI_SEMANTIC_INSPECTOR_COLUMN_WIDTH; lowering maps inspectorColumnWidth in modules/swiftui/compiler/lower/chain.c:707, decomposes numeric min/ideal/max into UISemantic.inspector_column_*_width fields (chain.c:2296), and JSON emits payload.min/ideal/max (modules/swiftui/compiler/uiir/json_modifier.c:2097).
iOS iOS 17macOS macOS 14
View.inspectorColumnWidth(_:)
nonisolated public func inspectorColumnWidth(_ width: CGFloat) -> some View
Same UI_SEMANTIC_INSPECTOR_COLUMN_WIDTH; the fixed-width overload decomposes the unlabeled numeric arg into UISemantic.inspector_column_width (include/internal/uiir.h:1121, chain.c:2303) and JSON emits payload.width (modules/swiftui/compiler/uiir/json_modifier.c:2097).
iOS iOS 17macOS macOS 14
View.fileImporter(isPresented:allowedContentTypes:onCompletion:)
nonisolated public func fileImporter(isPresented: Binding<Bool>, allowedContentTypes: [UTType], onCompletion: @escaping (_ result: Result<URL, any Error>) -> Void) -> some View
fileImporter in catalog as generic UIMod; completion closure not lowered to actionIR, no file runtime.
iOS iOS 14macOS macOS 11
View.fileImporter(isPresented:allowedContentTypes:allowsMultipleSelection:onCompletion:)
nonisolated public func fileImporter(isPresented: Binding<Bool>, allowedContentTypes: [UTType], allowsMultipleSelection: Bool, onCompletion: @escaping (_ result: Result<[URL], any Error>) -> Void) -> some View
Generic UIMod only; multi-select import not a typed presentation family.
iOS iOS 14macOS macOS 11
View.fileImporter(isPresented:allowedContentTypes:allowsMultipleSelection:onCompletion:onCancellation:)
nonisolated public func fileImporter(isPresented: Binding<Bool>, allowedContentTypes: [UTType], allowsMultipleSelection: Bool, onCompletion: @escaping (_ result: Result<[URL], any Error>) -> Void, onCancellation: @escaping () -> Void) -> some View
Generic UIMod only; completion/cancellation closures not lowered.
iOS iOS 17macOS macOS 14
View.fileExporter(isPresented:document:contentType:defaultFilename:onCompletion:)
nonisolated public func fileExporter<D>(isPresented: Binding<Bool>, document: D?, contentType: UTType, defaultFilename: String? = nil, onCompletion: @escaping (_ result: Result<URL, any Error>) -> Void) -> some View where D : FileDocument
fileExporter in catalog as generic UIMod; FileDocument/completion not lowered, no file runtime.
iOS iOS 14macOS macOS 11
View.fileExporter(isPresented:documents:contentType:onCompletion:)
nonisolated public func fileExporter<C>(isPresented: Binding<Bool>, documents: C, contentType: UTType, onCompletion: @escaping (_ result: Result<[URL], any Error>) -> Void) -> some View where C : Collection, C.Element : FileDocument
Generic UIMod only; multi-document export not typed.
iOS iOS 14macOS macOS 11
View.fileExporter(isPresented:item:contentTypes:defaultFilename:onCompletion:onCancellation:)
nonisolated public func fileExporter<T>(isPresented: Binding<Bool>, item: T?, contentTypes: [UTType] = [], defaultFilename: String? = nil, onCompletion: @escaping (Result<URL, any Error>) -> Void, onCancellation: @escaping () -> Void = { }) -> some View where T : Transferable
Generic UIMod only; Transferable item export not lowered.
iOS iOS 17macOS macOS 14
View.fileExporterFilenameLabel(_:)
nonisolated public func fileExporterFilenameLabel(_ label: Text?) -> some View
fileExporterFilenameLabel in catalog as generic UIMod; label not typed.
iOS iOS 17macOS macOS 14
View.fileMover(isPresented:file:onCompletion:)
nonisolated public func fileMover(isPresented: Binding<Bool>, file: URL?, onCompletion: @escaping (_ result: Result<URL, any Error>) -> Void) -> some View
fileMover in catalog as generic UIMod; completion closure not lowered, no file runtime.
iOS iOS 14macOS macOS 11
View.fileMover(isPresented:files:onCompletion:)
nonisolated public func fileMover<C>(isPresented: Binding<Bool>, files: C, onCompletion: @escaping (_ result: Result<[URL], any Error>) -> Void) -> some View where C : Collection, C.Element == URL
Generic UIMod only; multi-file move not typed.
iOS iOS 14macOS macOS 11
View.fileMover(isPresented:file:onCompletion:onCancellation:)
nonisolated public func fileMover(isPresented: Binding<Bool>, file: URL?, onCompletion: @escaping (Result<URL, any Error>) -> Void, onCancellation: @escaping () -> Void) -> some View
Generic UIMod only; completion+cancellation not lowered.
iOS iOS 17macOS macOS 14
View.toolbarBackground(_:for:) [style]
nonisolated public func toolbarBackground<S>(_ style: S, for bars: ToolbarPlacement...) -> some View where S : ShapeStyle
Dedicated UI_SEMANTIC_TOOLBAR_BACKGROUND; lowering maps toolbarBackground in modules/swiftui/compiler/lower/chain.c:697, and JSON emits style overloads as semantic.payload.style plus bars (modules/swiftui/compiler/uiir/json_modifier.c:2048).
iOS iOS 16macOS macOS 13
View.toolbarBackground(_:for:) [visibility]
nonisolated public func toolbarBackground(_ visibility: Visibility, for bars: ToolbarPlacement...) -> some View
Same UI_SEMANTIC_TOOLBAR_BACKGROUND metadata; .visible/.hidden/.automatic decompose to semantic.payload.visibility plus bars (modules/swiftui/compiler/uiir/json_modifier.c:2048).
iOS iOS 16macOS macOS 13
View.toolbarBackgroundVisibility(_:for:)
nonisolated public func toolbarBackgroundVisibility(_ visibility: Visibility, for bars: ToolbarPlacement...) -> some View
Dedicated UI_SEMANTIC_TOOLBAR_BACKGROUND_VISIBILITY; lowering maps toolbarBackgroundVisibility in modules/swiftui/compiler/lower/chain.c:699, and JSON emits semantic.payload.visibility plus bars (modules/swiftui/compiler/uiir/json_modifier.c:2061).
iOS iOS 18macOS macOS 15
View.toolbarColorScheme(_:for:)
nonisolated public func toolbarColorScheme(_ colorScheme: ColorScheme?, for bars: ToolbarPlacement...) -> some View
Dedicated UI_SEMANTIC_TOOLBAR_COLOR_SCHEME; lowering maps toolbarColorScheme in modules/swiftui/compiler/lower/chain.c:701, and JSON emits semantic.payload.colorScheme plus bars (modules/swiftui/compiler/uiir/json_modifier.c:2076).
iOS iOS 16macOS macOS 13
View.toolbarVisibility(_:for:)
nonisolated public func toolbarVisibility(_ visibility: Visibility, for bars: ToolbarPlacement...) -> some View
Dedicated UI_SEMANTIC_TOOLBAR_VISIBILITY; lowering maps toolbarVisibility in modules/swiftui/compiler/lower/chain.c:703, and JSON emits semantic.payload.visibility plus bars (modules/swiftui/compiler/uiir/json_modifier.c:2061).
iOS iOS 18macOS macOS 15
View.toolbarForegroundStyle(_:for:)
nonisolated public func toolbarForegroundStyle<S>(_ style: S, for bars: ToolbarPlacement...) -> some View where S : ShapeStyle
Dedicated UI_SEMANTIC_TOOLBAR_FOREGROUND_STYLE; lowering maps toolbarForegroundStyle in modules/swiftui/compiler/lower/chain.c:705, and JSON emits semantic.payload.style plus bars (modules/swiftui/compiler/uiir/json_modifier.c:2089).
iOS iOS 18macOS macOS 15
View.toolbarRole(_:)
nonisolated public func toolbarRole(_ role: ToolbarRole) -> some View
dedicated navigation metadata via navigation_kind_for_modifier in modules/swiftui/compiler/lower/chain.c:148; role arg serialized as payload.role in modules/swiftui/compiler/uiir/json_action.c:408.
iOS iOS 16macOS macOS 13
View.toolbarTitleDisplayMode(_:)
nonisolated public func toolbarTitleDisplayMode(_ mode: ToolbarTitleDisplayMode) -> some View
dedicated navigation metadata via navigation_kind_for_modifier in modules/swiftui/compiler/lower/chain.c:148; UINavigationKind has UI_NAVIGATION_TOOLBAR_TITLE_DISPLAY_MODE at include/internal/uiir.h:559; JSON emits payload.displayMode in modules/swiftui/compiler/uiir/json_action.c:408.
iOS iOS 17macOS macOS 14
View.toolbarTitleMenu(content:)
nonisolated public func toolbarTitleMenu<C>(@ViewBuilder content: () -> C) -> some View where C : View
Dedicated UI_SEMANTIC_TOOLBAR_TITLE_MENU; lowering maps it in modules/swiftui/compiler/lower/chain.c:740, skips the ViewBuilder closure from raw args (chain.c:3577), captures it as UI_SLOT_TOOLBAR_TITLE_MENU content (chain.c:3449, chain.c:3666), and JSON emits semantic.payload.hasContentSlot/contentSlot (modules/swiftui/compiler/uiir/json_modifier.c:2398).
iOS iOS 16macOS macOS 13
ToolbarItemHidden modifier (toolbarItemHidden)
nonisolated public func toolbarItemHidden(_ hidden: Bool = true) -> some ToolbarContent
toolbarItemHidden in catalog as generic UIMod; ToolbarContent-level, not lowered as typed toolbar item.
iOS iOS 26macOS macOS 26
ToolbarPlacement
public struct ToolbarPlacement
Toolbar placement values serialize as bars payloads for toolbar chrome modifiers; no standalone value runtime.
iOS iOS 16macOS macOS 13
ToolbarRole
public struct ToolbarRole : Sendable
toolbarRole(_:) serializes role tokens as dedicated navigation payloads; no standalone value runtime.
iOS iOS 16macOS macOS 13
ToolbarTitleDisplayMode
public struct ToolbarTitleDisplayMode
toolbarTitleDisplayMode(_:) serializes display-mode tokens as dedicated navigation payloads; no standalone value runtime.
iOS iOS 17macOS macOS 14
ToolbarDefaultItemKind
public struct ToolbarDefaultItemKind
toolbar(removing:) serializes default item kind tokens such as .sidebarToggle; toolbar customization runtime remains unmodeled.
iOS iOS 17macOS macOS 14
ToolbarLabelStyle
public struct ToolbarLabelStyle : Sendable, Equatable
module struct stub preserves toolbar-label-style metadata; style behavior is renderer/runtime policy.
iOS iOS 18macOS macOS 15
View.contextMenu(menuItems:)
nonisolated public func contextMenu<MenuItems>(@ViewBuilder menuItems: () -> MenuItems) -> some View where MenuItems : View
Dedicated UI_SEMANTIC_CONTEXT_MENU; contextMenu maps in modules/swiftui/compiler/lower/chain.c:799, trailing menu content lowers into mod.content with slot=content (modules/swiftui/compiler/lower/chain.c:3287, modules/swiftui/compiler/lower/chain.c:3535), and JSON emits semantic.payload.hasMenuSlot (modules/swiftui/compiler/uiir/json_modifier.c:2949).
iOS allmacOS all
View.contextMenu(menuItems:preview:)
nonisolated public func contextMenu<M, P>(@ViewBuilder menuItems: () -> M, @ViewBuilder preview: () -> P) -> some View where M : View, P : View
Same UI_SEMANTIC_CONTEXT_MENU; menu content lowers to content, preview lowers to previewContent with slot=preview (include/internal/uiir.h:520, modules/swiftui/compiler/uiir/json_node.c:336), and JSON emits semantic.payload.hasPreviewSlot (modules/swiftui/compiler/uiir/json_modifier.c:2952).
iOS iOS 16macOS macOS 13
View.contextMenu(forSelectionType:menu:primaryAction:)
nonisolated public func contextMenu<I, M>(forSelectionType itemType: I.Type = I.self, @ViewBuilder menu: @escaping (Set<I>) -> M, primaryAction: ((Set<I>) -> Void)? = nil) -> some View where I : Hashable, M : View
Dedicated UI_SEMANTIC_CONTEXT_MENU now captures forSelectionType as semantic.payload.selectionType and lowers label-arg menu: plus primaryAction: closures to content/actionIR (modules/swiftui/compiler/lower/chain.c:3304, modules/swiftui/compiler/lower/chain.c:3339, modules/swiftui/compiler/uiir/json_modifier.c:2957). Swift multiple-trailing primaryAction: is still a parser binding gap, so this overload remains partial.
iOS iOS 16macOS macOS 13
View.onCopyCommand(perform:)
nonisolated public func onCopyCommand(perform payloadAction: (() -> [NSItemProvider])?) -> some View
Generated catalog marks onCopyCommand as action-capable (include/generated/swiftui_stubs.h:484); lowering maps it to UI_EVENT_PAYLOAD_COPY_COMMAND with [NSItemProvider] payload type (modules/swiftui/compiler/lower/chain.c:63, chain.c:94), captures the closure as actionIR through the action pipeline (chain.c:3630), and JSON emits eventPayload.kind=copyCommand plus returned itemProviders field (modules/swiftui/compiler/uiir/json_action.c:351). macOS command dispatch remains renderer/runtime policy.
iOSmacOS macOS 10.15
View.onCutCommand(perform:)
nonisolated public func onCutCommand(perform payloadAction: (() -> [NSItemProvider])?) -> some View
Generated catalog marks onCutCommand as action-capable (include/generated/swiftui_stubs.h:485); lowering maps it to UI_EVENT_PAYLOAD_CUT_COMMAND with [NSItemProvider] payload type (modules/swiftui/compiler/lower/chain.c:65, chain.c:95), captures the closure as actionIR (chain.c:3630), and JSON emits eventPayload.kind=cutCommand plus returned itemProviders field (modules/swiftui/compiler/uiir/json_action.c:351). macOS command dispatch remains renderer/runtime policy.
iOSmacOS macOS 10.15
View.onPasteCommand(of:perform:) [UTType]
nonisolated public func onPasteCommand(of supportedContentTypes: [UTType], perform payloadAction: @escaping ([NSItemProvider]) -> Void) -> some View
Catalogued as generic modifier (UIMOD_ON_PASTE_COMMAND, kind 315); UTType array + NSItemProvider payload not typed; macOS-only.
iOSmacOS macOS 11
View.onPasteCommand(of:validator:perform:) [UTType]
nonisolated public func onPasteCommand<Payload>(of supportedContentTypes: [UTType], validator: @escaping ([NSItemProvider]) -> Payload?, perform payloadAction: @escaping (Payload) -> Void) -> some View
Catalogued generic modifier; validator closure + polymorphic Payload type not lowered; UTType filtering not implemented. macOS-only.
iOSmacOS macOS 11
View.onDeleteCommand(perform:)
nonisolated public func onDeleteCommand(perform action: (() -> Void)?) -> some View
Generated catalog marks onDeleteCommand as action-capable (include/generated/swiftui_stubs.h:486); lowering maps it to UI_EVENT_PAYLOAD_DELETE_COMMAND/Void (modules/swiftui/compiler/lower/chain.c:67, chain.c:96), captures the closure as actionIR (chain.c:3630), and JSON emits eventPayload.kind=deleteCommand (modules/swiftui/compiler/uiir/names.c:285). macOS command dispatch remains renderer/runtime policy.
iOSmacOS macOS 10.15
View.onMoveCommand(perform:)
nonisolated public func onMoveCommand(perform action: ((MoveCommandDirection) -> Void)?) -> some View
Generated catalog marks onMoveCommand as action-capable (include/generated/swiftui_stubs.h:498); lowering maps it to UI_EVENT_PAYLOAD_MOVE_COMMAND/MoveCommandDirection (modules/swiftui/compiler/lower/chain.c:69, chain.c:97), captures closure params/actionIR (chain.c:3630), and JSON emits eventPayload.kind=moveCommand with a typed direction field (modules/swiftui/compiler/uiir/json_action.c:356). macOS command dispatch remains renderer/runtime policy.
iOSmacOS macOS 10.15
View.statusBarHidden(_:)
nonisolated public func statusBarHidden(_ hidden: Bool = true) -> some View
Dedicated UI_SEMANTIC_STATUS_BAR_HIDDEN via semantic_kind_for_modifier in modules/swiftui/compiler/lower/chain.c:451; fields live in include/internal/uiir.h:987; JSON emits payload.hidden in modules/swiftui/compiler/uiir/json_modifier.c:1427. iOS-only status-bar chrome remains renderer/runtime policy.
iOS iOS 13macOS

7. Shapes / Path

46·62·0
protocol Shape
public protocol Shape : Animatable, View, Sendable { func path(in rect: CGRect) -> Path }
module protocol stub preserves Shape conformance/type surface; custom path/stroke/fill protocol execution is not modeled.
iOS allmacOS all
Shape.path(in:)
nonisolated public func path(in rect: CGRect) -> Path
Method call preserves the rect arg structurally; custom shape path body execution remains unmodeled.
iOS allmacOS all
Shape.fill(_:style:)
public func fill<S>(_ content: S, style: FillStyle = FillStyle()) -> some View where S : ShapeStyle
fill lowers as a retained modifier with foreground-style metadata; web ShapeView renders color/gradient fills while retaining the FillStyle arg structurally.
iOS allmacOS all
Shape.fill(style:)
public func fill(style: FillStyle = FillStyle()) -> some View
Style-only fill is preserved and web ShapeView renders the shape with the current foreground/default fill; FillStyle eoFill/antialias details remain FillStyle-level gaps.
iOS allmacOS all
Shape.stroke(_:style:)
public func stroke<S>(_ content: S, style: StrokeStyle) -> some View where S : ShapeStyle
stroke is now catalogued as UIMOD_STROKE; UIIR preserves ShapeStyle + StrokeStyle args, web ShapeView renders stroke-only outlines and reads StrokeStyle(lineWidth:).
iOS allmacOS all
Shape.stroke(_:lineWidth:)
public func stroke<S>(_ content: S, lineWidth: CGFloat = 1) -> some View where S : ShapeStyle
stroke lowers as a retained modifier and web ShapeView renders outline-only Rectangle/Circle/Ellipse/RoundedRectangle paths with color/gradient style and lineWidth.
iOS allmacOS all
Shape.stroke(style:)
public func stroke(style: StrokeStyle) -> Self.StrokeShape
Style-only stroke modifier is preserved and web ShapeView renders an outline using foreground color plus StrokeStyle(lineWidth:). Line-cap/join/dash remain StrokeStyle-level gaps.
iOS iOS 17macOS macOS 14
Shape.trim(from:to:)
public func trim(from startFraction: CGFloat = 0, to endFraction: CGFloat = 1) -> some Shape
Method call preserves from/to args structurally; trim geometry is not evaluated.
iOS allmacOS all
Shape.fillStyle
public func fill(_ content:, style: FillStyle) (FillStyle: eoFill/antialiased)
FillStyle argument survives structurally through fill calls; eoFill/antialias rendering remains runtime policy.
iOS allmacOS all
Shape.size(_:)
public func size(_ size: CGSize) -> some Shape
Method call preserves CGSize arg structurally; shape sizing geometry is not evaluated.
iOS allmacOS all
Shape.size(width:height:)
public func size(width: CGFloat, height: CGFloat) -> some Shape
Method call preserves width/height args structurally; shape sizing geometry is not evaluated.
iOS allmacOS all
Shape.offset(_:)
public func offset(_ offset: CGSize) -> OffsetShape<Self>
produces OffsetShape (catalog *Shape combinator, structural-only); View .offset modifier is separate/typed. web treats *Shape as plumbing
iOS allmacOS all
Shape.offset(x:y:)
public func offset(x: CGFloat = 0, y: CGFloat = 0) -> OffsetShape<Self>
OffsetShape catalogued structurally (no dedicated geom); web treats *Shape combinators as framework plumbing. partial
iOS allmacOS all
Shape.offset(_:CGPoint)
public func offset(_ offset: CGPoint) -> OffsetShape<Self>
CGPoint overload → OffsetShape; structural capture only. partial
iOS allmacOS all
Shape.scale(_:anchor:)
public func scale(_ scale: CGFloat, anchor: UnitPoint = .center) -> ScaledShape<Self>
ScaledShape in catalog (structural-only combinator); no dedicated scale-on-shape semantics. partial
iOS allmacOS all
Shape.scale(x:y:anchor:)
public func scale(x: CGFloat = 1, y: CGFloat = 1, anchor: UnitPoint = .center) -> ScaledShape<Self>
ScaledShape catalogued structurally only; web treats *Shape combinators as plumbing. partial
iOS allmacOS all
Shape.rotation(_:anchor:)
public func rotation(_ angle: Angle, anchor: UnitPoint = .center) -> RotatedShape<Self>
RotatedShape in catalog (structural-only combinator); no dedicated rotation-on-shape geometry. partial
iOS allmacOS all
Shape.transform(_:)
public func transform(_ transform: CGAffineTransform) -> TransformedShape<Self>
TransformedShape in catalog (structural-only combinator). partial
iOS allmacOS all
protocol InsettableShape
public protocol InsettableShape : Shape { associatedtype InsetShape : InsettableShape; func inset(by amount: CGFloat) -> Self.InsetShape }
module protocol stub preserves InsettableShape conformance/type surface; inset/strokeBorder execution is not modeled.
iOS allmacOS all
InsettableShape.inset(by:)
@inlinable nonisolated public func inset(by amount: CGFloat) -> some InsettableShape
Method call preserves inset amount structurally; inset geometry is not evaluated.
iOS iOS 17macOS macOS 14
InsettableShape.strokeBorder(_:style:)
public func strokeBorder<S>(_ content: S, style: StrokeStyle, antialiased: Bool = true) -> some View where S : ShapeStyle
Method call preserves content/style/antialiased args structurally; stroke-border rendering is not implemented.
iOS allmacOS all
InsettableShape.strokeBorder(_:lineWidth:)
public func strokeBorder<S>(_ content: S, lineWidth: CGFloat = 1, antialiased: Bool = true) -> some View where S : ShapeStyle
Method call preserves content/lineWidth/antialiased args structurally; stroke-border rendering is not implemented.
iOS allmacOS all
InsettableShape.strokeBorder(style:)
public func strokeBorder(style: StrokeStyle, antialiased: Bool = true) -> some View
Method call preserves StrokeStyle/antialiased args structurally; stroke-border rendering is not implemented.
iOS allmacOS all
Rectangle
@frozen public struct Rectangle : Shape { @inlinable public init() }
in catalog (leaf view) AND coverage leaf family; UINodeKind. web → ShapeView (renders). android compose-pending. decl is SwiftUICore
iOS allmacOS all
Rectangle.path(in:)
nonisolated public func path(in rect: CGRect) -> Path
Rectangle captured as a node; concrete path body not lowered (renderer draws the rect directly). full as a view node
iOS allmacOS all
RoundedRectangle
@frozen public struct RoundedRectangle : Shape { public var cornerSize: CGSize; public var style: RoundedCornerStyle }
in catalog (leaf view) + coverage leaf family; web → ShapeView (rounded). android pending. decl is SwiftUICore
iOS allmacOS all
RoundedRectangle.init(cornerSize:style:)
@inlinable public init(cornerSize: CGSize, style: RoundedCornerStyle = .continuous)
captured as RoundedRectangle node with arg metadata; style enum not semantically distinguished by renderer. full
iOS allmacOS all
RoundedRectangle.init(cornerRadius:style:)
@inlinable public init(cornerRadius: CGFloat, style: RoundedCornerStyle = .continuous)
common form; node + cornerRadius arg; web ShapeView rounds corners. full
iOS allmacOS all
UnevenRoundedRectangle
@frozen public struct UnevenRoundedRectangle : Shape { public var cornerRadii: RectangleCornerRadii; public var style: RoundedCornerStyle }
Catalogued shape view; web ShapeView draws a per-corner rounded rectangle from either RectangleCornerRadii or individual radius args. Android pending.
iOS iOS 16macOS macOS 13
UnevenRoundedRectangle.init(cornerRadii:style:)
public init(cornerRadii: RectangleCornerRadii, style: RoundedCornerStyle = .continuous)
RectangleCornerRadii(...) arg lowers structurally and web resolves topLeading/topTrailing/bottomTrailing/bottomLeading into per-corner canvas path radii.
iOS iOS 16macOS macOS 13
UnevenRoundedRectangle.init(topLeadingRadius:...:style:)
public init(topLeadingRadius: CGFloat = 0, bottomLeadingRadius: CGFloat = 0, bottomTrailingRadius: CGFloat = 0, topTrailingRadius: CGFloat = 0, style: RoundedCornerStyle = .continuous)
Individual radius args lower on the shape node and web honors each corner independently.
iOS iOS 16macOS macOS 13
ConcentricRectangle
@frozen public struct ConcentricRectangle : Shape
catalog ConcentricRectangle view; web → ShapeView('rectangle') uniform corners; concentric behavior not modeled. android pending. partial
iOS iOS 26macOS macOS 26
Circle
@frozen public struct Circle : Shape { @inlinable public init() }
in catalog (leaf view) + coverage leaf family; web → ShapeView (circle). android pending. decl is SwiftUICore
iOS allmacOS all
Circle.path(in:)
nonisolated public func path(in rect: CGRect) -> Path
captured as Circle node; renderer draws circle directly, path body not lowered. full as a node
iOS allmacOS all
Ellipse
@frozen public struct Ellipse : Shape { @inlinable public init() }
in catalog (leaf view) + coverage leaf family; web → ShapeView. only doc-comment reference in iOS dump (line 77133). android pending. full
iOS allmacOS all
Capsule
@frozen public struct Capsule : Shape { public var style: RoundedCornerStyle; @inlinable public init(style: RoundedCornerStyle = .continuous) }
in catalog (leaf view) + coverage leaf family; web → ShapeView. android pending. decl is SwiftUICore (0 hits in iOS dump). full
iOS allmacOS all
Capsule.init(style:)
@inlinable public init(style: RoundedCornerStyle = .continuous)
Capsule node captured; RoundedCornerStyle arg stored but circular/continuous not distinguished by renderer. full
iOS allmacOS all
ContainerRelativeShape
@frozen public struct ContainerRelativeShape : Shape { @inlinable public init() }
catalog ContainerRelativeShape view (structural); resolves to container shape at runtime — not modeled; no web handler. partial
iOS allmacOS all
AnyShape
@frozen public struct AnyShape : Shape { public init<S>(_ shape: S) where S : Shape }
in catalog (AnyShape view) but treated as framework plumbing combinator (structural-only); no shape erasure semantics. partial
iOS iOS 16macOS macOS 13
AnyShape.init(_:)
public init<S>(_ shape: S) where S : Shape
type-erasing wrapper; catalogued structurally, wrapped shape not unwrapped/rendered specially. partial
iOS iOS 16macOS macOS 13
OffsetShape
@frozen public struct OffsetShape<Content> : Shape where Content : Shape { public var shape: Content; public var offset: CGSize }
in catalog (OffsetShape view) but a structural *Shape combinator, framework plumbing per web matrix; no dedicated offset geometry. partial
iOS allmacOS all
RotatedShape
@frozen public struct RotatedShape<Content> : Shape where Content : Shape { public var shape: Content; public var angle: Angle; public var anchor: UnitPoint }
in catalog; structural *Shape combinator (plumbing); no rotation geometry applied. partial
iOS allmacOS all
ScaledShape
@frozen public struct ScaledShape<Content> : Shape where Content : Shape { public var shape: Content; public var scale: CGSize; public var anchor: UnitPoint }
in catalog; structural *Shape combinator (plumbing); no scale geometry applied. partial
iOS allmacOS all
TransformedShape
@frozen public struct TransformedShape<Content> : Shape where Content : Shape { public var shape: Content; public var transform: CGAffineTransform }
in catalog; structural *Shape combinator (plumbing); affine transform not applied. partial
iOS allmacOS all
Path
@frozen public struct Path : Equatable, LosslessStringConvertible, @unchecked Sendable
catalog graphics-builder view; typed UIPathCommand arena (12 cmd kinds). web → Path renders (canvas replay). android compose-pending. full
iOS allmacOS all
Path.init()
public init()
empty path; Path node with command arena. full
iOS allmacOS all
Path.init(_:CGRect)
public init(_ rect: CGRect)
CGRect initializer args lower structurally and web PathView replays them as a typed addRect canvas command.
iOS allmacOS all
Path.init(roundedRect:cornerRadius:style:)
public init(roundedRect rect: CGRect, cornerRadius: CGFloat, style: RoundedCornerStyle = .continuous)
roundedRect + cornerRadius args lower structurally and web replays them as addRoundedRect. Style token is preserved structurally.
iOS allmacOS all
Path.init(roundedRect:cornerSize:style:)
public init(roundedRect rect: CGRect, cornerSize: CGSize, style: RoundedCornerStyle = .continuous)
roundedRect + CGSize corner args lower structurally and web replays the rounded rectangle path with width/height radii.
iOS allmacOS all
Path.init(ellipseIn:)
public init(ellipseIn rect: CGRect)
ellipseIn CGRect args lower structurally and web PathView replays them as a typed addEllipse canvas command.
iOS allmacOS all
Path.init(_:CGPath)
public init(_ path: CGPath)
from CGPath; CG bridging not modeled, raw path data not lowered. partial
iOS allmacOS all
Path.init(_:builder)
public init(_ callback: (inout Path) -> ())
builder closure form; the inout mutations lower into the typed path command arena. full
iOS allmacOS all
Path.init(_:String)
public init?(_ string: String)
LosslessStringConvertible parse; SVG-like string path not parsed into commands. partial
iOS allmacOS all
Path.move(to:)
public mutating func move(to p: CGPoint)
lowered as a typed path command (move) in the command arena. full
iOS allmacOS all
Path.addLine(to:)
public mutating func addLine(to p: CGPoint)
lowered as a typed path command (addLine). full
iOS allmacOS all
Path.addQuadCurve(to:control:)
public mutating func addQuadCurve(to p: CGPoint, control cp: CGPoint)
quadratic curve → typed path command in the arena. full
iOS allmacOS all
Path.addCurve(to:control1:control2:)
public mutating func addCurve(to p: CGPoint, control1 cp1: CGPoint, control2 cp2: CGPoint)
cubic curve → typed path command. full
iOS allmacOS all
Path.addRect(_:)
public mutating func addRect(_ rect: CGRect)
rect subpath → path command arena. full
iOS allmacOS all
Path.addRoundedRect(in:cornerSize:style:)
public mutating func addRoundedRect(in rect: CGRect, cornerSize: CGSize, style: RoundedCornerStyle = .continuous)
builder command lowers to addRoundedRect with rect and cornerSize payload; web PathView replays rounded corners into the canvas path.
iOS allmacOS all
Path.addEllipse(in:)
public mutating func addEllipse(in rect: CGRect)
ellipse subpath → typed path command. full
iOS allmacOS all
Path.addArc(center:radius:startAngle:endAngle:clockwise:)
public mutating func addArc(center: CGPoint, radius: CGFloat, startAngle: Angle, endAngle: Angle, clockwise: Bool, transform: CGAffineTransform = .identity)
arc → typed path command (12 path command kinds include arc forms). full
iOS allmacOS all
Path.addArc(tangent1End:tangent2End:radius:)
public mutating func addArc(tangent1End p1: CGPoint, tangent2End p2: CGPoint, radius: CGFloat, transform: CGAffineTransform = .identity)
tangent arc; less common arc schema, demand-driven. partial
iOS allmacOS all
Path.addRelativeArc(center:radius:startAngle:delta:)
public mutating func addRelativeArc(center: CGPoint, radius: CGFloat, startAngle: Angle, delta: Angle, transform: CGAffineTransform = .identity)
relative arc variant; demand-driven schema. partial
iOS allmacOS all
Path.addPath(_:transform:)
public mutating func addPath(_ path: Path, transform: CGAffineTransform = .identity)
append sub-path; nested-path + transform capture is demand-driven. partial
iOS allmacOS all
Path.addLines(_:)
public mutating func addLines(_ lines: [CGPoint])
polyline; array of points lowers into successive line commands. full
iOS allmacOS all
Path.closeSubpath()
public mutating func closeSubpath()
close → typed path command. full
iOS allmacOS all
Path.addRects(_:)
public mutating func addRects(_ rects: [CGRect])
multi-rect subpaths; batch form, demand-driven capture. partial
iOS allmacOS all
Path.addEllipses(_:)
public mutating func addEllipses(_ rects: [CGRect])
multi-ellipse batch; demand-driven capture. partial
iOS allmacOS all
Path.applying(_:)
public func applying(_ transform: CGAffineTransform) -> Path
affine transform of a path; transform application not modeled in the arena. partial
iOS allmacOS all
Path.offsetBy(dx:dy:)
public func offsetBy(dx: CGFloat, dy: CGFloat) -> Path
translated path; offset-of-path not specially modeled. partial
iOS allmacOS all
Path.trimmedPath(from:to:)
public func trimmedPath(from: CGFloat, to: CGFloat) -> Path
partial-path; trim of a Path not modeled in the command arena. partial
iOS allmacOS all
Path.boundingRect
public var boundingRect: CGRect { get }
computed geometry query; not evaluated by the lowerer. partial
iOS allmacOS all
Path.contains(_:eoFill:)
public func contains(_ p: CGPoint, eoFill: Bool = false) -> Bool
hit-test query; not evaluated at lower time. partial
iOS allmacOS all
Path.isEmpty
public var isEmpty: Bool { get }
query property; not evaluated by lowerer. partial
iOS allmacOS all
Path.cgPath
public var cgPath: CGPath { get }
CGPath bridge; CG interop not modeled. partial
iOS allmacOS all
Path.currentPoint
public var currentPoint: CGPoint? { get }
pen position query; not evaluated at lower time. partial
iOS allmacOS all
Path.description
public var description: String { get }
LosslessStringConvertible textual form; not produced by lowerer. partial
iOS allmacOS all
Path.Element
@frozen public enum Element : Equatable { case move(to:); case line(to:); case quadCurve(to:control:); case curve(to:control1:control2:); case closeSubpath }
path-element enum used by forEach; the value enum itself not modeled (commands carried via the path arena instead). partial
iOS allmacOS all
Path.forEach(_:)
public func forEach(_ body: (Path.Element) -> Void)
element iteration; not lowered as an executable traversal. partial
iOS allmacOS all
enum RoundedCornerStyle
@frozen public enum RoundedCornerStyle : Equatable, Hashable, Sendable { case circular; case continuous }
module enum stub preserves type metadata, and rounded-shape args carry style tokens structurally; renderer does not distinguish styles.
iOS allmacOS all
RoundedCornerStyle.circular
case circular
module enum stub preserves the case and rounded shape args keep .circular as an enum token; renderer does not distinguish circular vs continuous corner math.
iOS allmacOS all
RoundedCornerStyle.continuous
case continuous
module enum stub preserves the case and rounded shape args keep .continuous as an enum token; renderer does not distinguish circular vs continuous corner math.
iOS allmacOS all
struct StrokeStyle
public struct StrokeStyle : Equatable { var lineWidth, lineCap, lineJoin, miterLimit, dash, dashPhase }
module struct stub preserves type metadata and canvas stroke calls keep raw StrokeStyle args; no dedicated stroke value model.
iOS allmacOS all
StrokeStyle.init(lineWidth:lineCap:lineJoin:miterLimit:dash:dashPhase:)
public init(lineWidth: CGFloat = 1, lineCap: CGLineCap = .butt, lineJoin: CGLineJoin = .miter, miterLimit: CGFloat = 10, dash: [CGFloat] = [CGFloat](), dashPhase: CGFloat = 0)
Constructor call preserves stroke configuration args structurally; stroke rasterization semantics are not evaluated.
iOS allmacOS all
StrokeStyle.lineWidth
public var lineWidth: CGFloat
Member read survives structurally; stroke value semantics are not evaluated.
iOS allmacOS all
StrokeStyle.lineCap
public var lineCap: CGLineCap
Member read survives structurally; line-cap rendering remains runtime policy.
iOS allmacOS all
StrokeStyle.lineJoin
public var lineJoin: CGLineJoin
Member read survives structurally; line-join rendering remains runtime policy.
iOS allmacOS all
StrokeStyle.dash
public var dash: [CGFloat]
Member read survives structurally; dash rendering remains runtime policy.
iOS allmacOS all
StrokeStyle.dashPhase
public var dashPhase: CGFloat
Member read survives structurally; dash phase rendering remains runtime policy.
iOS allmacOS all
struct FillStyle
@frozen public struct FillStyle : Equatable { public var isEOFilled: Bool; public var isAntialiased: Bool }
module struct stub preserves type metadata and fill/clip calls keep raw FillStyle args; eoFill/antialias value semantics are not modeled.
iOS allmacOS all
FillStyle.init(eoFill:antialiased:)
public init(eoFill: Bool = false, antialiased: Bool = true)
Constructor call preserves eoFill/antialiased args structurally; fill rasterization semantics are not evaluated.
iOS allmacOS all
FillStyle.isEOFilled
public var isEOFilled: Bool
Member read survives structurally; even-odd fill behavior remains renderer/runtime policy.
iOS allmacOS all
FillStyle.isAntialiased
public var isAntialiased: Bool
Member read survives structurally; antialias behavior remains renderer/runtime policy.
iOS allmacOS all
ButtonBorderShape
public struct ButtonBorderShape : Equatable, Sendable
Catalogued config/data value; buttonBorderShape(_:) contextually lowers static/factory tokens to payload.shape, while standalone values remain structural.
iOS iOS 15macOS macOS 12
ButtonBorderShape.automatic
public static let automatic: ButtonBorderShape
Contextually lowered by buttonBorderShape(_:) to payload.shape="automatic"; web styled buttons keep the default capsule policy.
iOS iOS 15macOS macOS 12
ButtonBorderShape.capsule
public static let capsule: ButtonBorderShape
Contextually lowered by buttonBorderShape(_:) to payload.shape="capsule"; web styled buttons use height/2 capsule corners.
iOS iOS 17macOS macOS 14
ButtonBorderShape.roundedRectangle
public static let roundedRectangle: ButtonBorderShape
Contextually lowered by buttonBorderShape(_:) to payload.shape="roundedRectangle"; web styled buttons use rounded-rectangle chrome instead of capsule chrome.
iOS iOS 15macOS macOS 12
ButtonBorderShape.roundedRectangle(radius:)
public static func roundedRectangle(radius: CGFloat) -> ButtonBorderShape
Contextually lowered by buttonBorderShape(_:) to payload.shape="roundedRectangle"; web styled buttons apply rounded-rectangle chrome while preserving factory args structurally.
iOS iOS 15macOS macOS 14
ButtonBorderShape.circle
public static let circle: ButtonBorderShape
Contextually lowered by buttonBorderShape(_:) to payload.shape="circle"; web styled buttons square their measured frame and render circular chrome.
iOS iOS 17macOS macOS 14
ButtonBorderShape: Shape (path(in:))
nonisolated public func path(in rect: CGRect) -> Path
real in-dump Shape conformance (iOS 3986 / macOS 4432); ButtonBorderShape captured structurally, path body not lowered. partial
iOS iOS 17macOS macOS 14
ButtonBorderShape: InsettableShape (inset(by:))
@inlinable nonisolated public func inset(by amount: CGFloat) -> some InsettableShape
real in-dump InsettableShape conformance (iOS 4004 / macOS 4450). structural capture only. partial
iOS iOS 17macOS macOS 14
View.buttonBorderShape(_:)
@inlinable nonisolated public func buttonBorderShape(_ shape: ButtonBorderShape) -> some View
Dedicated UI_SEMANTIC_BUTTON_BORDER_SHAPE; static/factory shape tokens lower to payload.shape, and web ButtonView applies capsule/rounded-rectangle/circle geometry for styled buttons.
iOS iOS 15macOS macOS 12
View.clipShape(_:style:)
public func clipShape<S>(_ shape: S, style: FillStyle = FillStyle()) -> some View where S : Shape
clipShape in SW_UI_MODS + coverage visual family (typed); web honors it. View decl is SwiftUICore (dump has only a transition form). full
iOS allmacOS all
MatchedTransitionSourceConfiguration.clipShape(_:)
public func clipShape(_ shape: RoundedRectangle) -> some MatchedTransitionSourceConfiguration
Config method call preserves the RoundedRectangle arg structurally; matched-transition source config runtime is not executed.
iOS allmacOS all
View.contentShape(_:eoFill:)
public func contentShape<S>(_ shape: S, eoFill: Bool = false) -> some View where S : Shape
Dedicated UI_SEMANTIC_CONTENT_SHAPE; chain.c:1826 defaults/decomposes eoFill into UISemantic.content_shape_eo_fill (uiir.h:886) and JSON emits payload.shape + payload.eoFill (json_modifier.c:1452). View decl is SwiftUICore.
iOS allmacOS all
View.contentShape(_:_:eoFill:)
public func contentShape<S>(_ kind: ContentShapeKinds, _ shape: S, eoFill: Bool = false) -> some View where S : Shape
Dedicated UI_SEMANTIC_CONTENT_SHAPE; chain.c:1436 maps ContentShapeKinds to a UIContentShapeKindSet (uiir.h:134), chain.c:1826 keeps shape as the second arg and decomposes eoFill, and JSON emits payload.kinds/shape/eoFill (json_modifier.c:261, json_modifier.c:1452).
iOS allmacOS all
View.containerShape(_:)
@inlinable nonisolated public func containerShape<T>(_ shape: T) -> some View where T : InsettableShape
Dedicated UI_SEMANTIC_CONTAINER_SHAPE; lowering maps containerShape in modules/swiftui/compiler/lower/chain.c:675, and JSON preserves the shape expression as semantic.payload.shape (modules/swiftui/compiler/uiir/json_modifier.c:1960). ContainerRelativeShape resolution remains renderer/runtime policy.
iOS allmacOS all
View.cornerRadius(_:antialiased:)
public func cornerRadius(_ radius: CGFloat, antialiased: Bool = true) -> some View
cornerRadius in SW_UI_MODS and coverage visual family (typed); web honors it. deprecated in favor of clipShape but captured. full
iOS allmacOS all

8. Canvas / graphics / timeline

15·111·0
Canvas
@available(iOS 15.0, macOS 12.0, *) public struct Canvas<Symbols> where Symbols : View
view in catalog + UIVIEW_CANVAS + 11 typed UICanvasCommand kinds; web replays GraphicsContext, compose-pending. Absent from both dumps.
iOSmacOS
Canvas.init(opaque:colorMode:rendersAsynchronously:renderer:)
public init(opaque: Bool = false, colorMode: ColorRenderingMode = .nonLinear, rendersAsynchronously: Bool = false, renderer: @escaping (inout GraphicsContext, CGSize) -> Void) where Symbols == EmptyView
renderer closure lowers to typed UICanvasCommand arena; opaque/colorMode/async flags captured structurally. Web replays; compose-pending.
iOSmacOS
Canvas.init(opaque:colorMode:rendersAsynchronously:renderer:symbols:)
public init(opaque: Bool = false, colorMode: ColorRenderingMode = .nonLinear, rendersAsynchronously: Bool = false, renderer: @escaping (inout GraphicsContext, CGSize) -> Void, @ViewBuilder symbols: () -> Symbols)
symbols ViewBuilder lowers to child UIIR; renderer closure to canvas command arena. Symbol resolve-by-tag is renderer-side; web replays.
iOSmacOS
Canvas.body
public var body: some View { get }
Canvas is a primitive UIVIEW_CANVAS node; body not lowered as nested View. Captured structurally.
iOSmacOS
GraphicsContext
@available(iOS 15.0, macOS 12.0, *) public struct GraphicsContext
no value-type model; only its method calls inside a Canvas closure capture as typed UICanvasCommand entries. Absent from both dumps.
iOSmacOS
GraphicsContext.opacity
public var opacity: Double { get set }
mutation in closure flows through generic canvas-command lowering; no dedicated typed opacity field. Web replays approximately.
iOSmacOS
GraphicsContext.blendMode
public var blendMode: GraphicsContext.BlendMode { get set }
Member token survives structurally on GraphicsContext expressions; blend-state runtime is renderer-side and not a typed compiler value.
iOSmacOS
GraphicsContext.environment
public var environment: EnvironmentValues { get }
Member token survives structurally; EnvironmentValues are not executed inside Canvas lowering.
iOSmacOS
GraphicsContext.transform
public var transform: CGAffineTransform { get set }
Member token survives structurally; transform mutation/evaluation remains Canvas renderer policy.
iOSmacOS
GraphicsContext.clipBoundingRect
public var clipBoundingRect: CGRect { get }
Member token survives structurally; clip bounds are not computed by the compiler.
iOSmacOS
GraphicsContext.clip(to:options:style:)
public mutating func clip(to path: Path, style: FillStyle = FillStyle(), options: GraphicsContext.ClipOptions = ClipOptions())
call captured as UI_CANVAS_COMMAND_CLIP with raw arg range; FillStyle/ClipOptions not modeled. Web replays clip.
iOSmacOS
GraphicsContext.clipToLayer(opacity:options:content:)
public mutating func clipToLayer(opacity: Double = 1, options: GraphicsContext.ClipOptions = ClipOptions(), content: (inout GraphicsContext) throws -> Void) rethrows
captured as generic canvas command with raw args; nested closure not separately lowered. Web replays approximately.
iOSmacOS
GraphicsContext.fill(_:with:style:)
public func fill(_ path: Path, with shading: GraphicsContext.Shading, style: FillStyle = FillStyle())
captured as UI_CANVAS_COMMAND_FILL with raw arg range; Shading/FillStyle value types not modeled. Web replays the fill.
iOSmacOS
GraphicsContext.stroke(_:with:style:)
public func stroke(_ path: Path, with shading: GraphicsContext.Shading, style: StrokeStyle = StrokeStyle())
captured as UI_CANVAS_COMMAND_STROKE with raw arg range; Shading/StrokeStyle not modeled. Web replays the stroke.
iOSmacOS
GraphicsContext.stroke(_:with:lineWidth:)
public func stroke(_ path: Path, with shading: GraphicsContext.Shading, lineWidth: CGFloat = 1)
captured as UI_CANVAS_COMMAND_STROKE; lineWidth in raw arg range. Web replays.
iOSmacOS
GraphicsContext.draw(_:in:style:)
public func draw(_ image: GraphicsContext.ResolvedImage, in rect: CGRect, style: FillStyle = FillStyle())
captured as UI_CANVAS_COMMAND_DRAW with raw args; ResolvedImage not modeled. Web replays the draw.
iOSmacOS
GraphicsContext.draw(_:at:anchor:)
public func draw(_ text: GraphicsContext.ResolvedText, at point: CGPoint, anchor: UnitPoint = .center)
captured as UI_CANVAS_COMMAND_DRAW; ResolvedText not modeled. Web replays text draw.
iOSmacOS
GraphicsContext.drawLayer(content:)
public func drawLayer(content: (inout GraphicsContext) throws -> Void) rethrows
captured as UI_CANVAS_COMMAND_DRAW_LAYER; inner closure not separately lowered. Web replays.
iOSmacOS
GraphicsContext.resolve(_:)
public func resolve(_ shading: GraphicsContext.Shading) -> GraphicsContext.Shading
maps to UI_CANVAS_COMMAND_RESOLVE generically; Shading return not typed. Web handles inline.
iOSmacOS
GraphicsContext.resolveSymbol(id:)
public func resolveSymbol<ID>(id: ID) -> GraphicsContext.ResolvedSymbol? where ID : Hashable
tag-based symbol resolution is renderer-side; call captured generically. Web replays symbol lookup, compose-pending.
iOSmacOS
GraphicsContext.translateBy(x:y:)
public mutating func translateBy(x: CGFloat, y: CGFloat)
captured as UI_CANVAS_COMMAND_TRANSLATE with x/y args. Web replays transform.
iOSmacOS
GraphicsContext.scaleBy(x:y:)
public mutating func scaleBy(x: CGFloat, y: CGFloat)
captured as UI_CANVAS_COMMAND_SCALE with x/y args. Web replays transform.
iOSmacOS
GraphicsContext.rotate(by:)
public mutating func rotate(by angle: Angle)
captured as UI_CANVAS_COMMAND_ROTATE with angle arg. Web replays transform.
iOSmacOS
GraphicsContext.concatenate(_:)
public mutating func concatenate(_ matrix: CGAffineTransform)
captured as UI_CANVAS_COMMAND_CONCATENATE with raw matrix arg. Web replays.
iOSmacOS
GraphicsContext.withCGContext(content:)
public func withCGContext(content: (CGContext) throws -> Void) rethrows
captured as UI_CANVAS_COMMAND_WITH_CG_CONTEXT; raw CoreGraphics body not lowered. Web has no CG bridge.
iOSmacOS
GraphicsContext.addFilter(_:options:)
public mutating func addFilter(_ filter: GraphicsContext.Filter, options: GraphicsContext.FilterOptions = FilterOptions())
not modeled; Filter value type absent. Survives as source text only.
iOSmacOS
GraphicsContext.resolve(_:)/text
public func resolve(_ text: Text) -> GraphicsContext.ResolvedText
Text resolve maps to RESOLVE command generically; ResolvedText not typed. Web inlines.
iOSmacOS
GraphicsContext.resolve(_:)/image
public func resolve(_ image: Image) -> GraphicsContext.ResolvedImage
Image resolve maps to RESOLVE command generically; ResolvedImage not typed. Web inlines.
iOSmacOS
GraphicsContext.Shading
public struct Shading
module struct stub exists; Canvas commands still keep shading args structurally rather than as a dedicated value model.
iOSmacOS
GraphicsContext.Shading.backdrop
public static var backdrop: GraphicsContext.Shading { get }
Static token survives as structured member expression; shading evaluation remains renderer/runtime policy.
iOSmacOS
GraphicsContext.Shading.foreground
public static var foreground: GraphicsContext.Shading { get }
Static token survives as structured member expression; shading evaluation remains renderer/runtime policy.
iOSmacOS
GraphicsContext.Shading.color(_:)
public static func color(_ color: Color) -> GraphicsContext.Shading
Factory call and Color token survive structurally; renderer may consume it in Canvas fill/stroke, but no standalone shading runtime exists.
iOSmacOS
GraphicsContext.Shading.color(_:_:_:opacity:)
public static func color(_ colorSpace: Color.RGBColorSpace = .sRGB, red: Double, green: Double, blue: Double, opacity: Double = 1) -> GraphicsContext.Shading
Factory call preserves color-space/RGBA args structurally; no standalone color-space evaluation.
iOSmacOS
GraphicsContext.Shading.style(_:)
public static func style<S>(_ style: S) -> GraphicsContext.Shading where S : ShapeStyle
Factory call preserves ShapeStyle token structurally; ShapeStyle is not executed.
iOSmacOS
GraphicsContext.Shading.linearGradient(_:startPoint:endPoint:options:)
public static func linearGradient(_ gradient: Gradient, startPoint: CGPoint, endPoint: CGPoint, options: GraphicsContext.GradientOptions = GradientOptions()) -> GraphicsContext.Shading
Factory call preserves Gradient/CGPoint args structurally; web may approximate gradient fills, no standalone shading runtime.
iOSmacOS
GraphicsContext.Shading.radialGradient(_:center:startRadius:endRadius:options:)
public static func radialGradient(_ gradient: Gradient, center: CGPoint, startRadius: CGFloat, endRadius: CGFloat, options: GraphicsContext.GradientOptions = GradientOptions()) -> GraphicsContext.Shading
Factory call preserves Gradient/center/radius args structurally; no standalone shading runtime.
iOSmacOS
GraphicsContext.Shading.conicGradient(_:center:angle:options:)
public static func conicGradient(_ gradient: Gradient, center: CGPoint, angle: Angle = Angle(), options: GraphicsContext.GradientOptions = GradientOptions()) -> GraphicsContext.Shading
Factory call preserves Gradient/center/Angle args structurally; no standalone shading runtime.
iOSmacOS
GraphicsContext.Shading.tiledImage(_:origin:sourceRect:scale:)
public static func tiledImage(_ image: Image, origin: CGPoint = .zero, sourceRect: CGRect = CGRect(x: 0, y: 0, width: 1, height: 1), scale: CGFloat = 1) -> GraphicsContext.Shading
Factory call preserves Image/origin/sourceRect/scale args structurally; image tiling is not executed by the compiler.
iOSmacOS
GraphicsContext.Shading.palette(_:)
public static func palette(_ array: [GraphicsContext.Shading]) -> GraphicsContext.Shading
Factory call preserves shading array tokens structurally; palette semantics are not evaluated.
iOSmacOS
GraphicsContext.Filter
public struct Filter
module struct stub exists; addFilter/filter factories remain structural/source-level.
iOSmacOS
GraphicsContext.Filter.projectionTransform(_:)
public static func projectionTransform(_ matrix: ProjectionTransform) -> GraphicsContext.Filter
Factory call preserves ProjectionTransform structurally; filter application remains Canvas renderer policy.
iOSmacOS
GraphicsContext.Filter.shadow(color:radius:x:y:blendMode:options:)
public static func shadow(color: Color = Color(.sRGBLinear, white: 0, opacity: 0.33), radius: CGFloat, x: CGFloat = 0, y: CGFloat = 0, blendMode: GraphicsContext.BlendMode = .normal, options: GraphicsContext.ShadowOptions = ShadowOptions()) -> GraphicsContext.Filter
Factory call preserves color/radius/offset/blendMode args structurally; shadow option semantics are not evaluated.
iOSmacOS
GraphicsContext.Filter.colorMultiply(_:)
public static func colorMultiply(_ color: Color) -> GraphicsContext.Filter
Factory call preserves Color token structurally; filter application remains Canvas renderer policy.
iOSmacOS
GraphicsContext.Filter.colorMatrix(_:)
public static func colorMatrix(_ matrix: ColorMatrix) -> GraphicsContext.Filter
Factory call preserves ColorMatrix expression structurally; matrix math is not evaluated.
iOSmacOS
GraphicsContext.Filter.hueRotation(_:)
public static func hueRotation(_ angle: Angle) -> GraphicsContext.Filter
Factory call preserves Angle token structurally; filter application remains Canvas renderer policy.
iOSmacOS
GraphicsContext.Filter.saturation(_:)
public static func saturation(_ amount: Double) -> GraphicsContext.Filter
Factory call preserves numeric amount structurally; filter application remains Canvas renderer policy.
iOSmacOS
GraphicsContext.Filter.brightness(_:)
public static func brightness(_ amount: Double) -> GraphicsContext.Filter
Factory call preserves numeric amount structurally; filter application remains Canvas renderer policy.
iOSmacOS
GraphicsContext.Filter.contrast(_:)
public static func contrast(_ amount: Double) -> GraphicsContext.Filter
Factory call preserves numeric amount structurally; filter application remains Canvas renderer policy.
iOSmacOS
GraphicsContext.Filter.grayscale(_:)
public static func grayscale(_ amount: Double) -> GraphicsContext.Filter
Factory call preserves numeric amount structurally; filter application remains Canvas renderer policy.
iOSmacOS
GraphicsContext.Filter.luminanceToAlpha
public static var luminanceToAlpha: GraphicsContext.Filter { get }
Static token survives as structured member expression; filter application remains Canvas renderer policy.
iOSmacOS
GraphicsContext.Filter.blur(radius:options:)
public static func blur(radius: CGFloat, options: GraphicsContext.BlurOptions = BlurOptions()) -> GraphicsContext.Filter
Factory call preserves radius/options structurally; blur option semantics are not evaluated.
iOSmacOS
GraphicsContext.Filter.alphaThreshold(min:max:color:)
public static func alphaThreshold(min: Double, max: Double = 1, color: Color = Color.black) -> GraphicsContext.Filter
Factory call preserves min/max/color args structurally; threshold filter semantics are not evaluated.
iOSmacOS
GraphicsContext.BlendMode
@frozen public struct BlendMode : RawRepresentable, Equatable
module struct stub exists; Canvas blend-mode value semantics remain structural/source-level.
iOSmacOS
GraphicsContext.BlendMode.normal
public static var normal: GraphicsContext.BlendMode { get }
Static token survives as structured member expression; compositing is only renderer-side.
iOSmacOS
GraphicsContext.BlendMode.multiply
public static var multiply: GraphicsContext.BlendMode { get }
Static token survives as structured member expression; compositing is only renderer-side.
iOSmacOS
GraphicsContext.BlendMode.screen
public static var screen: GraphicsContext.BlendMode { get }
Static token survives as structured member expression; compositing is only renderer-side.
iOSmacOS
GraphicsContext.BlendMode.overlay
public static var overlay: GraphicsContext.BlendMode { get }
Static token survives as structured member expression; compositing is only renderer-side.
iOSmacOS
GraphicsContext.BlendMode.softLight/hardLight/darken/lighten/...
public static var softLight | hardLight | darken | lighten | colorDodge | colorBurn | difference | exclusion | hue | saturation | color | luminosity : GraphicsContext.BlendMode { get }
Grouped static blend-mode tokens survive structurally; full Porter-Duff/separable compositing is renderer-side.
iOSmacOS
GraphicsContext.BlendMode.clear/copy/sourceIn/destinationOver/...
public static var clear | copy | sourceIn | sourceOut | sourceAtop | destinationOver | destinationIn | destinationOut | destinationAtop | xor | plusDarker | plusLighter : GraphicsContext.BlendMode { get }
Grouped static compositing tokens survive structurally; blend math is not evaluated by the compiler.
iOSmacOS
GraphicsContext.ResolvedSymbol
public struct ResolvedSymbol
module struct stub exists; symbol resolution remains renderer-side.
iOSmacOS
GraphicsContext.ResolvedSymbol.size
public var size: CGSize { get }
Member token survives structurally; symbol lookup/measurement remains renderer-side.
iOSmacOS
GraphicsContext.ResolvedText
public struct ResolvedText
module struct stub exists; text measurement/draw details remain renderer-side.
iOSmacOS
GraphicsContext.ResolvedText.measure(in:)
public func measure(in size: CGSize) -> CGSize
Measure call preserves the CGSize arg structurally; text measurement is not executed by the compiler.
iOSmacOS
GraphicsContext.ResolvedImage
public struct ResolvedImage
module struct stub exists; resolved image sizing/raster data remains renderer-side.
iOSmacOS
GraphicsContext.ResolvedImage.size
public var size: CGSize { get }
Member token survives structurally; resolved image raster metadata remains renderer-side.
iOSmacOS
GraphicsContext.ClipOptions
@frozen public struct ClipOptions : OptionSet
module struct stub exists; clip command keeps raw option args, no OptionSet runtime.
iOSmacOS
GraphicsContext.BlurOptions
@frozen public struct BlurOptions : OptionSet
module struct stub exists; blur option behavior is not modeled.
iOSmacOS
GraphicsContext.GradientOptions
@frozen public struct GradientOptions : OptionSet
module struct stub exists; gradient option behavior is not modeled.
iOSmacOS
GraphicsContext.ShadowOptions
@frozen public struct ShadowOptions : OptionSet
module struct stub exists; shadow option behavior is not modeled.
iOSmacOS
GraphicsContext.FilterOptions
@frozen public struct FilterOptions : OptionSet
module struct stub exists; filter option behavior is not modeled.
iOSmacOS
TimelineView
@available(iOS 15.0, macOS 12.0, *) public struct TimelineView<Schedule, Content> where Schedule : TimelineSchedule
view in catalog (ViewBuilder-capable); content closure lowers, schedule captured structurally. Web renders time-driven; compose pending.
iOS iOS 15macOS macOS 12
TimelineView.init(_:content:)
nonisolated public init(_ schedule: Schedule, @ViewBuilder content: @escaping (TimelineViewDefaultContext) -> Content)
content ViewBuilder lowers to child UIIR; schedule arg captured structurally, no clock runtime. Web ticks; compose pending.
iOS iOS 15macOS macOS 12
TimelineView.init(_:content:)/deprecated
nonisolated public init(_ schedule: Schedule, @ViewBuilder content: @escaping (TimelineView<Schedule, Content>.Context) -> Content)
deprecated Context-typed overload; same structural capture as the default-context init. Web ticks.
iOS iOS 15 depmacOS macOS 12 dep
TimelineView.Body / View conformance
extension TimelineView : View where Content : View { public typealias Body = Never }
TimelineView is a primitive UIIR node; Body=Never. Captured structurally.
iOS iOS 15macOS macOS 12
TimelineView.Context
public struct Context
closure param type; date/cadence read at render-time by the web ticker. Captured structurally, no typed Context value.
iOS iOS 15macOS macOS 12
TimelineView.Context.date
public let date: Date
date is supplied by the web renderer per frame; not a typed UIIR field. Compose pending.
iOS iOS 15macOS macOS 12
TimelineView.Context.cadence
public let cadence: TimelineView<Schedule, Content>.Context.Cadence
cadence handled by renderer; not a typed UIIR field.
iOS iOS 15macOS macOS 12
TimelineView.Context.Cadence
public enum Cadence : Comparable, Sendable { case live, seconds, minutes }
module enum stub preserves timeline cadence metadata; timeline invalidation/tick runtime remains absent.
iOS iOS 15macOS macOS 12
TimelineView.Context.invalidateTimelineContent()
public func invalidateTimelineContent()
Method call token survives structurally; Always-On-Display invalidation/runtime scheduling is not modeled.
iOS iOS 16macOS
TimelineViewDefaultContext
public typealias TimelineViewDefaultContext = TimelineView<EveryMinuteTimelineSchedule, Never>.Context
the default content-closure param alias; resolved structurally as TimelineView.Context. No typed value model.
iOS iOS 15macOS macOS 12
TimelineSchedule
public protocol TimelineSchedule
module protocol stub preserves schedule type surface; entries(from:mode:) is not executed and web drives its own ticker.
iOS iOS 15macOS macOS 12
TimelineSchedule.entries(from:mode:)
func entries(from startDate: Date, mode: TimelineScheduleMode) -> Self.Entries
Concrete schedule entries(from:mode:) calls preserve Date/mode args structurally; no scheduler runtime evaluates entries.
iOS iOS 15macOS macOS 12
TimelineSchedule.Entries (assoc type)
associatedtype Entries : Sequence where Self.Entries.Element == Date
Explicit associated type references such as Schedule.Entries.self survive structurally; schedule entry iteration runtime is not modeled.
iOS iOS 15macOS macOS 12
TimelineScheduleMode
public enum TimelineScheduleMode { case normal, lowFrequency }
module enum stub preserves type metadata; scheduler mode behavior is not modeled.
iOSmacOS
TimelineSchedule.everyMinute
public static var everyMinute: EveryMinuteTimelineSchedule { get }
Static schedule accessor token survives structurally; web ticker still drives updates independently.
iOSmacOS
TimelineSchedule.periodic(from:by:)
public static func periodic(from startDate: Date, by interval: TimeInterval) -> PeriodicTimelineSchedule
Static schedule factory preserves Date/interval args structurally; no scheduler runtime evaluates ticks.
iOSmacOS
TimelineSchedule.explicit(_:)
public static func explicit<S>(_ dates: S) -> ExplicitTimelineSchedule<S> where S : Sequence, S.Element == Date
Static schedule factory preserves date-sequence args structurally; no scheduler runtime evaluates ticks.
iOSmacOS
TimelineSchedule.animation (static var)
extension TimelineSchedule where Self == AnimationTimelineSchedule { public static var animation: AnimationTimelineSchedule { get } }
Static schedule accessor token survives structurally; web drives its own per-frame tick.
iOS iOS 15macOS macOS 12
TimelineSchedule.animation(minimumInterval:paused:)
public static func animation(minimumInterval: Double? = nil, paused: Bool = false) -> AnimationTimelineSchedule
Static schedule factory preserves interval/paused args structurally; no scheduler runtime consumes them.
iOS iOS 15macOS macOS 12
AnimationTimelineSchedule
@available(iOS 15.0, macOS 12.0, *) public struct AnimationTimelineSchedule : TimelineSchedule, Sendable
module struct stub preserves concrete schedule type metadata; scheduler runtime is not modeled.
iOS iOS 15macOS macOS 12
AnimationTimelineSchedule.init(minimumInterval:paused:)
public init(minimumInterval: Double? = nil, paused: Bool = false)
Constructor call preserves minimumInterval/paused args structurally; no scheduler runtime evaluates ticks.
iOS iOS 15macOS macOS 12
AnimationTimelineSchedule.entries(from:mode:)
public func entries(from start: Date, mode: TimelineScheduleMode) -> AnimationTimelineSchedule.Entries
Method call preserves from/mode args structurally; no scheduler runtime evaluates entries.
iOS iOS 15macOS macOS 12
AnimationTimelineSchedule.Entries
public struct Entries : Sequence, IteratorProtocol, Sendable
module struct stub preserves nested entries type surface; iterator runtime is not modeled.
iOS iOS 15macOS macOS 12
AnimationTimelineSchedule.Entries.next()
public mutating func next() -> Date?
Method call survives structurally; iterator/runtime scheduling is not executed.
iOS iOS 15macOS macOS 12
EveryMinuteTimelineSchedule
@available(iOS 15.0, macOS 12.0, *) public struct EveryMinuteTimelineSchedule : TimelineSchedule
module struct stub preserves schedule type metadata; scheduling behavior is not modeled.
iOSmacOS
PeriodicTimelineSchedule
@available(iOS 15.0, macOS 12.0, *) public struct PeriodicTimelineSchedule : TimelineSchedule
module struct stub preserves schedule type metadata; scheduling behavior is not modeled.
iOSmacOS
ExplicitTimelineSchedule
@available(iOS 15.0, macOS 12.0, *) public struct ExplicitTimelineSchedule<Entries> : TimelineSchedule where Entries : Sequence, Entries.Element == Date
module struct stub preserves schedule type metadata; explicit date scheduling behavior is not modeled.
iOSmacOS
ImageRenderer
@available(iOS 16.0, macOS 13.0, *) @MainActor final public class ImageRenderer<Content> : ObservableObject where Content : View
module struct stub preserves ImageRenderer type metadata; runtime rasterizer/image export remains unimplemented.
iOSmacOS
ImageRenderer.init(content:)
@MainActor public init(content: Content)
Constructor call preserves the content View expression structurally; runtime rasterizer/export object is not implemented.
iOSmacOS
ImageRenderer.uiImage
@MainActor final public var uiImage: UIImage? { get }
Member token survives structurally; UIKit image rasterization is not implemented.
iOS iOS 16macOS
ImageRenderer.nsImage
@MainActor final public var nsImage: NSImage? { get }
Member token survives structurally; AppKit image rasterization is not implemented.
iOSmacOS macOS 13
ImageRenderer.cgImage
@MainActor final public var cgImage: CGImage? { get }
Member token survives structurally; CoreGraphics raster output is not implemented.
iOSmacOS
ImageRenderer.scale
@MainActor final public var scale: CGFloat
Config member token survives structurally; renderer scale is not applied.
iOSmacOS
ImageRenderer.isOpaque
@MainActor final public var isOpaque: Bool
Config member token survives structurally; opacity config is not applied.
iOSmacOS
ImageRenderer.colorMode
@MainActor final public var colorMode: ColorRenderingMode
Config member token survives structurally; color-mode rendering is not applied.
iOSmacOS
ImageRenderer.proposedSize
@MainActor final public var proposedSize: ProposedViewSize
Config member token survives structurally; proposed-size rendering is not applied.
iOSmacOS
ImageRenderer.content
@MainActor final public var content: Content
Content member token survives structurally; rasterizer runtime is not implemented.
iOSmacOS
ImageRenderer.render(rasterizationScale:renderer:)
@MainActor final public func render(rasterizationScale: CGFloat = 1, renderer: (CGSize, (CGContext) -> Void) -> Void)
Render call preserves scale arg and callback closure actionIR structurally; CoreGraphics render callback is not executed.
iOSmacOS
ImageRenderer.objectWillChange
nonisolated public var objectWillChange: ObservableObjectPublisher { get }
Publisher member token survives structurally; ObservableObject notification runtime is not modeled.
iOSmacOS
View.drawingGroup(opaque:colorMode:)
@available(iOS 13.0, macOS 10.15, *) public func drawingGroup(opaque: Bool = false, colorMode: ColorRenderingMode = .nonLinear) -> some View
Dedicated UI_SEMANTIC_DRAWING_GROUP; opaque and colorMode decompose to UISemantic.drawing_group_* (uiir.h:865, chain.c:1717) and JSON emits payload.opaque/payload.colorMode while preserving payload.enabled (json_modifier.c:1390). Decl absent from both dumps.
iOSmacOS
View.compositingGroup()
@available(iOS 13.0, macOS 10.15, *) public func compositingGroup() -> some View
Dedicated UI_SEMANTIC_COMPOSITING_GROUP; zero-arg flag lowered.
iOSmacOS
View.blendMode(_:)
@available(iOS 13.0, macOS 10.15, *) public func blendMode(_ blendMode: BlendMode) -> some View
Dedicated UI_SEMANTIC_BLEND_MODE; blendMode enum lowered (→canvas globalCompositeOperation).
iOSmacOS
BlendMode (top-level enum)
@frozen public enum BlendMode : Hashable { case normal, multiply, screen, overlay, darken, lighten, colorDodge, colorBurn, softLight, hardLight, difference, exclusion, hue, saturation, color, luminosity, sourceAtop, destinationOver, destinationOut, plusDarker, plusLighter }
module enum stub preserves standalone BlendMode type metadata, and .blendMode(.multiply) lowers to typed semantic.payload.blendMode; standalone enum-case evaluation remains contextual/source-level.
iOSmacOS
View.luminanceToAlpha()
@available(iOS 13.0, macOS 10.15, *) public func luminanceToAlpha() -> some View
Dedicated UI_SEMANTIC_LUMINANCE_TO_ALPHA; zero-arg flag lowered.
iOSmacOS
View.colorMultiply(_:)
@available(iOS 13.0, macOS 10.15, *) public func colorMultiply(_ color: Color) -> some View
Dedicated UI_SEMANTIC_COLOR_MULTIPLY; color lowered.
iOSmacOS
View.grayscale(_:)
@available(iOS 13.0, macOS 10.15, *) public func grayscale(_ amount: Double) -> some View
Dedicated UI_SEMANTIC_GRAYSCALE; amount float lowered (→CSS filter).
iOSmacOS
View.brightness(_:)
@available(iOS 13.0, macOS 10.15, *) public func brightness(_ amount: Double) -> some View
in catalog AND a dedicated 'Semantic metadata' family; typed kind + lowered amount. Web honors; compose pending. Decl absent from dumps.
iOSmacOS
View.contrast(_:)
@available(iOS 13.0, macOS 10.15, *) public func contrast(_ amount: Double) -> some View
in catalog AND dedicated 'Semantic metadata' family; typed kind + lowered amount. Web honors; compose pending.
iOSmacOS
View.saturation(_:)
@available(iOS 13.0, macOS 10.15, *) public func saturation(_ amount: Double) -> some View
in catalog AND dedicated 'Semantic metadata' family; typed kind + lowered amount. Web honors; compose pending.
iOSmacOS
View.hueRotation(_:)
@available(iOS 13.0, macOS 10.15, *) public func hueRotation(_ angle: Angle) -> some View
in catalog AND dedicated 'Semantic metadata' family; typed kind + lowered angle. Web honors; compose pending.
iOSmacOS
View.colorInvert()
@available(iOS 13.0, macOS 10.15, *) public func colorInvert() -> some View
in catalog AND dedicated 'Semantic metadata' family; typed semantic kind. Web honors; compose pending.
iOSmacOS
View.blur(radius:opaque:)
@available(iOS 13.0, macOS 10.15, *) public func blur(radius: CGFloat, opaque: Bool = false) -> some View
in catalog AND dedicated 'Visual/effect metadata' family; typed kind + radius. Web honors blur; compose pending. Decl absent from dumps.
iOSmacOS
View.mask(alignment:_:)
@available(iOS 15.0, macOS 12.0, *) public func mask<Mask>(alignment: Alignment = .center, @ViewBuilder _ mask: () -> Mask) -> some View where Mask : View
in catalog AND dedicated 'Visual/effect metadata' family; mask content lowers, ForEach-row mask reid'd. Web honors; compose pending.
iOSmacOS
View.shadow(color:radius:x:y:)
@available(iOS 13.0, macOS 10.15, *) public func shadow(color: Color = Color(.sRGBLinear, white: 0, opacity: 0.33), radius: CGFloat, x: CGFloat = 0, y: CGFloat = 0) -> some View
in catalog AND dedicated 'Visual/effect metadata' family; typed kind + color/radius/offset. Web honors; compose pending.
iOSmacOS
View.opacity(_:)
@available(iOS 13.0, macOS 10.15, *) public func opacity(_ opacity: Double) -> some View
in catalog AND dedicated 'Visual/effect metadata' family; typed kind + tween-able value. Web honors + animates; compose bg/corner only.
iOSmacOS
Symbol (Canvas symbols / .tag(_:))
extension View { public func tag<V>(_ tag: V) -> some View where V : Hashable } (used to identify a Canvas symbol)
Canvas symbols are tagged child Views; tag is a catalogued semantic modifier; resolveSymbol lookup is renderer-side. Web replays.
iOSmacOS

9. Color / gradients / materials / ShapeStyle

50·52·0
ShapeStyle (protocol)
public protocol ShapeStyle : Sendable
module protocol stub preserves style type surface; conforming style value resolution remains contextual/runtime-specific.
iOS iOS 13macOS macOS 10.15
ShapeStyle.resolve(in:)
func resolve(in environment: EnvironmentValues) -> Self.Resolved
Concrete style resolve(in:) calls preserve call/default-expression tokens and environment args; styles are not executed and resolved RGBA/material output is not modeled.
iOS iOS 17macOS macOS 14
ShapeStyle._apply(to:) / Resolved
associatedtype Resolved : ShapeStyle = Never
Explicit _apply(to:) calls survive structurally for style tokens; internal ShapeStyle resolution plumbing is not modeled.
iOS iOS 13macOS macOS 10.15
ShapeStyle.opacity(_:)
func opacity(_ opacity: Double) -> some ShapeStyle
Style combinator call tokens are preserved in value fixtures; no dedicated ShapeStyle opacity runtime or renderer payload.
iOS iOS 13macOS macOS 10.15
ShapeStyle.blendMode(_:)
func blendMode(_ mode: BlendMode) -> some ShapeStyle
Style combinator call tokens preserve BlendMode args structurally; no dedicated ShapeStyle blend runtime.
iOS iOS 13macOS macOS 10.15
ShapeStyle.shadow(_:)
func shadow(_ style: ShadowStyle) -> some ShapeStyle
Drop/inner shadow style combinator calls preserve nested shadow args structurally; style execution/rendering is not implemented.
iOS iOS 16macOS macOS 13
AnyShapeStyle
@frozen public struct AnyShapeStyle : ShapeStyle
module struct stub preserves type-erased style metadata; wrapped style resolution is not modeled.
iOS iOS 15macOS macOS 12
AnyShapeStyle.init(_:)
public init<S>(_ style: S) where S : ShapeStyle
Type-erasure initializer calls preserve wrapped ShapeStyle args structurally; erased-style resolution is not modeled.
iOS iOS 15macOS macOS 12
HierarchicalShapeStyle
@frozen public struct HierarchicalShapeStyle : ShapeStyle
module struct stub preserves hierarchical style type metadata; static level accessors remain contextual/source-level.
iOS iOS 15macOS macOS 12
ShapeStyle.primary (HierarchicalShapeStyle)
public static var primary: HierarchicalShapeStyle { get }
HierarchicalShapeStyle static member token is preserved structurally; contextual resolution remains renderer/runtime policy.
iOS iOS 15macOS macOS 12
ShapeStyle.secondary (HierarchicalShapeStyle)
public static var secondary: HierarchicalShapeStyle { get }
HierarchicalShapeStyle static member token is preserved structurally; no dedicated resolved style payload.
iOS iOS 15macOS macOS 12
ShapeStyle.tertiary (HierarchicalShapeStyle)
public static var tertiary: HierarchicalShapeStyle { get }
HierarchicalShapeStyle static member token is preserved structurally; no dedicated resolved style payload.
iOS iOS 15macOS macOS 12
ShapeStyle.quaternary (HierarchicalShapeStyle)
public static var quaternary: HierarchicalShapeStyle { get }
HierarchicalShapeStyle static member token is preserved structurally; no dedicated resolved style payload.
iOS iOS 15macOS macOS 12
ShapeStyle.quinary (HierarchicalShapeStyle)
public static var quinary: HierarchicalShapeStyle { get }
HierarchicalShapeStyle static member token is preserved structurally; no dedicated resolved style payload.
iOS iOS 16macOS macOS 13
Color (struct, as ShapeStyle/View)
@frozen public struct Color : Hashable, CustomStringConvertible, ShapeStyle, Sendable
in catalog (SW_UI_VIEWS Color) as a leaf view kind; Color nodes carry typed colorValue payloads for named, rgb, white, hsb, and asset values.
iOS iOS 13macOS macOS 10.15
Color.init(_:red:green:blue:opacity:)
public init(_ colorSpace: Color.RGBColorSpace = .sRGB, red: Double, green: Double, blue: Double, opacity: Double = 1)
Dedicated UIColorValue RGB capture decomposes red/green/blue/opacity/colorSpace from Color args and serializes as colorValue (color.c:97, json_node.c:557).
iOS iOS 13macOS macOS 10.15
Color.init(_:white:opacity:)
public init(_ colorSpace: Color.RGBColorSpace = .sRGB, white: Double, opacity: Double = 1)
Dedicated UIColorValue white capture decomposes white/opacity/colorSpace from Color args and serializes as colorValue (color.c:132, json_node.c:557).
iOS iOS 13macOS macOS 10.15
Color.init(hue:saturation:brightness:opacity:)
public init(hue: Double, saturation: Double, brightness: Double, opacity: Double = 1)
Dedicated UIColorValue HSB capture decomposes hue/saturation/brightness/opacity and serializes as colorValue (color.c:142, json_node.c:557).
iOS iOS 13macOS macOS 10.15
Color.init(_:bundle:) (named asset)
public init(_ name: String, bundle: Bundle? = nil)
Dedicated UIColorValue asset capture stores the asset name as colorValue.kind=asset; bundle remains a raw arg/no asset resolution at lowering (color.c:172, json_node.c:557).
iOS iOS 13macOS macOS 10.15
Color.init(_ color: UIColor)
public init(_ color: UIColor)
present in iOS dump as deprecated bridge; macOS unavailable. Color view catalogued; UIColor not resolvable at lowering.
iOS iOS 13 (deprecated)macOS
Color.init(uiColor:)
public init(uiColor: UIColor)
present in iOS dump; macOS unavailable. Color view catalogued; UIColor bridge not resolved at lowering.
iOS iOS 15macOS
Color.init(_ color: NSColor)
nonisolated public init(_ color: NSColor)
present only in macOS dump; iOS unavailable. Color view catalogued; NSColor not resolved at lowering.
iOSmacOS macOS 10.15
Color.init(nsColor:)
nonisolated public init(nsColor: NSColor)
present only in macOS dump; iOS unavailable. Color view catalogued; NSColor bridge not resolved.
iOSmacOS macOS 12
Color.init(cgColor:)
public init(cgColor: CGColor)
SwiftUICore init, absent from dumps. Color view catalogued; CGColor not resolved at lowering.
iOS iOS 15macOS macOS 12
Color.opacity(_:)
public func opacity(_ opacity: Double) -> Color
Dedicated UIColorValue chain capture; color.c:398 recognizes .opacity(...) on lowered Color/ShapeStyle expressions, stores the scalar in UIColorValue.opacity (uiir.h:647), and shared JSON color serialization emits colorValue.opacity (json_expr.c:183). When used as a Color view modifier chain, MiniSwift also captures the visual View.opacity payload.
iOS iOS 13macOS macOS 10.15
Color.gradient
public var gradient: AnyGradient { get }
Member token preserves Color-derived AnyGradient access structurally; MiniSwift does not synthesize a subtle gradient payload.
iOS iOS 16macOS macOS 13
Color.resolve(in:)
public func resolve(in environment: EnvironmentValues) -> Color.Resolved
Resolve call and EnvironmentValues arg are preserved structurally; concrete RGBA resolution is not executed.
iOS iOS 17macOS macOS 14
Color.Resolved
@frozen public struct Color.Resolved : Hashable, ShapeStyle, Animatable
module struct stub preserves resolved-color type surface; Color.resolve(in:) and RGBA environment resolution are not executed.
iOS iOS 17macOS macOS 14
Color.RGBColorSpace
public enum Color.RGBColorSpace : Hashable, Sendable
module enum stub preserves nested color-space type surface; renderer still treats color-space semantics as contextual.
iOS iOS 13macOS macOS 10.15
Color.RGBColorSpace.sRGB / sRGBLinear / displayP3
case sRGB / case sRGBLinear / case displayP3
module enum stub preserves color-space cases and Color(.displayP3, red:green:blue:opacity:) lowers colorValue.colorSpace; renderer color management remains approximate.
iOS iOS 13macOS macOS 10.15
Color.red/green/blue/orange/yellow/pink/purple/etc.
public static let red: Color (and the standard system colors)
Dedicated UIColorValue named capture covers Color nodes and style args; JSON emits colorValue.kind=named with the color name (color.c:14, color.c:166, json_expr.c:142).
iOS iOS 13macOS macOS 10.15
Color.primary/secondary
public static let primary: Color / public static let secondary: Color
Dedicated UIColorValue named capture preserves semantic color tokens primary/secondary; environment resolution remains renderer/runtime policy (color.c:14, json_expr.c:142).
iOS iOS 13macOS macOS 10.15
Color.accentColor / Color.clear
public static var accentColor: Color { get } / public static let clear: Color
Dedicated UIColorValue named capture preserves accentColor and clear tokens for Color nodes/style args (color.c:14, color.c:166, json_expr.c:142).
iOS iOS 13macOS macOS 10.15
ShapeStyle.color (Color accessor)
extension ShapeStyle where Self == Color { static var red/blue/... }
ShapeStyle color accessors in style modifiers lower to UIStyle.colorValue and per-level foregroundStyle colorValues (chain.c:304, color.c:370, json_modifier.c:740).
iOS iOS 13macOS macOS 10.15
Color : Transferable
extension Color : Transferable { static var transferRepresentation: some TransferRepresentation }
SDK vocab records Color : Transferable, and generic T: Transferable constraints accept Color; transfer/export pipeline runtime is not modeled.
iOS iOS 16macOS macOS 13
Gradient
@frozen public struct Gradient : Equatable, Hashable, ShapeStyle, Sendable
module struct stub preserves Gradient type metadata; renderer still reads colors/stops from arg AST, no typed Gradient payload.
iOS iOS 13macOS macOS 10.15
Gradient.init(colors:)
public init(colors: [Color])
SwiftUICore init lowers structurally; web GradientView resolves nested Gradient(colors:) arrays for Linear/Radial/Angular gradients and preserves color stops.
iOS iOS 13macOS macOS 10.15
Gradient.init(stops:)
public init(stops: [Gradient.Stop])
SwiftUICore init lowers structurally; web GradientView resolves nested Gradient(stops:) arrays and preserves Gradient.Stop locations in gradient rendering.
iOS iOS 13macOS macOS 10.15
Gradient.Stop
@frozen public struct Gradient.Stop : Equatable, Hashable, Sendable
module struct stub preserves nested stop type surface; renderer parses stop args at draw time, no typed stop-list payload.
iOS iOS 13macOS macOS 10.15
Gradient.Stop.init(color:location:)
public init(color: Color, location: CGFloat)
SwiftUICore init, absent from dumps. renderer can parse color+location from arg AST; no typed UIIR payload.
iOS iOS 13macOS macOS 10.15
AnyGradient
@frozen public struct AnyGradient : Hashable, ShapeStyle, Sendable
module struct stub preserves type-erased gradient metadata; Color.gradient remains non-executed.
iOS iOS 16macOS macOS 13
LinearGradient (view/ShapeStyle)
@frozen public struct LinearGradient : ShapeStyle, View, Sendable
Catalogued view; web GradientView renders linear gradients from direct colors/stops or nested Gradient(...) args and honors UnitPoint start/end direction.
iOS iOS 13macOS macOS 10.15
LinearGradient.init(gradient:startPoint:endPoint:)
public init(gradient: Gradient, startPoint: UnitPoint, endPoint: UnitPoint)
gradient: Gradient(colors:)/Gradient(stops:) args lower structurally and web resolves nested colors/stops plus start/end UnitPoint values.
iOS iOS 13macOS macOS 10.15
LinearGradient.init(colors:startPoint:endPoint:)
public init(colors: [Color], startPoint: UnitPoint, endPoint: UnitPoint)
Direct color arrays lower structurally; web resolves color tokens and UnitPoint start/end into canvas linear-gradient stops.
iOS iOS 13macOS macOS 10.15
LinearGradient.init(stops:startPoint:endPoint:)
public init(stops: [Gradient.Stop], startPoint: UnitPoint, endPoint: UnitPoint)
Direct Gradient.Stop(color:location:) arrays lower structurally; web preserves stop locations and colors in the canvas gradient.
iOS iOS 13macOS macOS 10.15
ShapeStyle.linearGradient(_:startPoint:endPoint:)
public static func linearGradient(_ gradient: Gradient, startPoint: UnitPoint, endPoint: UnitPoint) -> some ShapeStyle
Static ShapeStyle factory call preserves Gradient and UnitPoint args structurally; no typed ShapeStyle gradient payload.
iOS iOS 15macOS macOS 12
RadialGradient (view/ShapeStyle)
@frozen public struct RadialGradient : ShapeStyle, View, Sendable
Catalogued view; web GradientView renders radial gradients from direct colors/stops or nested Gradient(...) args and honors center/start/end radius.
iOS iOS 13macOS macOS 10.15
RadialGradient.init(gradient:center:startRadius:endRadius:)
public init(gradient: Gradient, center: UnitPoint, startRadius: CGFloat, endRadius: CGFloat)
gradient: Gradient(colors:)/Gradient(stops:) args lower structurally and web resolves nested colors/stops plus center/radius values.
iOS iOS 13macOS macOS 10.15
RadialGradient.init(colors:center:startRadius:endRadius:)
public init(colors: [Color], center: UnitPoint, startRadius: CGFloat, endRadius: CGFloat)
Direct color arrays lower structurally; web resolves colors plus center/startRadius/endRadius into a canvas radial gradient.
iOS iOS 13macOS macOS 10.15
RadialGradient.init(stops:center:startRadius:endRadius:)
public init(stops: [Gradient.Stop], center: UnitPoint, startRadius: CGFloat, endRadius: CGFloat)
Direct Gradient.Stop(color:location:) arrays lower structurally; web preserves stop locations and radial geometry in the canvas gradient.
iOS iOS 13macOS macOS 10.15
ShapeStyle.radialGradient(_:center:startRadius:endRadius:)
public static func radialGradient(_ gradient: Gradient, center: UnitPoint, startRadius: CGFloat, endRadius: CGFloat) -> some ShapeStyle
Static ShapeStyle factory call preserves Gradient, center, and radius args structurally; no typed ShapeStyle gradient payload.
iOS iOS 15macOS macOS 12
AngularGradient (view/ShapeStyle)
@frozen public struct AngularGradient : ShapeStyle, View, Sendable
Catalogued view; web GradientView renders as a canvas conic gradient from direct/nested Gradient(...) colors or stops and honors center plus angle/startAngle start orientation.
iOS iOS 13macOS macOS 10.15
AngularGradient.init(gradient:center:angle:)
public init(gradient: Gradient, center: UnitPoint, angle: Angle = .zero)
gradient: Gradient(colors:)/Gradient(stops:) args lower structurally and web resolves nested colors/stops, center, and .degrees/.radians/.zero angle into a conic gradient.
iOS iOS 13macOS macOS 10.15
AngularGradient.init(colors:center:startAngle:endAngle:)
public init(colors: [Color], center: UnitPoint, startAngle: Angle, endAngle: Angle)
Direct color arrays lower structurally; web GradientView renders a conic gradient from startAngle and clamps color stops to the endAngle span.
iOS iOS 13macOS macOS 10.15
AngularGradient.init(stops:center:startAngle:endAngle:)
public init(stops: [Gradient.Stop], center: UnitPoint, startAngle: Angle, endAngle: Angle)
Direct Gradient.Stop(color:location:) arrays lower structurally; web preserves stop locations and maps them into the start/end angular span.
iOS iOS 13macOS macOS 10.15
AngularGradient.init(gradient:center:startAngle:endAngle:)
public init(gradient: Gradient, center: UnitPoint, startAngle: Angle, endAngle: Angle)
gradient: Gradient(colors:)/Gradient(stops:) args lower structurally and web resolves nested stops/colors plus start/end angles into a conic gradient span.
iOS iOS 13macOS macOS 10.15
ShapeStyle.angularGradient(_:center:startAngle:endAngle:)
public static func angularGradient(_ gradient: Gradient, center: UnitPoint, startAngle: Angle, endAngle: Angle) -> some ShapeStyle
Static ShapeStyle factory call preserves Gradient, center, and Angle args structurally; no typed ShapeStyle gradient payload.
iOS iOS 15macOS macOS 12
ShapeStyle.conicGradient(_:center:angle:)
public static func conicGradient(_ gradient: Gradient, center: UnitPoint, angle: Angle = .zero) -> some ShapeStyle
Static ShapeStyle conic factory call preserves Gradient, center, and Angle args structurally; no typed ShapeStyle gradient payload.
iOS iOS 15macOS macOS 12
EllipticalGradient (view/ShapeStyle)
@frozen public struct EllipticalGradient : ShapeStyle, View, Sendable
in catalog (EllipticalGradient). web maps to GradientView (a gradient, not a true ellipse per gaps matrix); compose-pending.
iOS iOS 15macOS macOS 12
EllipticalGradient.init(gradient:center:startRadiusFraction:endRadiusFraction:)
public init(gradient: Gradient, center: UnitPoint = .center, startRadiusFraction: CGFloat = 0, endRadiusFraction: CGFloat = 0.5)
SwiftUICore init, absent from dumps. view catalogued; renderer approximates as radial gradient; no typed payload.
iOS iOS 15macOS macOS 12
EllipticalGradient.init(colors:center:startRadiusFraction:endRadiusFraction:)
public init(colors: [Color], center: UnitPoint = .center, startRadiusFraction: CGFloat = 0, endRadiusFraction: CGFloat = 0.5)
SwiftUICore init, absent from dumps. catalogued view; web GradientView approximation; compose-pending.
iOS iOS 15macOS macOS 12
EllipticalGradient.init(stops:center:startRadiusFraction:endRadiusFraction:)
public init(stops: [Gradient.Stop], center: UnitPoint = .center, startRadiusFraction: CGFloat = 0, endRadiusFraction: CGFloat = 0.5)
SwiftUICore init, absent from dumps. catalogued view; renderer approximates; no typed stops payload.
iOS iOS 15macOS macOS 12
ShapeStyle.ellipticalGradient(_:center:startRadiusFraction:endRadiusFraction:)
public static func ellipticalGradient(_ gradient: Gradient, center: UnitPoint = .center, startRadiusFraction: CGFloat = 0, endRadiusFraction: CGFloat = 0.5) -> some ShapeStyle
Static ShapeStyle factory call preserves Gradient, center, and radius-fraction args structurally; no typed ShapeStyle gradient payload.
iOS iOS 15macOS macOS 12
MeshGradient (view/ShapeStyle)
@frozen public struct MeshGradient : ShapeStyle, View, Sendable
Catalogued view; web MeshGradientView rasterizes a bilinear color grid from width/height/points/colors and caches the offscreen canvas.
iOS iOS 18macOS macOS 15
MeshGradient.init(width:height:points:colors:background:smoothsColors:colorSpace:)
public init(width: Int, height: Int, points: [SIMD2<Float>], colors: [Color], background: Color = .clear, smoothsColors: Bool = true, colorSpace: Gradient.ColorSpace = .device)
SwiftUICore init lowers structurally; web parses width/height, bracket and .init(u,v) point forms, colors, and background before rasterizing. Color-space/smoothing remain renderer policy.
iOS iOS 18macOS macOS 15
MeshGradient.init(width:height:points:colors:...) (SIMD2 points overload)
public init(width: Int, height: Int, points: [MeshGradient.Point], colors: [Color], ...)
Point/SIMD-like call forms lower structurally and web parses call-arg point pairs into the same mesh rasterizer path.
iOS iOS 18macOS macOS 15
Gradient.ColorSpace (perceptual/device)
public enum Gradient.ColorSpace : Hashable, Sendable { case device; case perceptual }
module enum stub preserves gradient color-space metadata; gradient color-space rendering remains renderer policy.
iOS iOS 17macOS macOS 14
Material
public struct Material : Sendable
Dedicated UIMaterialValue captures material ShapeStyle tokens in style/effect/semantic metadata; rendering blur remains renderer policy (color.c:385, chain.c:305, chain.c:364).
iOS iOS 15macOS macOS 12
Material.ultraThin / .thin / .regular / .thick / .ultraThick
public static var ultraThinMaterial: Material { get } (and the thin/regular/thick/ultraThick variants)
Static material variants decompose to UIMaterialValue kinds ultraThin/thin/regular/thick/ultraThick and serialize as materialValue (color.c:390, json_modifier.c:848).
iOS iOS 15macOS macOS 12
Material.bar (regularMaterial bar)
public static var bar: Material { get }
The bar material token decomposes to UIMaterialValue.bar and serializes as materialValue.kind=bar (color.c:402, json_modifier.c:848).
iOS iOS 15macOS macOS 12
ShapeStyle.ultraThinMaterial (accessor)
extension ShapeStyle where Self == Material { static var ultraThinMaterial: Material { get } }
ShapeStyle==Material accessors in .background, .foregroundStyle, and .backgroundStyle lower to materialValue payloads, including per-level foregroundStyle values (chain.c:313, json_modifier.c:756, json_modifier.c:1243).
iOS iOS 15macOS macOS 12
ImagePaint
@frozen public struct ImagePaint : ShapeStyle
module struct stub preserves image-paint style metadata; image-as-fill rendering is not modeled.
iOS iOS 13macOS macOS 10.15
ImagePaint.init(image:sourceRect:scale:)
public init(image: Image, sourceRect: CGRect = CGRect(x: 0, y: 0, width: 1, height: 1), scale: CGFloat = 1)
Initializer call preserves Image, sourceRect, and scale args structurally; image-as-fill rendering is not modeled.
iOS iOS 13macOS macOS 10.15
ForegroundStyle
@frozen public struct ForegroundStyle : ShapeStyle
module struct stub preserves marker type metadata; .foreground style tokens already lower contextually.
iOS iOS 15macOS macOS 12
ShapeStyle.foreground (ForegroundStyle)
extension ShapeStyle where Self == ForegroundStyle { static var foreground: ForegroundStyle }
.foreground ShapeStyle token lowers to UIColorValue.kind=styleToken and serializes as payload.colorValue.name=foreground in foregroundStyle/tint-style payloads (color.c:29, color.c:427, json_modifier.c:848).
iOS iOS 15macOS macOS 12
BackgroundStyle
@frozen public struct BackgroundStyle : ShapeStyle
module struct stub preserves marker type metadata; .background style tokens lower contextually where supported.
iOS iOS 14macOS macOS 11
BackgroundStyle.init()
public init()
Default constructor call is preserved structurally; contextual background style resolution remains renderer/runtime policy.
iOS iOS 14macOS macOS 11
ShapeStyle.background (BackgroundStyle)
extension ShapeStyle where Self == BackgroundStyle { static var background: BackgroundStyle }
.background ShapeStyle token lowers to UIColorValue.kind=styleToken; backgroundStyle semantic metadata stores semantic.color_value and JSON emits payload.colorValue.name=background (color.c:427, chain.c:1368, json_modifier.c:1444).
iOS iOS 15macOS macOS 12
SeparatorShapeStyle
public struct SeparatorShapeStyle : ShapeStyle
module struct stub preserves marker type metadata; .separator style tokens lower contextually where supported.
iOS iOS 17macOS macOS 14
ShapeStyle.separator (SeparatorShapeStyle)
extension ShapeStyle where Self == SeparatorShapeStyle { static var separator: SeparatorShapeStyle }
.separator ShapeStyle token lowers to UIColorValue.kind=styleToken and serializes as payload.colorValue.name=separator for ShapeStyle-accepting modifiers (color.c:29, color.c:427, json_expr.c:154).
iOS iOS 17macOS macOS 14
SelectionShapeStyle
public struct SelectionShapeStyle : ShapeStyle
module struct stub preserves marker type metadata; .selection style tokens lower contextually where supported.
iOS iOS 15macOS macOS 10.15
ShapeStyle.selection (SelectionShapeStyle)
public static var selection: SelectionShapeStyle { get }
.selection ShapeStyle token lowers to UIColorValue.kind=styleToken and serializes as payload.colorValue.name=selection for ShapeStyle-accepting modifiers (color.c:29, color.c:427, json_expr.c:154).
iOS iOS 15macOS macOS 10.15
TintShapeStyle
@frozen public struct TintShapeStyle : ShapeStyle
module struct stub preserves marker type metadata; .tint style tokens lower contextually where supported.
iOS iOS 16macOS macOS 13
ShapeStyle.tint (TintShapeStyle)
extension ShapeStyle where Self == TintShapeStyle { static var tint: TintShapeStyle }
.tint ShapeStyle token lowers to UIColorValue.kind=styleToken and serializes as payload.colorValue.name=tint, including the View.tint(_:) style metadata path (color.c:29, color.c:427, json_modifier.c:841).
iOS iOS 16macOS macOS 13
FillShapeStyle
@frozen public struct FillShapeStyle : ShapeStyle
module struct stub preserves marker type metadata; .fill style tokens lower contextually where supported.
iOS iOS 17macOS macOS 14
ShapeStyle.fill (FillShapeStyle)
public static var fill: FillShapeStyle { get }
.fill ShapeStyle token lowers to UIColorValue.kind=styleToken and serializes as payload.colorValue.name=fill for ShapeStyle-accepting modifiers (color.c:29, color.c:427, json_expr.c:154).
iOS iOS 17macOS macOS 14
PlaceholderTextShapeStyle
@frozen public struct PlaceholderTextShapeStyle : ShapeStyle
module struct stub preserves marker type metadata; .placeholder style tokens lower contextually where supported.
iOS iOS 17macOS macOS 14
ShapeStyle.placeholder (PlaceholderTextShapeStyle)
public static var placeholder: PlaceholderTextShapeStyle { get }
.placeholder ShapeStyle token lowers to UIColorValue.kind=styleToken and serializes as payload.colorValue.name=placeholder for ShapeStyle-accepting modifiers (color.c:29, color.c:427, json_expr.c:154).
iOS iOS 17macOS macOS 14
LinkShapeStyle
@frozen public struct LinkShapeStyle : ShapeStyle
module struct stub preserves marker type metadata; .link style tokens lower contextually where supported.
iOS iOS 17macOS macOS 14
ShapeStyle.link (LinkShapeStyle)
public static var link: LinkShapeStyle { get }
.link ShapeStyle token lowers to UIColorValue.kind=styleToken and serializes as payload.colorValue.name=link for ShapeStyle-accepting modifiers (color.c:29, color.c:427, json_expr.c:154).
iOS iOS 17macOS macOS 14
WindowBackgroundShapeStyle
public struct WindowBackgroundShapeStyle : ShapeStyle
module struct stub preserves marker type metadata; .windowBackground style runtime remains unmodeled.
iOS iOS 17macOS macOS 14
ShapeStyle.windowBackground (WindowBackgroundShapeStyle)
public static var windowBackground: WindowBackgroundShapeStyle { get }
WindowBackgroundShapeStyle static member token is preserved structurally; real window background material/runtime behavior is not modeled.
iOS iOS 17macOS macOS 14
View.foregroundStyle(_:)
public func foregroundStyle<S>(_ style: S) -> some View where S : ShapeStyle
in catalog (SW_UI_MODS foregroundStyle); coverage Style metadata family with typed payload. web honors foregroundStyle; compose-pending.
iOS iOS 15macOS macOS 12
View.foregroundStyle(_:_:) / (_:_:_:) (multi-level)
public func foregroundStyle<S1, S2>(_ primary: S1, _ secondary: S2) -> some View where S1, S2 : ShapeStyle
Dedicated UI_STYLE_FOREGROUND_STYLE capture keeps the legacy primary payload.style and serializes multi-level payload.styles[] role/value entries for primary/secondary/tertiary (json_modifier.c:710, json_modifier.c:748).
iOS iOS 16macOS macOS 13
View.foregroundColor(_:)
public func foregroundColor(_ color: Color?) -> some View
in catalog (SW_UI_MODS foregroundColor); coverage Style metadata family. web honors foregroundColor (incl. color tween).
iOS iOS 13 (deprecated)macOS macOS 10.15 (deprecated)
View.backgroundStyle(_:)
public func backgroundStyle<S>(_ style: S) -> some View where S : ShapeStyle
in catalog (SW_UI_MODS backgroundStyle); coverage Style metadata family with typed payload. renderer interprets at draw time.
iOS iOS 16macOS macOS 13
View.tint(_:)
public func tint<S>(_ tint: S?) -> some View where S : ShapeStyle
in catalog (SW_UI_MODS tint); coverage Style metadata family. web honors tint; compose-pending.
iOS iOS 16macOS macOS 13
View.tint(_:) (Color overload)
public func tint(_ tint: Color?) -> some View
in catalog (tint); typed style metadata. web honors tint color.
iOS iOS 15macOS macOS 12
View.accentColor(_:)
public func accentColor(_ accentColor: Color?) -> some View
in catalog (SW_UI_MODS accentColor); coverage Style metadata family. web honors accentColor; deprecated in favor of tint.
iOS iOS 13 (deprecated)macOS macOS 10.15 (deprecated)
View.colorInvert()
public func colorInvert() -> some View
in catalog (SW_UI_MODS colorInvert); coverage Semantic metadata family. web honors colorInvert.
iOS iOS 13macOS macOS 10.15
View.background(_:in:fillStyle:) (ShapeStyle overload)
public func background<S>(_ style: S, in shape: some Shape, fillStyle: FillStyle = FillStyle()) -> some View where S : ShapeStyle
in catalog (SW_UI_MODS background); coverage Visual/effect family. web honors background incl. Material/gradient styles; compose-pending.
iOS iOS 15macOS macOS 12
View.glassEffect(_:in:)
public func glassEffect(_ glass: Glass = .regular, in shape: some Shape = .capsule) -> some View
Dedicated UI_EFFECT_GLASS; chain.c:474 maps glassEffect, chain.c:941 decomposes default/explicit glass style and shape tokens into UIVisualEffect.glass_style/glass_shape (uiir.h:777), and JSON emits payload.glass/payload.shape (json_modifier.c:1314). Dynamic args remain preserved in raw values; renderer behavior remains separate.
iOS iOS 26macOS macOS 26

10. Font / text styling

80·50·0
Font
@frozen public struct Font : Hashable, Sendable
Dedicated UIFontValue captures common Font values inside .font(_:), including kind/textStyle/system/custom fields and chained font modifiers; standalone Font evaluation remains outside UIIR lowering (uiir.h:597, chain.c:312, json_modifier.c:901).
iOS allmacOS all
Font.largeTitle
public static let largeTitle: Font
Static text-style Font values lower to UIFontValue.kind=textStyle with textStyle=largeTitle in .font(_:) payloads (chain.c:922, json_modifier.c:784).
iOS allmacOS all
Font.title
public static let title: Font
Static text-style Font values lower to UIFontValue.kind=textStyle with textStyle=title in .font(_:) payloads (chain.c:922, json_modifier.c:784).
iOS allmacOS all
Font.title2
public static let title2: Font
Static text-style Font values lower to UIFontValue.kind=textStyle with textStyle=title2 in .font(_:) payloads (chain.c:922, json_modifier.c:784).
iOS iOS 14macOS macOS 11
Font.title3
public static let title3: Font
Static text-style Font values lower to UIFontValue.kind=textStyle with textStyle=title3 in .font(_:) payloads (chain.c:922, json_modifier.c:784).
iOS iOS 14macOS macOS 11
Font.headline
public static let headline: Font
Static text-style Font values lower to UIFontValue.kind=textStyle with textStyle=headline in .font(_:) payloads (chain.c:922, json_modifier.c:784).
iOS allmacOS all
Font.subheadline
public static let subheadline: Font
Static text-style Font values lower to UIFontValue.kind=textStyle with textStyle=subheadline in .font(_:) payloads (chain.c:922, json_modifier.c:784).
iOS allmacOS all
Font.body
public static let body: Font
Static text-style Font values lower to UIFontValue.kind=textStyle with textStyle=body in .font(_:) payloads (chain.c:922, json_modifier.c:784).
iOS allmacOS all
Font.callout
public static let callout: Font
Static text-style Font values lower to UIFontValue.kind=textStyle with textStyle=callout in .font(_:) payloads (chain.c:922, json_modifier.c:784).
iOS allmacOS all
Font.footnote
public static let footnote: Font
Static text-style Font values lower to UIFontValue.kind=textStyle with textStyle=footnote in .font(_:) payloads (chain.c:922, json_modifier.c:784).
iOS allmacOS all
Font.caption
public static let caption: Font
Static text-style Font values lower to UIFontValue.kind=textStyle with textStyle=caption in .font(_:) payloads (chain.c:922, json_modifier.c:784).
iOS allmacOS all
Font.caption2
public static let caption2: Font
Static text-style Font values lower to UIFontValue.kind=textStyle with textStyle=caption2 in .font(_:) payloads (chain.c:922, json_modifier.c:784).
iOS iOS 14macOS macOS 11
Font.system(_:design:)
public static func system(_ style: Font.TextStyle, design: Font.Design = .default) -> Font
.font(.system(...)) lowers to UIFontValue.kind=system with typed textStyle/design/weight/size payload fields (chain.c:836, json_modifier.c:782).
iOS allmacOS all
Font.system(_:design:weight:)
public static func system(_ style: Font.TextStyle, design: Font.Design? = nil, weight: Font.Weight? = nil) -> Font
.font(.system(...)) lowers to UIFontValue.kind=system with typed textStyle/design/weight payload fields (chain.c:836, chain.c:849, json_modifier.c:792).
iOS iOS 16macOS macOS 13
Font.system(size:weight:design:)
public static func system(size: CGFloat, weight: Font.Weight = .regular, design: Font.Design = .default) -> Font
System size/weight/design args decompose to UIFontValue.size, weight, and design and serialize as payload.font fields (chain.c:845, chain.c:849, json_modifier.c:786).
iOS allmacOS all
Font.system(size:design:weight:)
public static func system(size: CGFloat, design: Font.Design? = nil, weight: Font.Weight? = nil) -> Font
System size/design/weight args decompose to UIFontValue.size, design, and weight and serialize as payload.font fields (chain.c:845, chain.c:851, json_modifier.c:786).
iOS iOS 16macOS macOS 13
Font.custom(_:size:)
public static func custom(_ name: String, size: CGFloat) -> Font
.font(.custom(...)) lowers to UIFontValue.kind=custom with typed name/size payload fields (chain.c:860, chain.c:870, json_modifier.c:785).
iOS allmacOS all
Font.custom(_:size:relativeTo:)
public static func custom(_ name: String, size: CGFloat, relativeTo textStyle: Font.TextStyle) -> Font
Custom name/size/relativeTo args decompose to UIFontValue.name, size, and relative_to and serialize as payload.font fields (chain.c:860, chain.c:880, json_modifier.c:791).
iOS iOS 14macOS macOS 11
Font.custom(_:fixedSize:)
public static func custom(_ name: String, fixedSize: CGFloat) -> Font
Custom fixedSize args decompose to UIFontValue.fixed_size and serialize as payload.font.fixedSize (chain.c:876, json_modifier.c:788).
iOS iOS 14macOS macOS 11
Font.init(_: CTFont)
public init(_ font: CTFont)
CTFont-bridge initializer calls survive structurally when a CTFont token is present; CoreText font runtime is not modeled.
iOS allmacOS all
Font.weight(_:)
public func weight(_ weight: Font.Weight) -> Font
Chained Font instance modifiers on .font(...) decompose to UIFontValue.weight and serialize as payload.font.weight (chain.c:748, chain.c:791, json_modifier.c:792).
iOS allmacOS all
Font.width(_:)
public func width(_ width: Font.Width) -> Font
Chained Font instance modifiers on .font(...) decompose to UIFontValue.width and serialize as payload.font.width (chain.c:748, chain.c:793, json_modifier.c:794).
iOS iOS 16macOS macOS 13
Font.bold()
public func bold() -> Font
Chained Font instance modifiers on .font(...) decompose to UIFontValue.bold and serialize as payload.font.bold=true (chain.c:797, json_modifier.c:797).
iOS allmacOS all
Font.italic()
public func italic() -> Font
Chained Font instance modifiers on .font(...) decompose to UIFontValue.italic and serialize as payload.font.italic=true (chain.c:799, json_modifier.c:799).
iOS allmacOS all
Font.monospaced()
public func monospaced() -> Font
Chained Font instance modifiers on .font(...) decompose to UIFontValue.monospaced and serialize as payload.font.monospaced=true (chain.c:801, json_modifier.c:801).
iOS iOS 15macOS macOS 12
Font.monospacedDigit()
public func monospacedDigit() -> Font
Chained Font instance modifiers on .font(...) decompose to UIFontValue.monospaced_digit and serialize as payload.font.monospacedDigit=true (chain.c:803, json_modifier.c:803).
iOS iOS 15macOS macOS 12
Font.smallCaps()
public func smallCaps() -> Font
Chained Font instance modifiers on .font(...) decompose to UIFontValue.small_caps=all and serialize as payload.font.smallCaps=all (chain.c:805, json_modifier.c:796).
iOS allmacOS all
Font.lowercaseSmallCaps()
public func lowercaseSmallCaps() -> Font
Chained Font instance modifiers on .font(...) decompose to UIFontValue.small_caps=lowercase and serialize as payload.font.smallCaps=lowercase (chain.c:807, json_modifier.c:796).
iOS allmacOS all
Font.uppercaseSmallCaps()
public func uppercaseSmallCaps() -> Font
Chained Font instance modifiers on .font(...) decompose to UIFontValue.small_caps=uppercase and serialize as payload.font.smallCaps=uppercase (chain.c:809, json_modifier.c:796).
iOS allmacOS all
Font.leading(_:)
public func leading(_ leading: Font.Leading) -> Font
Chained Font instance modifiers on .font(...) decompose to UIFontValue.leading and serialize as payload.font.leading (chain.c:795, json_modifier.c:795).
iOS iOS 16macOS macOS 13
Font.Weight
@frozen public struct Font.Weight : Hashable, Sendable
Standalone value type is not catalogued, but .fontWeight(_:), .font(.system(... weight:)), and .font(...weight(...)) args lower to typed font weight fields (chain.c:315, chain.c:849, json_modifier.c:906).
iOS allmacOS all
Font.Weight.ultraLight
public static let ultraLight: Font.Weight
Static case is not catalogued standalone, but use in font modifiers lowers to typed weight / weightValue payload strings (chain.c:315, chain.c:932, json_modifier.c:906).
iOS allmacOS all
Font.Weight.thin
public static let thin: Font.Weight
Static case is not catalogued standalone, but use in font modifiers lowers to typed weight / weightValue payload strings (chain.c:315, chain.c:932, json_modifier.c:906).
iOS allmacOS all
Font.Weight.light
public static let light: Font.Weight
Static case is not catalogued standalone, but use in font modifiers lowers to typed weight / weightValue payload strings (chain.c:315, chain.c:932, json_modifier.c:906).
iOS allmacOS all
Font.Weight.regular
public static let regular: Font.Weight
Static case is not catalogued standalone, but use in font modifiers lowers to typed weight / weightValue payload strings (chain.c:315, chain.c:932, json_modifier.c:906).
iOS allmacOS all
Font.Weight.medium
public static let medium: Font.Weight
Static case is not catalogued standalone, but use in font modifiers lowers to typed weight / weightValue payload strings (chain.c:315, chain.c:932, json_modifier.c:906).
iOS allmacOS all
Font.Weight.semibold
public static let semibold: Font.Weight
Static case is not catalogued standalone, but use in font modifiers lowers to typed weight / weightValue payload strings (chain.c:315, chain.c:932, json_modifier.c:906).
iOS allmacOS all
Font.Weight.bold
public static let bold: Font.Weight
Static case is not catalogued standalone, but use in font modifiers lowers to typed weight / weightValue payload strings (chain.c:315, chain.c:932, json_modifier.c:906).
iOS allmacOS all
Font.Weight.heavy
public static let heavy: Font.Weight
Static case is not catalogued standalone, but use in font modifiers lowers to typed weight / weightValue payload strings (chain.c:315, chain.c:932, json_modifier.c:906).
iOS allmacOS all
Font.Weight.black
public static let black: Font.Weight
Static case is not catalogued standalone, but use in font modifiers lowers to typed weight / weightValue payload strings (chain.c:315, chain.c:932, json_modifier.c:906).
iOS allmacOS all
Font.Design
@frozen public enum Font.Design : Hashable, Sendable
Standalone enum is not catalogued, but .font(.system(... design:)) lowers to UIFontValue.design; fontDesign(_:) lowers to UISemantic.font_design and JSON payload.design (chain.c:851, chain.c:946, json_modifier.c:1412).
iOS allmacOS all
Font.Design.default
case `default`
Case is not catalogued standalone, but use in .font(.system(... design:)) and fontDesign(_:) lowers to typed design payloads.
iOS allmacOS all
Font.Design.serif
case serif
Case is not catalogued standalone, but use in .font(.system(... design:)) and fontDesign(_:) lowers to typed design payloads.
iOS allmacOS all
Font.Design.rounded
case rounded
Case is not catalogued standalone, but use in .font(.system(... design:)) and fontDesign(_:) lowers to typed design payloads.
iOS allmacOS all
Font.Design.monospaced
case monospaced
Case is not catalogued standalone, but use in .font(.system(... design:)) and fontDesign(_:) lowers to typed design payloads.
iOS allmacOS all
Font.TextStyle
public enum Font.TextStyle : CaseIterable, Hashable, Sendable
Standalone enum is not catalogued, but text-style values in .font(.title) and .font(.system(.body, ...)) lower to UIFontValue.text_style (chain.c:922, chain.c:853, json_modifier.c:784).
iOS allmacOS all
Font.TextStyle.largeTitle
case largeTitle
Case is not catalogued standalone, but use in .font(...) lowers to UIFontValue.text_style (chain.c:922, json_modifier.c:784).
iOS iOS 14macOS macOS 11
Font.TextStyle.title
case title
Case is not catalogued standalone, but use in .font(...) lowers to UIFontValue.text_style (chain.c:922, json_modifier.c:784).
iOS allmacOS all
Font.TextStyle.title2
case title2
Case is not catalogued standalone, but use in .font(...) lowers to UIFontValue.text_style (chain.c:922, json_modifier.c:784).
iOS iOS 14macOS macOS 11
Font.TextStyle.title3
case title3
Case is not catalogued standalone, but use in .font(...) lowers to UIFontValue.text_style (chain.c:922, json_modifier.c:784).
iOS iOS 14macOS macOS 11
Font.TextStyle.headline
case headline
Case is not catalogued standalone, but use in .font(...) lowers to UIFontValue.text_style (chain.c:922, json_modifier.c:784).
iOS allmacOS all
Font.TextStyle.subheadline
case subheadline
Case is not catalogued standalone, but use in .font(...) lowers to UIFontValue.text_style (chain.c:922, json_modifier.c:784).
iOS allmacOS all
Font.TextStyle.body
case body
Case is not catalogued standalone, but use in .font(...) lowers to UIFontValue.text_style (chain.c:922, json_modifier.c:784).
iOS allmacOS all
Font.TextStyle.callout
case callout
Case is not catalogued standalone, but use in .font(...) lowers to UIFontValue.text_style (chain.c:922, json_modifier.c:784).
iOS allmacOS all
Font.TextStyle.footnote
case footnote
Case is not catalogued standalone, but use in .font(...) lowers to UIFontValue.text_style (chain.c:922, json_modifier.c:784).
iOS allmacOS all
Font.TextStyle.caption
case caption
Case is not catalogued standalone, but use in .font(...) lowers to UIFontValue.text_style (chain.c:922, json_modifier.c:784).
iOS allmacOS all
Font.TextStyle.caption2
case caption2
Case is not catalogued standalone, but use in .font(...) lowers to UIFontValue.text_style (chain.c:922, json_modifier.c:784).
iOS iOS 14macOS macOS 11
Font.Width
@frozen public struct Font.Width : Hashable, Sendable
Standalone value type is not catalogued, but chained .font(...width(...)) values lower to UIFontValue.width; fontWidth(_:) lowers to UISemantic.font_width and JSON payload.width (chain.c:793, chain.c:943, json_modifier.c:1405).
iOS iOS 16macOS macOS 13
Font.Width.compressed
public static let compressed: Font.Width
Static case is not catalogued standalone, but chained .font(...width(.compressed)) and fontWidth(_:) lower to typed width payloads.
iOS iOS 16macOS macOS 13
Font.Width.condensed
public static let condensed: Font.Width
Static case is not catalogued standalone, but chained .font(...width(.condensed)) and fontWidth(_:) lower to typed width payloads.
iOS iOS 16macOS macOS 13
Font.Width.standard
public static let standard: Font.Width
Static case is not catalogued standalone, but chained .font(...width(.standard)) and fontWidth(_:) lower to typed width payloads.
iOS iOS 16macOS macOS 13
Font.Width.expanded
public static let expanded: Font.Width
Static case is not catalogued standalone, but chained .font(...width(.expanded)) and fontWidth(_:) lower to typed width payloads.
iOS iOS 16macOS macOS 13
Font.Width.init(_:)
public init(_ value: CGFloat)
Font.Width is a module struct stub and fontWidth(_:)/font width tokens lower to typed payloads; arbitrary numeric width value semantics are not modeled
iOS iOS 16macOS macOS 13
Font.Leading
public enum Font.Leading : Hashable, Sendable
Standalone enum is not catalogued, but chained .font(...leading(...)) values lower to UIFontValue.leading (chain.c:795, json_modifier.c:795).
iOS iOS 16macOS macOS 13
Font.Leading.standard
case standard
Case is not catalogued standalone, but chained .font(...leading(.standard)) lowers to UIFontValue.leading (chain.c:795, json_modifier.c:795).
iOS iOS 16macOS macOS 13
Font.Leading.tight
case tight
Case is not catalogued standalone, but chained .font(...leading(.tight)) lowers to UIFontValue.leading (chain.c:795, json_modifier.c:795).
iOS iOS 16macOS macOS 13
Font.Leading.loose
case loose
Case is not catalogued standalone, but chained .font(...leading(.loose)) lowers to UIFontValue.leading (chain.c:795, json_modifier.c:795).
iOS iOS 16macOS macOS 13
View.font(_:)
public func font(_ font: Font?) -> some View
Catalogued + Style metadata family; .font args decompose into dedicated UIFontValue payload fields for textStyle/system/custom/chained font modifiers (chain.c:312, json_modifier.c:901).
iOS allmacOS all
View.fontWeight(_:)
public func fontWeight(_ weight: Font.Weight?) -> some View
Catalogued + Style metadata family; weight arg is preserved raw and decomposed to UIStyle.font_weight, serialized as payload.weightValue (chain.c:315, json_modifier.c:906).
iOS iOS 16macOS macOS 13
View.fontDesign(_:)
public func fontDesign(_ design: Font.Design?) -> some View
Dedicated UI_SEMANTIC_FONT_DESIGN; arg decomposes to UISemantic.font_design and JSON payload.design, while .font(.system(... design:)) also lowers design into UIFontValue.design (uiir.h:830, chain.c:946, json_modifier.c:1412).
iOS iOS 16.1macOS macOS 13
View.fontWidth(_:)
public func fontWidth(_ width: Font.Width?) -> some View
Dedicated UI_SEMANTIC_FONT_WIDTH; arg decomposes to UISemantic.font_width and JSON payload.width, while chained .font(...width(...)) lowers width into UIFontValue.width (uiir.h:829, chain.c:943, json_modifier.c:1405).
iOS iOS 16macOS macOS 13
View.bold(_:)
public func bold(_ isActive: Bool = true) -> some View
Catalogued + Style metadata family; UIStyle.has_style_enabled/style_enabled (uiir.h:650) captures default/explicit active bool and json_modifier.c:911 emits payload.enabled.
iOS iOS 16macOS macOS 13
View.italic(_:)
public func italic(_ isActive: Bool = true) -> some View
Catalogued + Style metadata family; UIStyle.has_style_enabled/style_enabled (uiir.h:650) captures default/explicit active bool and json_modifier.c:911 emits payload.enabled.
iOS iOS 16macOS macOS 13
View.underline(_:color:)
public func underline(_ isActive: Bool = true, color: Color? = nil) -> some View
Catalogued + Style metadata family (dedicated); active/color payload captured.
iOS iOS 16macOS macOS 13
View.underline(_:pattern:color:)
public func underline(_ isActive: Bool = true, pattern: Text.LineStyle.Pattern = .solid, color: Color? = nil) -> some View
Catalogued + Style metadata family: chain.c decomposes enabled/pattern/color into UIStyle decoration fields (chain.c:266, chain.c:279), serialized by json_modifier.c:715.
iOS iOS 16macOS macOS 13
View.strikethrough(_:color:)
public func strikethrough(_ isActive: Bool = true, color: Color? = nil) -> some View
Catalogued + Style metadata family (dedicated); active/color payload captured.
iOS iOS 16macOS macOS 13
View.strikethrough(_:pattern:color:)
public func strikethrough(_ isActive: Bool = true, pattern: Text.LineStyle.Pattern = .solid, color: Color? = nil) -> some View
Catalogued + Style metadata family: pattern arg lowers to UIStyle.decoration_pattern and JSON payload.pattern.
iOS iOS 16macOS macOS 13
View.kerning(_:)
public func kerning(_ kerning: CGFloat) -> some View
Dedicated UI_SEMANTIC_KERNING; numeric arg decomposes to UISemantic.text_kerning (uiir.h:639, chain.c:566) and JSON payload.kerning (json_modifier.c:999).
iOS iOS 16macOS macOS 13
View.tracking(_:)
public func tracking(_ tracking: CGFloat) -> some View
Dedicated UI_SEMANTIC_TRACKING; numeric arg decomposes to UISemantic.text_tracking and JSON payload.tracking.
iOS iOS 16macOS macOS 13
View.baselineOffset(_:)
public func baselineOffset(_ baselineOffset: CGFloat) -> some View
Dedicated UI_SEMANTIC_BASELINE_OFFSET; numeric/unary numeric arg decomposes to UISemantic.text_baseline_offset and JSON payload.baselineOffset.
iOS iOS 16macOS macOS 13
View.monospaced(_:)
public func monospaced(_ isActive: Bool = true) -> some View
Dedicated UI_SEMANTIC_MONOSPACED; missing arg defaults to payload.isActive=true, bool arg decomposes to UISemantic.monospaced_active (chain.c:1449, json_modifier.c:1411).
iOS iOS 15macOS macOS 12
View.monospacedDigit()
public func monospacedDigit() -> some View
Dedicated UI_SEMANTIC_MONOSPACED_DIGIT; zero-arg flag serializes payload.enabled=true (chain.c:1455, json_modifier.c:1418).
iOS iOS 15macOS macOS 12
View.textCase(_:)
public func textCase(_ textCase: Text.Case?) -> some View
Dedicated UI_SEMANTIC_TEXT_CASE; enum arg decomposes to UISemantic.text_case and JSON payload.textCase (chain.c:1479, json_modifier.c:1466).
iOS iOS 14macOS macOS 11
View.textScale(_:isEnabled:)
public func textScale(_ scale: Text.Scale, isEnabled: Bool = true) -> some View
Dedicated UI_SEMANTIC_TEXT_SCALE; chain.c maps textScale to semantic metadata (chain.c:441) and stores typed scale/isEnabled fields (chain.c:631).
iOS iOS 17macOS macOS 14
View.lineLimit(_:)
public func lineLimit(_ number: Int?) -> some View
Catalogued + coverage.md Semantic metadata family (dedicated). Web-renders truncation; Compose pending.
iOS allmacOS all
View.lineLimit(_:reservesSpace:)
public func lineLimit(_ limit: Int, reservesSpace: Bool) -> some View
Dedicated UI_SEMANTIC_LINE_LIMIT; literal count and reservesSpace bool lower to typed UISemantic fields and serialize as payload.count/reservesSpace.
iOS iOS 16macOS macOS 13
View.lineLimit(_:)
public func lineLimit(_ limit: PartialRangeFrom<Int>) -> some View
Dedicated UI_SEMANTIC_LINE_LIMIT; postfix range UIExpr lowering preserves the lower bound (value_expr.c:553), chain.c:2065 stores it in UISemantic.line_limit_range_lower (uiir.h:920), and JSON emits payload.range.lower (json_modifier.c:1370).
iOS iOS 16macOS macOS 13
View.lineLimit(_:)
public func lineLimit(_ limit: PartialRangeThrough<Int>) -> some View
Dedicated UI_SEMANTIC_LINE_LIMIT; prefix range UIExpr lowering preserves the upper bound (value_expr.c:553), chain.c:2065 stores it in UISemantic.line_limit_range_upper (uiir.h:922), and JSON emits payload.range.upper plus upperExclusive=false (json_modifier.c:1379).
iOS iOS 16macOS macOS 13
View.lineLimit(_:)
public func lineLimit(_ limit: ClosedRange<Int>) -> some View
Dedicated UI_SEMANTIC_LINE_LIMIT; chain.c:2065 decomposes numeric lower/upper bounds into UISemantic.line_limit_range_* fields (uiir.h:920), and JSON emits payload.range.lower, upper, and upperExclusive (json_modifier.c:1370).
iOS iOS 16macOS macOS 13
View.lineSpacing(_:)
public func lineSpacing(_ lineSpacing: CGFloat) -> some View
Dedicated UI_SEMANTIC_LINE_SPACING; numeric arg decomposes to UISemantic.line_spacing and JSON payload.lineSpacing (chain.c:1458, json_modifier.c:1422).
iOS allmacOS all
View.lineHeight(_:)
public func lineHeight(_ lineHeight: Text.LineHeight) -> some View
Dedicated UI_SEMANTIC_LINE_HEIGHT; presets/factories decompose into UISemantic.line_height_* fields (uiir.h:645, chain.c:638) and JSON payload.kind plus factor/increase/points (json_modifier.c:1056).
iOS iOS 26macOS macOS 26
View.multilineTextAlignment(_:)
public func multilineTextAlignment(_ alignment: TextAlignment) -> some View
Dedicated UI_SEMANTIC_MULTILINE_TEXT_ALIGNMENT; alignment arg decomposes to UISemantic.multiline_text_alignment and JSON payload.alignment (chain.c:1445, json_modifier.c:1164).
iOS allmacOS all
View.minimumScaleFactor(_:)
public func minimumScaleFactor(_ factor: CGFloat) -> some View
Dedicated UI_SEMANTIC_MINIMUM_SCALE_FACTOR; numeric arg decomposes to UISemantic.minimum_scale_factor and JSON payload.factor (chain.c:1473, json_modifier.c:1459).
iOS allmacOS all
View.allowsTightening(_:)
public func allowsTightening(_ flag: Bool) -> some View
Dedicated UI_SEMANTIC_ALLOWS_TIGHTENING; bool arg decomposes to UISemantic.allows_tightening and JSON payload.flag (chain.c:1467, json_modifier.c:1452).
iOS allmacOS all
View.truncationMode(_:)
public func truncationMode(_ mode: Text.TruncationMode) -> some View
Dedicated UI_SEMANTIC_TRUNCATION_MODE; mode arg decomposes to UISemantic.truncation_mode and JSON payload.mode (chain.c:1464, json_modifier.c:1444).
iOS allmacOS all
View.dynamicTypeSize(_:)
public func dynamicTypeSize(_ size: DynamicTypeSize) -> some View
Dedicated UI_SEMANTIC_DYNAMIC_TYPE_SIZE; enum args lower to payload.size, and web text/control renderers apply the exact dynamic-type font scale on the styled node.
iOS iOS 15macOS macOS 12
View.dynamicTypeSize(_:)
public func dynamicTypeSize<T>(_ range: T) -> some View where T : RangeExpression, T.Bound == DynamicTypeSize
Dedicated UI_SEMANTIC_DYNAMIC_TYPE_SIZE; prefix/postfix range UIExpr lowering preserves one-sided upper/lower bounds (value_expr.c:552), chain.c:2021 decomposes enum/member bounds into UISemantic.dynamic_type_range_lower/upper (uiir.h:932), and JSON emits payload.range.lower, upper, and upperExclusive while retaining legacy partialBound for one-sided ranges (json_modifier.c:1331).
iOS iOS 15macOS macOS 12
TextAlignment
@frozen public enum TextAlignment : Hashable, CaseIterable, Sendable
Enum not catalogued standalone, but args to multilineTextAlignment(_:) lower to UISemantic.multiline_text_alignment and JSON payload.alignment (chain.c:1445, json_modifier.c:1164).
iOS allmacOS all
TextAlignment.leading
case leading
Contextually lowered by multilineTextAlignment(_:) to payload.alignment="leading"; web Text renderer applies leading line placement.
iOS allmacOS all
TextAlignment.center
case center
Contextually lowered by multilineTextAlignment(_:) to payload.alignment="center"; web Text renderer applies centered line placement.
iOS allmacOS all
TextAlignment.trailing
case trailing
Contextually lowered by multilineTextAlignment(_:) to payload.alignment="trailing"; web Text renderer applies trailing line placement.
iOS allmacOS all
Text.Case
public enum Text.Case : Hashable, Sendable
Nested enum not catalogued standalone, but args to textCase(_:) lower to UISemantic.text_case and JSON payload.textCase (chain.c:1479, json_modifier.c:1466).
iOS iOS 14macOS macOS 11
Text.Case.uppercase
case uppercase
Contextually lowered by textCase(_:) to payload.textCase="uppercase"; web Text renderer uppercases measured and drawn text.
iOS iOS 14macOS macOS 11
Text.Case.lowercase
case lowercase
Contextually lowered by textCase(_:) to payload.textCase="lowercase"; web Text renderer lowercases measured and drawn text.
iOS iOS 14macOS macOS 11
Text.LineStyle
@frozen public struct Text.LineStyle : Hashable, Sendable
module struct stub; underline/strikethrough overloads lower LineStyle pattern/color payloads, but standalone value semantics are not modeled
iOS iOS 16macOS macOS 13
Text.LineStyle.init(pattern:color:)
public init(pattern: Text.LineStyle.Pattern = .solid, color: Color? = nil)
constructor survives structurally and pattern/color are handled contextually by text-decoration modifiers; no standalone LineStyle runtime
iOS iOS 16macOS macOS 13
Text.LineStyle.single
public static let single: Text.LineStyle
static token surface exists through LineStyle module stub; decoration modifiers lower pattern/color payloads, full standalone value model absent
iOS iOS 16macOS macOS 13
Text.LineStyle.Pattern
public enum Text.LineStyle.Pattern : Sendable
Nested enum not catalogued standalone, but solid/dot/dash/dashDot/dashDotDot-style cases lower as UIStyle.decoration_pattern in underline/strikethrough.
iOS iOS 16macOS macOS 13
Text.TruncationMode
@frozen public enum Text.TruncationMode : Hashable, Sendable
Nested enum not catalogued standalone, but args to truncationMode(_:) lower to UISemantic.truncation_mode and JSON payload.mode (chain.c:1464, json_modifier.c:1444).
iOS allmacOS all
Text.TruncationMode.head
case head
Contextually lowered by truncationMode(_:) to payload.mode="head"; web Text renderer places the ellipsis at the leading edge.
iOS allmacOS all
Text.TruncationMode.tail
case tail
Contextually lowered by truncationMode(_:) to payload.mode="tail"; web Text renderer places the ellipsis at the trailing edge.
iOS allmacOS all
Text.TruncationMode.middle
case middle
Contextually lowered by truncationMode(_:) to payload.mode="middle"; web Text renderer preserves both ends around a middle ellipsis.
iOS allmacOS all
Text.Scale
public struct Text.Scale : Hashable, Sendable
Value type not catalogued standalone, but default/secondary args to textScale(_:) lower to UISemantic.text_scale; other standalone uses remain structural/source.
iOS iOS 17macOS macOS 14
DynamicTypeSize
public enum DynamicTypeSize : Hashable, Comparable, CaseIterable, Sendable
Enum type not catalogued standalone, but args to dynamicTypeSize(_:) lower to typed payload.size/range fields; standalone/property use remains source.
iOS iOS 15macOS macOS 12
DynamicTypeSize.xSmall
case xSmall
Contextually lowered by dynamicTypeSize(_:) to payload.size="xSmall"; web renderer applies the xSmall font scale.
iOS iOS 15macOS macOS 12
DynamicTypeSize.small
case small
Contextually lowered by dynamicTypeSize(_:) to payload.size="small"; web renderer applies the small font scale.
iOS iOS 15macOS macOS 12
DynamicTypeSize.medium
case medium
Contextually lowered by dynamicTypeSize(_:) to payload.size="medium"; web renderer applies the medium font scale.
iOS iOS 15macOS macOS 12
DynamicTypeSize.large
case large
Contextually lowered by dynamicTypeSize(_:) to payload.size="large"; web renderer applies the default large font scale.
iOS iOS 15macOS macOS 12
DynamicTypeSize.xLarge
case xLarge
Contextually lowered by dynamicTypeSize(_:) to payload.size="xLarge"; web renderer applies the xLarge font scale.
iOS iOS 15macOS macOS 12
DynamicTypeSize.xxLarge
case xxLarge
Contextually lowered by dynamicTypeSize(_:) to payload.size="xxLarge"; web renderer applies the xxLarge font scale.
iOS iOS 15macOS macOS 12
DynamicTypeSize.xxxLarge
case xxxLarge
Contextually lowered by dynamicTypeSize(_:) to payload.size="xxxLarge"; web renderer applies the xxxLarge font scale.
iOS iOS 15macOS macOS 12
DynamicTypeSize.accessibility1
case accessibility1
Contextually lowered by dynamicTypeSize(_:) to payload.size="accessibility1"; web renderer applies the accessibility1 font scale.
iOS iOS 15macOS macOS 12
DynamicTypeSize.accessibility2
case accessibility2
Contextually lowered by dynamicTypeSize(_:) to payload.size="accessibility2"; web renderer applies the accessibility2 font scale.
iOS iOS 15macOS macOS 12
DynamicTypeSize.accessibility3
case accessibility3
Contextually lowered by dynamicTypeSize(_:) to payload.size="accessibility3"; web renderer applies the accessibility3 font scale.
iOS iOS 15macOS macOS 12
DynamicTypeSize.accessibility4
case accessibility4
Contextually lowered by dynamicTypeSize(_:) to payload.size="accessibility4"; web renderer applies the accessibility4 font scale.
iOS iOS 15macOS macOS 12
DynamicTypeSize.accessibility5
case accessibility5
Contextually lowered by dynamicTypeSize(_:) to payload.size="accessibility5"; web renderer applies the accessibility5 font scale.
iOS iOS 15macOS macOS 12
DynamicTypeSize.isAccessibilitySize
public var isAccessibilitySize: Bool { get }
Member reads survive structurally; accessibility bucket computation is not modeled.
iOS iOS 15macOS macOS 12
DynamicTypeSize.init(_: UIContentSizeCategory)
public init?(_ uiSizeCategory: UIContentSizeCategory)
Interop initializer calls preserve the UIContentSizeCategory arg structurally; UIKit category conversion is not modeled.
iOS iOS 15macOS
UIContentSizeCategory.init(_: DynamicTypeSize?)
public init(_ dynamicTypeSize: DynamicTypeSize?)
Reverse interop initializer calls preserve the DynamicTypeSize arg structurally; UIKit category conversion is not modeled.
iOS iOS 15macOS
View.writingDirection(_:)
nonisolated public func writingDirection(_ direction: WritingDirection) -> some View
Dedicated UI_SEMANTIC_WRITING_DIRECTION; enum arg decomposes to UISemantic.writing_direction and JSON payload.direction (uiir.h:752, uiir.h:844, chain.c:507, chain.c:1484, json_modifier.c:1489).
iOS allmacOS all

11. Layout modifiers

42·19·0
View.padding(_:)
nonisolated public func padding(_ length: CGFloat) -> some View
Layout-hoisted: layout.c lowers to node.layout.pad_* (all sides N); renderer honors padding. (SwiftUICore decl, not in these dumps.)
iOS allmacOS all
View.padding(_:_:)
nonisolated public func padding(_ edges: Edge.Set = .all, _ length: CGFloat? = nil) -> some View
Layout-hoisted: edge set + length map to per-side pad_top/leading/trailing/bottom in layout.c; .padding() = 16 default. Edge.Set is Core.
iOS allmacOS all
View.padding(_:)
nonisolated public func padding(_ insets: EdgeInsets) -> some View
Layout-hoisted: EdgeInsets/.init(top:leading:bottom:trailing:) expr args decompose to node.layout.pad_top/pad_right/pad_bottom/pad_left in layout.c:130 and layout.c:206. Dynamic inset values remain structurally captured. EdgeInsets is Core.
iOS allmacOS all
View.frame(width:height:alignment:)
nonisolated public func frame(width: CGFloat? = nil, height: CGFloat? = nil, alignment: Alignment = .center) -> some View
Layout-hoisted: layout.c sets frame_w/frame_h + alignment; renderer honors. (SwiftUICore decl, not in these dumps.)
iOS allmacOS all
View.frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)
nonisolated public func frame(minWidth: CGFloat? = nil, idealWidth: CGFloat? = nil, maxWidth: CGFloat? = nil, minHeight: CGFloat? = nil, idealHeight: CGFloat? = nil, maxHeight: CGFloat? = nil, alignment: Alignment = .center) -> some View
Layout-hoisted: frame_min/max_w/h captured, .infinity -> INT16_MAX expands_*; ideal* not modeled. Core decl absent from dumps.
iOS allmacOS all
View.frame()
nonisolated public func frame() -> some View
Deprecated no-arg frame; recognized by layout.c name but no sizing payload. Core decl, not in these dumps.
iOS allmacOS all
View.fixedSize()
nonisolated public func fixedSize() -> some View
Layout-hoisted: layout.c sets node.layout.fixed_size (both axes). Core decl absent from dumps.
iOS allmacOS all
View.fixedSize(horizontal:vertical:)
nonisolated public func fixedSize(horizontal: Bool, vertical: Bool) -> some View
Layout-hoisted: per-axis fixed_size value (2=h,3=v) in layout.c. Core decl absent from dumps.
iOS allmacOS all
View.layoutPriority(_:)
nonisolated public func layoutPriority(_ value: Double) -> some View
Layout-hoisted: layout.c stores node.layout.layout_priority. Core decl absent from dumps.
iOS allmacOS all
View.aspectRatio(_:contentMode:)
nonisolated public func aspectRatio(_ aspectRatio: CGFloat? = nil, contentMode: ContentMode) -> some View
Layout-hoisted: layout.c stores numeric aspect_ratio and fit/fill in aspect_content_mode (layout.c:201, layout.c:415); json_node.c emits aspectRatio/aspectContentMode (json_node.c:445). Core decl absent from dumps.
iOS allmacOS all
View.aspectRatio(_:contentMode:)
nonisolated public func aspectRatio(_ aspectRatio: CGSize, contentMode: ContentMode) -> some View
Layout-hoisted: CGSize(width:height:) expr args decompose to aspect_ratio = width/height (layout.c:181, layout.c:427), and ContentMode decomposes to aspect_content_mode. Core decl, not in dumps.
iOS allmacOS all
View.position(_:)
nonisolated public func position(_ position: CGPoint) -> some View
Visual-metadata family (chain.c handles position); web renderer places absolute center + tweens it. Core decl absent from dumps.
iOS allmacOS all
View.position(x:y:)
nonisolated public func position(x: CGFloat = 0, y: CGFloat = 0) -> some View
Visual-metadata family; x/y captured, renderer honors absolute placement. Core decl absent from dumps.
iOS allmacOS all
View.offset(_:)
nonisolated public func offset(_ offset: CGSize) -> some View
Visual-metadata family (chain.c); web renderer slides node + children rigidly, with tween. Core decl absent from dumps.
iOS allmacOS all
View.offset(x:y:)
nonisolated public func offset(x: CGFloat = 0, y: CGFloat = 0) -> some View
Visual-metadata family; x/y offset captured and honored by web renderer. Core decl absent from dumps.
iOS allmacOS all
View.alignmentGuide(_:computeValue:) [HorizontalAlignment]
nonisolated public func alignmentGuide(_ g: HorizontalAlignment, computeValue: @escaping (ViewDimensions) -> CGFloat) -> some View
Dedicated UI_SEMANTIC_ALIGNMENT_GUIDE captures the horizontal guide and compute closure as typed semantic payload (modules/swiftui/compiler/lower/chain.c:793, modules/swiftui/compiler/uiir/json_modifier.c:2378). Core decl absent from dumps; closure evaluation remains renderer/runtime policy.
iOS allmacOS all
View.alignmentGuide(_:computeValue:) [VerticalAlignment]
nonisolated public func alignmentGuide(_ g: VerticalAlignment, computeValue: @escaping (ViewDimensions) -> CGFloat) -> some View
Same semantic kind captures vertical guide and computeValue closure under typed payload fields (modules/swiftui/compiler/uiir/json_modifier.c:2378). ViewDimensions closure execution is outside lowering.
iOS allmacOS all
View.ignoresSafeArea(_:edges:)
nonisolated public func ignoresSafeArea(_ regions: SafeAreaRegions = .all, edges: Edge.Set = .all) -> some View
Dedicated semantic kind; regions/edges decompose to UISemantic.safe_area_regions/safe_area_edges (uiir.h:856, chain.c:1659) and JSON emits payload.regions/payload.edges arrays (json_modifier.c:1232). Core decl absent from dumps.
iOS allmacOS all
View.edgesIgnoringSafeArea(_:)
nonisolated public func edgesIgnoringSafeArea(_ edges: Edge.Set) -> some View
Deprecated alias; chain.c:1681 decomposes the Edge.Set arg to UISemantic.safe_area_edges, serialized as payload.edges in json_modifier.c:1248. Core decl absent from dumps.
iOS all (deprecated 15)macOS all (deprecated 12)
View.safeAreaInset(edge:alignment:spacing:content:) [VerticalEdge]
nonisolated public func safeAreaInset<V>(edge: VerticalEdge, alignment: HorizontalAlignment = .center, spacing: CGFloat? = nil, @ViewBuilder content: () -> V) -> some View where V : View
Dedicated UI_SEMANTIC_SAFE_AREA_INSET; chain.c:1697 captures edge:, chain.c:1702 captures/defaults alignment:, chain.c:1709 decomposes numeric spacing:, and JSON emits typed payload fields at json_modifier.c:1255. Core decl absent from dumps.
iOS allmacOS all
View.safeAreaInset(edge:alignment:spacing:content:) [HorizontalEdge]
nonisolated public func safeAreaInset<V>(edge: HorizontalEdge, alignment: VerticalAlignment = .center, spacing: CGFloat? = nil, @ViewBuilder content: () -> V) -> some View where V : View
Same dedicated UI_SEMANTIC_SAFE_AREA_INSET capture as vertical form; horizontal edge/alignment tokens become payload.edge/payload.alignment, numeric spacing becomes payload.spacing (chain.c:1693, json_modifier.c:1255). Core decl absent from dumps.
iOS allmacOS all
View.safeAreaPadding(_:)
nonisolated public func safeAreaPadding(_ insets: EdgeInsets) -> some View
Layout-hoisted; literal EdgeInsets/.init args decompose to UILayout.safe_pad_top/right/bottom/left (layout.c:341, layout.c:357) and JSON emits safeAreaPad* fields (json_node.c:428). Core decl absent from dumps.
iOS allmacOS all
View.safeAreaPadding(_:_:)
nonisolated public func safeAreaPadding(_ edges: Edge.Set = .all, _ length: CGFloat? = nil) -> some View
Layout-hoisted; empty/uniform/edge-set forms decompose to UILayout.safe_pad_* fields (layout.c:327, layout.c:369) and JSON emits safeAreaPad* fields (json_node.c:428). Core decl absent from dumps.
iOS allmacOS all
View.safeAreaBar(edge:alignment:spacing:content:) [VerticalEdge]
nonisolated public func safeAreaBar(edge: VerticalEdge, alignment: HorizontalAlignment = .center, spacing: CGFloat? = nil, @ViewBuilder content: () -> some View) -> some View
Dedicated UI_SEMANTIC_SAFE_AREA_BAR; chain.c:516 maps the modifier, chain.c:2288 decomposes vertical edge/alignment/default center plus numeric spacing into UISemantic.safe_area_inset_* fields (uiir.h:788, uiir.h:970), and JSON emits payload.edge/alignment/spacing (json_modifier.c:1450). Content closure remains structurally captured as child UIIR.
iOS iOS 26macOS macOS 26
View.safeAreaBar(edge:alignment:spacing:content:) [HorizontalEdge]
nonisolated public func safeAreaBar(edge: HorizontalEdge, alignment: VerticalAlignment = .center, spacing: CGFloat? = nil, @ViewBuilder content: () -> some View) -> some View
Same dedicated UI_SEMANTIC_SAFE_AREA_BAR capture as vertical form; horizontal edge/alignment tokens become typed payload.edge/payload.alignment, numeric spacing becomes payload.spacing (chain.c:2288, json_modifier.c:1450). Renderer bar layout remains out of scope.
iOS iOS 26macOS macOS 26
View.containerRelativeFrame(_:alignment:)
nonisolated public func containerRelativeFrame(_ axes: Axis.Set, alignment: Alignment = .center) -> some View
Layout-hoisted; enum or array Axis.Set args decompose to UILayout.container_relative_axes, alignment defaults/cases to container_relative_alignment (layout.c:243, layout.c:574); JSON emits typed containerRelative fields (json_node.c:474).
iOS iOS 17macOS macOS 14
View.containerRelativeFrame(_:count:span:spacing:alignment:)
nonisolated public func containerRelativeFrame(_ axes: Axis.Set, count: Int, span: Int = 1, spacing: CGFloat, alignment: Alignment = .center) -> some View
Layout-hoisted; axes/count/span/spacing/alignment decompose to UILayout.container_relative_* fields (layout.c:574, layout.c:622) and JSON emits typed containerRelative payload (json_node.c:474).
iOS iOS 17macOS macOS 14
View.containerRelativeFrame(_:alignment:_:)
nonisolated public func containerRelativeFrame(_ axes: Axis.Set, alignment: Alignment = .center, _ length: @escaping (CGFloat, Axis) -> CGFloat) -> some View
Catalogued, generic UIMod only; length closure not lowered/evaluated.
iOS iOS 17macOS macOS 14
View.coordinateSpace(_:)
nonisolated public func coordinateSpace(_ name: NamedCoordinateSpace) -> some View
Dedicated UI_SEMANTIC_COORDINATE_SPACE; chain.c:762 maps the modifier and chain.c:2857 decomposes .named("..."), .local, and .global into UISemantic.coordinate_space_kind/name (uiir.h:1056), with JSON payload.space/kind/name (json_modifier.c:1550). No coordinate-space resolver/runtime is implied.
iOS iOS 17macOS macOS 14
View.coordinateSpace(name:) (deprecated)
nonisolated public func coordinateSpace<T>(name: T) -> some View where T : Hashable
Deprecated overload now shares UI_SEMANTIC_COORDINATE_SPACE; chain.c:2861 recognizes the name: arg, stores literal/interpolated names as coordinate_space_name (uiir.h:1057), and JSON emits payload.kind=named plus payload.name (json_modifier.c:1550). Dynamic names remain preserved as raw payload.space.
iOS iOS 13 (deprecated 17)macOS macOS 10.15 (deprecated 14)
View.scrollContentBackground(_:)
nonisolated public func scrollContentBackground(_ visibility: Visibility) -> some View
tvOS unavailable. In SW_UI_MODS catalog and lowered to UI_SEMANTIC_SCROLL_CONTENT_BACKGROUND; Visibility arg decomposes to typed payload.visibility (uiir.h:720, uiir.h:753, chain.c:384, chain.c:861, json_modifier.c:1032).
iOS iOS 16macOS macOS 13
View.scrollPosition(_:anchor:)
nonisolated public func scrollPosition(_ position: Binding<ScrollPosition>, anchor: UnitPoint? = nil) -> some View
In catalog and lowered to UI_SEMANTIC_SCROLL_POSITION; unlabeled binding overload decomposes to payload.bindingKind=position, raw payload.binding, and typed/static payload.anchor (chain.c:526, chain.c:2820, uiir.h:1054, json_modifier.c:1527). ScrollPosition value updates are runtime policy.
iOS iOS 18macOS macOS 15
View.scrollPosition(id:anchor:)
nonisolated public func scrollPosition(id: Binding<(some Hashable)?>, anchor: UnitPoint? = nil) -> some View
In catalog and lowered to UI_SEMANTIC_SCROLL_POSITION; id: binding overload decomposes to payload.bindingKind=id, raw payload.binding, and payload.anchor token or null default (chain.c:2824, json_modifier.c:1527). Scroll-to-id execution is renderer-side policy.
iOS iOS 17macOS macOS 14
View.scrollTargetBehavior(_:)
nonisolated public func scrollTargetBehavior(_ behavior: some ScrollTargetBehavior) -> some View
scrollTargetBehavior in catalog and lowered to UI_SEMANTIC_SCROLL_TARGET_BEHAVIOR; .paging, .viewAligned, and .viewAligned(...) decompose to typed payload.behavior (uiir.h:723, uiir.h:764, chain.c:976, json_modifier.c:1080). No snap runtime is implied.
iOS iOS 17macOS macOS 14
View.scrollTargetLayout(isEnabled:)
nonisolated public func scrollTargetLayout(isEnabled: Bool = true) -> some View
scrollTargetLayout in catalog and lowered to UI_SEMANTIC_SCROLL_TARGET_LAYOUT; default/literal bool decomposes to typed payload.isEnabled (uiir.h:722, uiir.h:758, chain.c:388, chain.c:935, json_modifier.c:1070).
iOS iOS 17macOS macOS 14
View.scrollClipDisabled(_:)
nonisolated public func scrollClipDisabled(_ disabled: Bool = true) -> some View
Dedicated UI_SEMANTIC_SCROLL_CLIP_DISABLED; no-arg defaults to payload.disabled=true, literal bool args decompose to typed UISemantic.scroll_clip_disabled (chain.c:818), and JSON emits payload.disabled (json_modifier.c:1025).
iOS iOS 17macOS macOS 14
View.scrollDismissesKeyboard(_:)
nonisolated public func scrollDismissesKeyboard(_ mode: ScrollDismissesKeyboardMode) -> some View
visionOS unavailable. In catalog and lowered to UI_SEMANTIC_SCROLL_DISMISSES_KEYBOARD; mode arg decomposes to typed payload.mode (uiir.h:723, uiir.h:761, chain.c:390, chain.c:953, json_modifier.c:1078).
iOS iOS 16macOS macOS 13
View.defaultScrollAnchor(_:)
nonisolated public func defaultScrollAnchor(_ anchor: UnitPoint?) -> some View
defaultScrollAnchor in catalog and lowered to UI_SEMANTIC_DEFAULT_SCROLL_ANCHOR; UnitPoint preset anchor decomposes to typed payload.anchor (uiir.h:724, uiir.h:763, chain.c:392, chain.c:965, json_modifier.c:1086).
iOS iOS 17macOS macOS 14
View.defaultScrollAnchor(_:for:)
nonisolated public func defaultScrollAnchor(_ anchor: UnitPoint?, for role: ScrollAnchorRole) -> some View
Catalogued under the same modifier name; UnitPoint preset anchor and ScrollAnchorRole decompose to typed payload.anchor/payload.role (uiir.h:724, uiir.h:763, uiir.h:764, chain.c:965, json_modifier.c:1086).
iOS iOS 18macOS macOS 15
View.contentMargins(_:_:for:) [edges,insets]
nonisolated public func contentMargins(_ edges: Edge.Set = .all, _ insets: EdgeInsets, for placement: ContentMarginPlacement = .automatic) -> some View
Layout-hoisted; literal EdgeInsets/.init values are intersected with the edge set into UILayout.content_margin_top/right/bottom/left (layout.c:758, layout.c:779) and placement lowers to a typed enum (layout.c:740).
iOS iOS 17macOS macOS 14
View.contentMargins(_:_:for:) [edges,length]
nonisolated public func contentMargins(_ edges: Edge.Set = .all, _ length: CGFloat?, for placement: ContentMarginPlacement = .automatic) -> some View
Layout-hoisted; edge-set + scalar length decomposes to per-side UILayout.content_margin_* fields (layout.c:749, layout.c:779) and JSON emits contentMargin* plus placement (json_node.c:503).
iOS iOS 17macOS macOS 14
View.contentMargins(_:for:) [length]
nonisolated public func contentMargins(_ length: CGFloat, for placement: ContentMarginPlacement = .automatic) -> some View
Layout-hoisted; scalar length applies to all four UILayout.content_margin_* fields with default/explicit content_margin_placement (layout.c:779, layout.c:789); JSON emits typed fields (json_node.c:503).
iOS iOS 17macOS macOS 14
View.scenePadding(_:)
nonisolated public func scenePadding(_ edges: Edge.Set = .all) -> some View
Layout-hoisted; Edge.Set args/default decompose to UILayout.scene_padding_edges with UIEdgeSet bits and JSON scenePaddingEdges (uiir.h:118, uiir.h:164, layout.c:588, json_node.c:546).
iOS iOS 15macOS macOS 12
View.scenePadding(_:edges:)
nonisolated public func scenePadding(_ padding: ScenePadding, edges: Edge.Set = .all) -> some View
Layout-hoisted; ScenePadding token lowers to UILayout.scene_padding and edges: lowers to scene_padding_edges, serialized as scenePadding/scenePaddingEdges (uiir.h:163, layout.c:602, json_node.c:541).
iOS iOS 16macOS macOS 13
ScrollTargetBehavior (protocol)
public protocol ScrollTargetBehavior
module protocol stub; scrollTargetBehavior args can preserve behavior type/token metadata, but protocol execution is not modeled
iOS iOS 17macOS macOS 14
ScrollTargetBehavior.updateTarget(_:context:)
func updateTarget(_ target: inout ScrollTarget, context: Self.TargetContext)
Explicit updateTarget calls preserve target/context args structurally; scroll target behavior runtime is not executed.
iOS iOS 17macOS macOS 14
PagingScrollTargetBehavior
public struct PagingScrollTargetBehavior : ScrollTargetBehavior { public init() }
module struct stub preserves type metadata; behavior runtime is not executed
iOS iOS 17macOS macOS 14
ScrollTargetBehavior.paging (static)
public static var paging: PagingScrollTargetBehavior { get }
Standalone static accessor is not catalogued, but .scrollTargetBehavior(.paging) now lowers to typed UISemantic.scroll_target_behavior=paging (chain.c:976); no snap runtime.
iOS iOS 17macOS macOS 14
ViewAlignedScrollTargetBehavior
public struct ViewAlignedScrollTargetBehavior : ScrollTargetBehavior { public init(limitBehavior: LimitBehavior = .automatic) }
module struct stub preserves type metadata; scroll target calculation is not executed
iOS iOS 17macOS macOS 14
ViewAlignedScrollTargetBehavior.init(limitBehavior:anchor:)
public init(limitBehavior: ViewAlignedScrollTargetBehavior.LimitBehavior, anchor: UnitPoint?)
constructor call survives structurally via behavior token metadata; anchored target runtime is not modeled
iOS iOS 26macOS macOS 26
ViewAlignedScrollTargetBehavior.LimitBehavior
public struct LimitBehavior { static var automatic/always/never/alwaysByFew/alwaysByOne }
nested module struct stub exists, but prop type metadata currently collapses to the outer type; static member tokens survive structurally
iOS iOS 17macOS macOS 14
ScrollTargetBehavior.viewAligned (static)
public static var viewAligned: ViewAlignedScrollTargetBehavior { get }
Standalone static accessor is not catalogued, but .scrollTargetBehavior(.viewAligned)/.viewAligned(...) now lower to typed UISemantic.scroll_target_behavior=viewAligned (chain.c:976); no snap runtime.
iOS iOS 17macOS macOS 14
AnyScrollTargetBehavior
@frozen public struct AnyScrollTargetBehavior : ScrollTargetBehavior
module struct stub preserves type metadata; type-erased behavior execution is not modeled
iOS iOS 18macOS macOS 15
ScrollDismissesKeyboardMode
public struct ScrollDismissesKeyboardMode : Sendable { static automatic/immediately/interactively/never }
Type still not catalogued standalone, but scrollDismissesKeyboard(_:) args lower to typed UISemantic.scroll_dismisses_keyboard_mode values (automatic, immediately, interactively, never) in chain.c:953; source-level env reads remain inert.
iOS iOS 16macOS macOS 13
ContentMarginPlacement
public struct ContentMarginPlacement { static automatic/scrollContent/scrollIndicators }
Type still not catalogued standalone, but contentMargins(..., for:) args lower to typed UIContentMarginPlacement values (automatic, scrollContent, scrollIndicators) in UILayout.content_margin_placement (uiir.h:118, layout.c:334).
iOS iOS 17macOS macOS 14
ScrollAnchorRole
public struct ScrollAnchorRole : Hashable, Sendable { static initialOffset/sizeChanges/alignment }
Type still not catalogued standalone, but defaultScrollAnchor(_:for:) role args lower to typed UISemantic.default_scroll_anchor_role values (initialOffset, sizeChanges, alignment) in chain.c:971; source-level value use remains inert.
iOS iOS 18macOS macOS 15
ScenePadding
public struct ScenePadding : Equatable, Sendable { public static let minimum: ScenePadding }
Type not catalogued standalone, but .minimum in scenePadding(_:edges:) lowers to UILayout.scene_padding and JSON scenePadding (uiir.h:163, layout.c:602, json_node.c:541).
iOS iOS 16macOS macOS 13
ScrollPosition (value type)
public struct ScrollPosition (used by scrollPosition(_:anchor:) Binding)
module struct stub preserves type metadata; scroll position state/runtime is not modeled
iOS iOS 18macOS macOS 15
NamedCoordinateSpace (value type)
NamedCoordinateSpace (arg to coordinateSpace(_:); CoordinateSpaceProtocol)
Standalone value type is not catalogued, but .coordinateSpace(.named("...")) contextually lowers the factory and literal name into UISemantic.coordinate_space_kind/name (chain.c:2839, json_modifier.c:1550). Geometry lookup/runtime remains absent.
iOS iOS 17macOS macOS 14
CoordinateSpace (enum)
public enum CoordinateSpace { case global/local/named(AnyHashable) }
Standalone enum is not catalogued, but .coordinateSpace(.local/.global/.named("...")) contextually lowers to typed coordinate-space payload fields (chain.c:2857, json_modifier.c:1550). Gesture/GeometryProxy coordinate-space runtime remains absent.
iOS allmacOS all
CoordinateSpaceProtocol
public protocol CoordinateSpaceProtocol (with .local/.global/.named accessors)
module protocol stub; coordinate-space protocol execution/resolution is not modeled
iOS iOS 17macOS macOS 14

12. Visual effect modifiers

34·11·0
View.opacity(_:)
nonisolated public func opacity(_ opacity: Double) -> some View
Dedicated visual/effect metadata. Web renderer honors opacity (and tweens it); Compose lowered to UIVisualEffect but not yet emitted.
iOSmacOS
View.blur(radius:opaque:)
nonisolated public func blur(radius: CGFloat, opaque: Bool = false) -> some View
Dedicated visual/effect kind; radius captured. Web renderer honors blur; Compose-pending. SwiftUICore decl, absent from both dumps.
iOSmacOS
View.shadow(color:radius:x:y:)
nonisolated public func shadow(color: Color = Color(.sRGBLinear, white: 0, opacity: 0.33), radius: CGFloat, x: CGFloat = 0, y: CGFloat = 0) -> some View
Dedicated visual/effect metadata; web honors shadow, Compose-pending. View.shadow SwiftUICore (absent); only MatchedTransition form in dump.
iOSmacOS
View.brightness(_:)
nonisolated public func brightness(_ amount: Double) -> some View
Dedicated semantic-metadata kind (coverage.md line 79); amount captured. Web renderer honors brightness; Compose-pending.
iOSmacOS
View.contrast(_:)
nonisolated public func contrast(_ amount: Double) -> some View
Dedicated semantic-metadata kind; amount captured. Web renderer honors contrast; Compose-pending.
iOSmacOS
View.saturation(_:)
nonisolated public func saturation(_ amount: Double) -> some View
Dedicated semantic-metadata kind; amount captured. Web renderer honors saturation; Compose-pending.
iOSmacOS
View.grayscale(_:)
nonisolated public func grayscale(_ amount: Double) -> some View
Dedicated UI_SEMANTIC_GRAYSCALE; amount float lowered (→CSS filter).
iOSmacOS
View.hueRotation(_:)
nonisolated public func hueRotation(_ angle: Angle) -> some View
Dedicated semantic-metadata kind; Angle captured. Web renderer honors hueRotation; Compose-pending.
iOSmacOS
View.colorInvert()
nonisolated public func colorInvert() -> some View
Dedicated semantic-metadata kind. Web renderer honors colorInvert; Compose-pending.
iOSmacOS
View.colorMultiply(_:)
nonisolated public func colorMultiply(_ color: Color) -> some View
Dedicated UI_SEMANTIC_COLOR_MULTIPLY; color lowered.
iOSmacOS
View.blendMode(_:)
nonisolated public func blendMode(_ blendMode: BlendMode) -> some View
Dedicated UI_SEMANTIC_BLEND_MODE; blendMode enum lowered (→canvas globalCompositeOperation).
iOSmacOS
View.background(_:alignment:)
nonisolated public func background<S>(_ style: S, ignoresSafeAreaEdges edges: Edge.Set = .all) -> some View where S : ShapeStyle
Dedicated visual/effect metadata; web honors background (color tween); Compose emits Modifier.background. Overloads SwiftUICore (absent).
iOSmacOS
View.background(alignment:content:)
nonisolated public func background<V>(alignment: Alignment = .center, @ViewBuilder content: () -> V) -> some View where V : View
Dedicated visual/effect family; content closure becomes child UIIR. Web renders; Compose emits bg. SwiftUICore decl absent from dumps.
iOSmacOS
View.background(ignoresSafeAreaEdges:)
nonisolated public func background(ignoresSafeAreaEdges edges: Edge.Set = .all) -> some View
Default-backgroundStyle background overload; dedicated visual/effect family. Web renders; Compose-pending non-color. SwiftUICore (absent).
iOSmacOS
UIHostingConfiguration.background(content:)
public func background<B>(@ViewBuilder content: () -> B) -> UIHostingConfiguration<Content, B> where B : View
UIKit cell-config helper call preserves background content closure structurally; no dedicated cell configuration runtime.
iOS iOS 16macOS
UIHostingConfiguration.background(_:)
public func background<S>(_ style: S) -> UIHostingConfiguration<Content, _UIHostingConfigurationBackgroundView<S>> where S : ShapeStyle
UIKit cell-config helper call preserves ShapeStyle args structurally; no dedicated cell configuration runtime.
iOS iOS 16macOS
View.overlay(_:alignment:)
nonisolated public func overlay<S>(_ style: S, ignoresSafeAreaEdges edges: Edge.Set = .all) -> some View where S : ShapeStyle
Dedicated visual/effect family; content/style captured. NOT in web Honored list (no-op); Compose-pending. SwiftUICore (absent).
iOSmacOS
View.overlay(alignment:content:)
nonisolated public func overlay<V>(alignment: Alignment = .center, @ViewBuilder content: () -> V) -> some View where V : View
Dedicated visual/effect family; overlay content becomes child UIIR. Web renderer does not yet honor overlay; Compose-pending.
iOSmacOS
View.clipShape(_:style:)
nonisolated public func clipShape<S>(_ shape: S, style: FillStyle = FillStyle()) -> some View where S : Shape
Dedicated visual/effect metadata; web honors clipShape, Compose-pending. SwiftUICore (absent); only MatchedTransition overload in dumps.
iOSmacOS
View.clipped(antialiased:)
nonisolated public func clipped(antialiased: Bool = false) -> some View
Dedicated UI_SEMANTIC_CLIPPED; chain.c:1739 defaults/decomposes antialiased into UISemantic.clipped_antialiased (uiir.h:868) and JSON emits payload.antialiased (json_modifier.c:1286). Renderer behavior remains separate.
iOSmacOS
View.cornerRadius(_:antialiased:)
nonisolated public func cornerRadius(_ radius: CGFloat, antialiased: Bool = true) -> some View
Dedicated visual/effect metadata; radius captured. Web honors cornerRadius; Compose emits clip. Apple-deprecated. SwiftUICore (absent).
iOSmacOS
View.mask(alignment:_:)
nonisolated public func mask<Mask>(alignment: Alignment = .center, @ViewBuilder _ mask: () -> Mask) -> some View where Mask : View
Dedicated visual/effect family; mask content becomes child UIIR. Web honors mask; Compose-pending. SwiftUICore decl absent from dumps.
iOSmacOS
View.border(_:width:)
nonisolated public func border<S>(_ content: S, width: CGFloat = 1) -> some View where S : ShapeStyle
Dedicated visual/effect metadata; style+width captured. Web renderer honors border; Compose-pending. SwiftUICore decl absent from dumps.
iOSmacOS
View.compositingGroup()
nonisolated public func compositingGroup() -> some View
Dedicated UI_SEMANTIC_COMPOSITING_GROUP; zero-arg flag lowered.
iOSmacOS
View.drawingGroup(opaque:colorMode:)
nonisolated public func drawingGroup(opaque: Bool = false, colorMode: ColorRenderingMode = .nonLinear) -> some View
Dedicated semantic-metadata kind; chain.c:1724 decomposes opaque, chain.c:1730 decomposes/defaults colorMode, and json_modifier.c:1390 emits typed payload fields. No GPU offscreen at runtime; renderer-led. SwiftUICore (absent).
iOSmacOS
View.visualEffect(_:)
nonisolated public func visualEffect(_ effect: @escaping (EmptyVisualEffect, GeometryProxy) -> some VisualEffect) -> some View
Dedicated UI_SEMANTIC_VISUAL_EFFECT maps visualEffect (modules/swiftui/compiler/lower/chain.c:791, include/internal/uiir.h:876) and serializes the closure as typed semantic.payload.effect (modules/swiftui/compiler/uiir/names.c:502, modules/swiftui/compiler/uiir/json_modifier.c:2375). GeometryProxy/VisualEffect execution remains renderer/runtime policy.
iOSmacOS
VisualEffect protocol
public protocol VisualEffect : Sendable, Animatable
module protocol stub exists, and visualEffect/scrollTransition closures preserve VisualEffect-returning expressions structurally; protocol execution is not modeled.
iOS allmacOS all
View.backgroundStyle(_:)
nonisolated public func backgroundStyle<S>(_ style: S) -> some View where S : ShapeStyle
Dedicated UI_SEMANTIC_BACKGROUND_STYLE; style arg lowered.
iOSmacOS
View.foregroundColor(_:)
nonisolated public func foregroundColor(_ color: Color?) -> some View
Dedicated style metadata; web honors foregroundColor (color tween), Compose emits color=. Apple-deprecated. SwiftUICore (absent).
iOSmacOS
View.foregroundStyle(_:)
nonisolated public func foregroundStyle<S>(_ style: S) -> some View where S : ShapeStyle
Dedicated style metadata; web honors foregroundStyle, Compose-pending for non-color. SwiftUICore decl; only doc-comment mentions in dumps.
iOSmacOS
View.foregroundStyle(_:_:)
nonisolated public func foregroundStyle<S1, S2>(_ primary: S1, _ secondary: S2) -> some View where S1 : ShapeStyle, S2 : ShapeStyle
Two-style variant; captured as foregroundStyle metadata with primary payload.style plus role/value payload.styles[] levels (json_modifier.c:710, json_modifier.c:748). SwiftUICore decl absent from dumps.
iOSmacOS
View.foregroundStyle(_:_:_:)
nonisolated public func foregroundStyle<S1, S2, S3>(_ primary: S1, _ secondary: S2, _ tertiary: S3) -> some View where S1 : ShapeStyle, S2 : ShapeStyle, S3 : ShapeStyle
Three-style variant; captured as foregroundStyle metadata with primary/secondary/tertiary role/value payload.styles[] levels (json_modifier.c:710, json_modifier.c:748). SwiftUICore decl absent from dumps.
iOSmacOS
View.tint(_:)
nonisolated public func tint<S>(_ tint: S?) -> some View where S : ShapeStyle
Dedicated style metadata; web honors tint, Compose theme/Modifier pending. Only tint param-name in dumps; modifier is SwiftUICore.
iOSmacOS
View.accentColor(_:)
nonisolated public func accentColor(_ accentColor: Color?) -> some View
Dedicated style metadata; web honors accentColor, Compose theme-pending. Apple-deprecated (use tint). SwiftUICore decl, absent from dumps.
iOSmacOS
View.materialActiveAppearance(_:)
nonisolated public func materialActiveAppearance(_ appearance: MaterialActiveAppearance) -> some View
Dedicated UI_SEMANTIC_MATERIAL_ACTIVE_APPEARANCE; appearance enum lowered.
iOSmacOS
BlendMode
public enum BlendMode : Hashable, Sendable
module enum stub preserves standalone BlendMode metadata, and View.blendMode(_:) lowers enum args to typed semantic.payload.blendMode; other contexts remain structural/source-level.
iOSmacOS
BlendMode.normal (+ multiply, screen, overlay, darken, lighten, colorDodge, colorBurn, softLight, hardLight, difference, exclusion, hue, saturation, color, luminosity, sourceAtop, destinationOver, destinationOut, plusDarker, plusLighter)
case normal | multiply | screen | overlay | darken | lighten | colorDodge | colorBurn | softLight | hardLight | difference | exclusion | hue | saturation | color | luminosity | sourceAtop | destinationOver | destinationOut | plusDarker | plusLighter
cases lower contextually through View.blendMode(_:) to typed payload values; standalone enum-case value modeling is not implemented.
iOSmacOS
ColorRenderingMode
public enum ColorRenderingMode : Equatable, Hashable, Sendable
No standalone value-type catalog, but drawingGroup(colorMode:) lowers .nonLinear/.linear/.extendedLinear to UISemantic.drawing_group_color_mode (chain.c:1730) and JSON payload.colorMode; Canvas still captures it structurally.
iOSmacOS
ColorRenderingMode.nonLinear (+ linear, extendedLinear)
case nonLinear | linear | extendedLinear
Contextually lowered for drawingGroup(colorMode:) to a typed payload.colorMode token (json_modifier.c:1401); other contexts remain raw enum/member args.
iOSmacOS
MatchedTransitionSourceConfiguration.shadow(color:radius:x:y:)
public func shadow(color: Color = Color(.sRGBLinear, white: 0, opacity: 0.33), radius: CGFloat, x: CGFloat = 0, y: CGFloat = 0) -> some MatchedTransitionSourceConfiguration
Config builder method call preserves color/radius/offset args structurally; matched-transition source runtime is not executed.
iOS iOS 18macOS macOS 15
MatchedTransitionSourceConfiguration.clipShape(_:)
public func clipShape(_ shape: RoundedRectangle) -> some MatchedTransitionSourceConfiguration
Config builder method call preserves the RoundedRectangle arg structurally; matched-transition source runtime is not executed.
iOS iOS 18macOS macOS 15
MatchedTransitionSourceConfiguration.background(_:)
public func background(_ style: Color) -> some MatchedTransitionSourceConfiguration
Config builder method call preserves Color/style args structurally; matched-transition source runtime is not executed.
iOS iOS 18macOS macOS 15
SurroundingsEffect.colorMultiply(_:)
public static func colorMultiply(_ color: Color) -> SurroundingsEffect
Factory call preserves the Color arg structurally; surroundings/passthrough-tint runtime is not modeled.
iOSmacOS macOS 26
View.scrollTransition(_:axis:transition:)
nonisolated public func scrollTransition(_ configuration: ScrollTransitionConfiguration = .interactive, axis: Axis? = nil, transition: @escaping @Sendable (EmptyVisualEffect, ScrollTransitionPhase) -> some VisualEffect) -> some View
Dedicated UI_SEMANTIC_SCROLL_TRANSITION maps scrollTransition (modules/swiftui/compiler/lower/chain.c:789, include/internal/uiir.h:875), preserving optional configuration, axis, and transition closure under typed payload fields (modules/swiftui/compiler/uiir/names.c:501, modules/swiftui/compiler/uiir/json_modifier.c:2339). Phase-driven VisualEffect execution remains renderer/runtime policy.
iOS iOS 17macOS macOS 14
View.scrollTransition(topLeading:bottomTrailing:axis:transition:)
nonisolated public func scrollTransition(topLeading: ScrollTransitionConfiguration, bottomTrailing: ScrollTransitionConfiguration, axis: Axis? = nil, transition: @escaping @Sendable (EmptyVisualEffect, ScrollTransitionPhase) -> some VisualEffect) -> some View
Same semantic kind decomposes asymmetric payload.topLeading, payload.bottomTrailing, payload.axis, and payload.transition (modules/swiftui/compiler/uiir/json_modifier.c:2341). Per-edge VisualEffect execution remains out of lowering scope.
iOS iOS 17macOS macOS 14

13. Transform / geometry modifiers

12·36·0
View.rotationEffect(_:anchor:)
nonisolated public func rotationEffect(_ angle: Angle, anchor: UnitPoint = .center) -> some View
SwiftUICore decl, not in dumps; catalogued + coverage.md visual-effect family. Web honors+animates; android compose-pending.
iOSmacOS
View.rotationEffect(_:)
nonisolated public func rotationEffect(_ angle: Angle) -> some View
Convenience anchor=.center. SwiftUICore decl absent from dumps. Catalogued + dedicated visual-effect kind; web eases rotation.
iOSmacOS
View.scaleEffect(_:anchor:)
nonisolated public func scaleEffect(_ scale: CGSize, anchor: UnitPoint = .center) -> some View
CGSize (x,y) form. SwiftUICore decl, not in dumps. Catalogued + coverage.md dedicated; web animates scale; android compose-pending.
iOSmacOS
View.scaleEffect(_:anchor:) [scalar]
nonisolated public func scaleEffect(_ s: CGFloat, anchor: UnitPoint = .center) -> some View
Uniform scalar overload. SwiftUICore decl absent from dumps. Lowered as dedicated scaleEffect UIIR; web eases scale via _animValue.
iOSmacOS
View.scaleEffect(x:y:anchor:)
nonisolated public func scaleEffect(x: CGFloat = 1.0, y: CGFloat = 1.0, anchor: UnitPoint = .center) -> some View
Per-axis x/y overload. SwiftUICore decl, not in dumps. scaleEffect catalogued + dedicated semantic; web renders, android compose-pending.
iOSmacOS
View.rotation3DEffect(_:axis:anchor:anchorZ:perspective:)
nonisolated public func rotation3DEffect(_ angle: Angle, axis: (x: CGFloat, y: CGFloat, z: CGFloat), anchor: UnitPoint = .center, anchorZ: CGFloat = 0, perspective: CGFloat = 1) -> some View
Catalogued and lowered to UI_EFFECT_ROTATION_3D; .degrees/.radians angle calls, literal axis tuples, UnitPoint anchors, anchorZ, and perspective decompose into UIVisualEffect typed fields (uiir.h:630, chain.c:818). JSON emits effect.payload.angle/axis/anchor/anchorZ/perspective (json_modifier.c:986). Renderer 3D projection remains separate from capture.
iOSmacOS
View.projectionEffect(_:)
@inlinable nonisolated public func projectionEffect(_ transform: ProjectionTransform) -> some View
Catalogued and lowered to UI_EFFECT_PROJECTION; ProjectionTransform() and ProjectionTransform(CGAffineTransform(...)) identity/affine forms decompose to typed affine matrix fields on UIVisualEffect (uiir.h:632, chain.c:982, chain.c:1034). JSON emits effect.payload.projectionTransform with kind plus a/b/c/d/tx/ty (json_modifier.c:1044). Non-affine CATransform3D projection remains out of capture scope.
iOS iOS 13macOS macOS 10.15
View.transformEffect(_:)
nonisolated public func transformEffect(_ transform: CGAffineTransform) -> some View
Catalogued and lowered to UI_EFFECT_TRANSFORM; .identity, .init(), translationX:y:, scaleX:y:, rotationAngle:, and a:b:c:d:tx:ty: CGAffineTransform forms decompose into typed affine matrix fields on UIVisualEffect (uiir.h:631, chain.c:894). JSON emits effect.payload.transform with kind plus a/b/c/d/tx/ty (json_modifier.c:325, json_modifier.c:1037). Renderer application remains separate from capture.
iOSmacOS
View.geometryGroup()
nonisolated public func geometryGroup() -> some View
SwiftUICore decl (iOS 17), not in dumps. Catalogued and lowered to UI_SEMANTIC_GEOMETRY_GROUP (uiir.h:720, chain.c:384); JSON emits semantic.kind="geometryGroup" with payload.enabled=true (json_modifier.c:1042).
iOSmacOS
View.matchedGeometryEffect(id:in:properties:anchor:isSource:)
nonisolated public func matchedGeometryEffect<ID>(id: ID, in namespace: Namespace.ID, properties: MatchedGeometryProperties = .frame, anchor: UnitPoint = .center, isSource: Bool = true) -> some View where ID : Hashable
SwiftUICore decl absent from dumps. Catalogued + semantic family + Namespace binding; web hero-morph done; android compose-pending.
iOSmacOS
View.transformAnchorPreference(key:value:transform:)
nonisolated public func transformAnchorPreference<A, K>(key _: K.Type = K.self, value: Anchor<A>.Source, transform: @escaping (inout K.Value, Anchor<A>) -> Void) -> some View where K : PreferenceKey
SwiftUICore preference-anchor API, not in dumps. Catalogued as generic UIMod; preference/anchor pipeline not executed.
iOSmacOS
View.transformPreference(_:_:)
nonisolated public func transformPreference<K>(_ key: K.Type = K.self, _ callback: @escaping (inout K.Value) -> Void) -> some View where K : PreferenceKey
SwiftUICore preference API, absent from dumps. Catalogued as generic closure-carrying UIMod; preference resolution not executed.
iOSmacOS
View.transformEnvironment(_:transform:)
nonisolated public func transformEnvironment<V>(_ keyPath: WritableKeyPath<EnvironmentValues, V>, transform: @escaping (inout V) -> Void) -> some View
View form is SwiftUICore (absent); dump has only Scene overload. Catalogued as generic UIMod; environment mutation not executed.
iOSmacOS
Scene.transformEnvironment(_:transform:)
nonisolated public func transformEnvironment<V>(_ keyPath: WritableKeyPath<EnvironmentValues, V>, transform: @escaping (inout V) -> Void) -> some Scene
Scene overload present in iOS dump (line 28224). transformEnvironment name catalogued; Scene graph + EnvironmentValues mutation not lowered.
iOS iOS 13macOS macOS 10.15
View.perspectiveRotationEffect(_:axis:anchor:anchorZ:perspective:)
nonisolated public func perspectiveRotationEffect(_ angle: Angle, axis: (x: CGFloat, y: CGFloat, z: CGFloat), anchor: UnitPoint3D = .center, anchorZ: CGFloat = 0, perspective: CGFloat = 1) -> some View
VisionOS 3D modifier is catalogued as a generic modifier and preserves angle/axis/anchor args structurally; 3D rendering is not implemented.
iOSmacOS
View.transform3DEffect(_:)
nonisolated public func transform3DEffect(_ transform: AffineTransform3D) -> some View
VisionOS 3D affine modifier is catalogued as a generic modifier and preserves transform args structurally; 3D rendering is not implemented.
iOSmacOS
ProjectionTransform
@frozen public struct ProjectionTransform : Equatable
module struct stub preserves projection-transform metadata; matrix math/application remains unmodeled.
iOSmacOS
ProjectionTransform.init()
@inlinable public init()
module struct stub preserves the type and ProjectionTransform() survives as a structured default expression; identity matrix math/runtime is not evaluated.
iOSmacOS
ProjectionTransform.init(_:) [CGAffineTransform]
@inlinable public init(_ m: CGAffineTransform)
Constructor call preserves the CGAffineTransform arg structurally; affine matrix conversion is not evaluated.
iOSmacOS
ProjectionTransform.init(_:) [CATransform3D]
@inlinable public init(_ m: CATransform3D)
Constructor call preserves the CATransform3D arg structurally; 3D matrix conversion is not evaluated.
iOSmacOS
ProjectionTransform.m11 ... m33
public var m11: CGFloat; ... public var m33: CGFloat (9 matrix elements)
matrix member reads survive as structured member expressions on ProjectionTransform; no numeric matrix storage/evaluation is implemented.
iOSmacOS
ProjectionTransform.isIdentity
@inlinable public var isIdentity: Bool { get }
member reads survive as structured expressions on ProjectionTransform; identity evaluation is not performed.
iOSmacOS
ProjectionTransform.isAffine
@inlinable public var isAffine: Bool { get }
member reads survive as structured expressions on ProjectionTransform; affine evaluation is not performed.
iOSmacOS
ProjectionTransform.invert()
@inlinable @discardableResult public mutating func invert() -> Bool
mutating call survives as generic actionIR.call when used in closures; matrix inversion/writeback runtime is not implemented.
iOSmacOS
ProjectionTransform.inverted()
@inlinable public func inverted() -> ProjectionTransform
method call survives as a structured expression; matrix inversion is not evaluated.
iOSmacOS
ProjectionTransform.concatenating(_:)
@inlinable public func concatenating(_ rhs: ProjectionTransform) -> ProjectionTransform
method call and rhs expression survive structurally; matrix composition is not evaluated.
iOSmacOS
MatchedGeometryProperties
@frozen public struct MatchedGeometryProperties : OptionSet
module struct stub preserves matched-geometry option-set metadata; option evaluation remains structural.
iOSmacOS
MatchedGeometryProperties.init(rawValue:)
public init(rawValue: UInt32)
OptionSet raw initializer call preserves the rawValue structurally; bitset operations are not evaluated.
iOSmacOS
MatchedGeometryProperties.position
public static let position: MatchedGeometryProperties
module struct stub preserves the option type and matchedGeometryEffect(properties:) serializes .position as a structured enum payload; OptionSet math remains unmodeled.
iOSmacOS
MatchedGeometryProperties.size
public static let size: MatchedGeometryProperties
module struct stub preserves the option type and matchedGeometryEffect(properties:) can carry size-style option tokens structurally; OptionSet math remains unmodeled.
iOSmacOS
MatchedGeometryProperties.frame
public static let frame: MatchedGeometryProperties
module struct stub preserves the option type and default/explicit frame token is carried structurally in matched-geometry payloads; OptionSet math remains unmodeled.
iOSmacOS
GeometryEffect
public protocol GeometryEffect : Animatable, ViewModifier
module protocol stub preserves type metadata; custom effectValue(size:) execution remains unmodeled.
iOSmacOS
GeometryEffect.effectValue(size:)
func effectValue(size: CGSize) -> ProjectionTransform
Explicit effectValue calls preserve the CGSize arg structurally; GeometryEffect is not executed by a layout engine.
iOSmacOS
View.geometryEffect [via .modifier(GeometryEffect)]
public func ignoredByLayout() -> _IgnoredByLayoutEffect<Self> (on GeometryEffect)
GeometryEffect.ignoredByLayout() helper calls preserve the receiver structurally; helper/runtime layout behavior is not modeled.
iOSmacOS
View.matchedTransitionSource(id:in:)
nonisolated public func matchedTransitionSource(id: some Hashable, in namespace: Namespace.ID) -> some View
Dedicated UI_SEMANTIC_MATCHED_TRANSITION_SOURCE maps the modifier (modules/swiftui/compiler/lower/chain.c:785, include/internal/uiir.h:873) and JSON emits typed payload.id plus payload.namespace (modules/swiftui/compiler/uiir/names.c:499, modules/swiftui/compiler/uiir/json_modifier.c:2319). Zoom-transition runtime remains renderer policy.
iOS iOS 18macOS macOS 15
View.matchedTransitionSource(id:in:configuration:)
nonisolated public func matchedTransitionSource(id: some Hashable, in namespace: Namespace.ID, configuration: (EmptyMatchedTransitionSourceConfiguration) -> some MatchedTransitionSourceConfiguration) -> some View
Same semantic path preserves id/namespace and the trailing configuration closure under typed payload.configuration (modules/swiftui/compiler/uiir/json_modifier.c:2333). The MatchedTransitionSourceConfiguration protocol itself is not executed by lowering.
iOS iOS 18macOS macOS 15
MatchedTransitionSourceConfiguration
public protocol MatchedTransitionSourceConfiguration : Sendable
module protocol stub preserves matched-transition config metadata; config builder methods are not executed.
iOS iOS 18macOS macOS 15
MatchedTransitionSourceConfiguration.shadow(color:radius:x:y:)
public func shadow(color: Color = Color(.sRGBLinear, white: 0, opacity: 0.33), radius: CGFloat, x: CGFloat = 0, y: CGFloat = 0) -> some MatchedTransitionSourceConfiguration
Config builder method call preserves color/radius/offset args structurally; matched-transition source runtime is not executed.
iOS iOS 18macOS macOS 15
MatchedTransitionSourceConfiguration.clipShape(_:)
public func clipShape(_ shape: RoundedRectangle) -> some MatchedTransitionSourceConfiguration
Config builder method call preserves the RoundedRectangle arg structurally; matched-transition source runtime is not executed.
iOS iOS 18macOS macOS 15
MatchedTransitionSourceConfiguration.background(_:)
public func background(_ style: Color) -> some MatchedTransitionSourceConfiguration
Config builder method call preserves the Color/style arg structurally; matched-transition source runtime is not executed.
iOS iOS 18macOS macOS 15
EmptyMatchedTransitionSourceConfiguration
public struct EmptyMatchedTransitionSourceConfiguration : MatchedTransitionSourceConfiguration
module struct stub preserves type metadata, and configured matchedTransitionSource closures keep the configuration expression structurally; config methods/runtime are not executed.
iOS iOS 18macOS macOS 15
NavigationTransition.zoom(sourceID:in:)
public static func zoom(sourceID: some Hashable, in namespace: Namespace.ID) -> ZoomNavigationTransition
Preserved as a structured navigationTransition zoom call payload with sourceID/namespace args; zoom runtime remains renderer policy.
iOS iOS 18macOS
ZoomNavigationTransition
public struct ZoomNavigationTransition : NavigationTransition
Concrete zoom navigation transition resolves as a structured navigationTransition call payload; zoom runtime remains unmodeled.
iOS iOS 18macOS
Angle
@frozen public struct Angle : Equatable, Comparable, Hashable, Sendable
module struct stub preserves angle value metadata; factory/property math remains unmodeled.
iOSmacOS
Angle.degrees(_:) / .radians(_:)
public static func degrees(_ degrees: Double) -> Angle; public static func radians(_ radians: Double) -> Angle
Angle is a module struct stub and angle factories survive as structured member-call payloads in angle-taking modifiers; standalone Angle arithmetic remains unmodeled.
iOSmacOS
UnitPoint
@frozen public struct UnitPoint : Hashable, Sendable
module struct stub preserves unit-point metadata; coordinate/anchor resolution remains contextual.
iOSmacOS
View.onGeometryChange(for:of:action:) [newValue]
@preconcurrency nonisolated public func onGeometryChange<T>(for type: T.Type, of transform: @escaping @Sendable (GeometryProxy) -> T, action: @escaping (_ newValue: T) -> Void) -> some View where T : Equatable, T : Sendable
Catalogued (is_action=0) — NOT is_action; no event payload kind in chain.c; GeometryProxy transform closure captured generically, no GeometryProxy runtime binding.
iOS iOS 16macOS macOS 13
View.onGeometryChange(for:of:action:) [oldValue + newValue]
@preconcurrency nonisolated public func onGeometryChange<T>(for type: T.Type, of transform: @escaping @Sendable (GeometryProxy) -> T, action: @escaping (_ oldValue: T, _ newValue: T) -> Void) -> some View where T : Equatable, T : Sendable
Catalogued (is_action=0) — NOT is_action; no event payload; two-param closure variant captures oldValue/newValue generically; GeometryProxy not bound at lowering.
iOS iOS 18macOS macOS 15

14. State / data-flow wrappers

46·92·0
State
@frozen @propertyWrapper public struct State<Value> : DynamicProperty
SwiftUICore decl, not in dump. coverage.md: @State registered as state storage w/ initExpr; web @State reactivity confirmed.
iOSmacOS
State.init(wrappedValue:)
public init(wrappedValue value: Value)
SwiftUICore decl. initExpr metadata captured per coverage.md; web seeds @State from initExpr (string/array seeding fixes 2026-05-30).
iOSmacOS
State.init(initialValue:)
public init(initialValue value: Value)
SwiftUICore decl. Init value lowered as state-var initializer metadata; runtime invalidation is renderer policy.
iOSmacOS
State.init() (Void)
public init() where Value : ExpressibleByNilLiteral
SwiftUICore decl. @State storage registered; nil-default ctor not a distinct lowered shape, generic state-var capture.
iOSmacOS
State.wrappedValue
public var wrappedValue: Value { get nonmutating set }
SwiftUICore decl. Bare @State var reads resolve in web (Text(stateVar)); mutation lowers via actionIR assignment.
iOSmacOS
State.projectedValue ($)
public var projectedValue: Binding<Value> { get }
SwiftUICore decl. $-projection lowered as binding source (state_ref_idx isBinding+path); controls bind to it (web 2026-05-30).
iOSmacOS
Binding
@frozen @propertyWrapper @dynamicMemberLookup public struct Binding<Value> : DynamicProperty
SwiftUICore decl. coverage.md: @Binding passdown + control-binding metadata modeled; 10 binding source kinds, 6 roles.
iOSmacOS
Binding.wrappedValue
public var wrappedValue: Value { get nonmutating set }
SwiftUICore decl. Reads/writes lower via binding source; controls read value from lowered state_ref_idx not literal $name.
iOSmacOS
Binding.projectedValue ($)
public var projectedValue: Binding<Value> { get }
SwiftUICore decl. Self-projection; binding passdown captured as typed binding metadata down the tree.
iOSmacOS
Binding.init(get:set:)
public init(get: @escaping () -> Value, set: @escaping (Value) -> Void)
SwiftUICore decl. Custom get/set binding has no dedicated lowering; closures survive as expr text, not an executable binding source.
iOSmacOS
Binding.init(get:set:) transaction
public init(get: @escaping () -> Value, set: @escaping (Value, Transaction) -> Void)
SwiftUICore decl. Transaction-aware closure binding not modeled; captured generically, no transaction runtime.
iOSmacOS
Binding.constant(_:)
public static func constant(_ value: Value) -> Binding<Value>
SwiftUICore decl. Recognized as a call expr; no dedicated constant-binding source kind, value not folded into a live binding.
iOSmacOS
Binding.init(projectedValue:)
public init(projectedValue: Binding<Value>)
SwiftUICore decl. Rewrap initializer; generic call capture only, no dedicated semantics.
iOSmacOS
Binding.init(_:) optional-promote
public init<V>(_ base: Binding<V>) where Value == V?
Optional-promotion initializer call preserves the base Binding expression structurally; optional binding transform/runtime is not modeled.
iOSmacOS
Binding.init?(_:) optional-unwrap
public init?(_ base: Binding<Value?>)
Optional-unwrap initializer call preserves the base Binding expression structurally; failable unwrap/runtime behavior is not modeled.
iOSmacOS
Binding subscript(dynamicMember:)
public subscript<Subject>(dynamicMember keyPath: WritableKeyPath<Value, Subject>) -> Binding<Subject> { get }
SwiftUICore decl. $obj.field dynamic-member binding lowers as member/binding path; nested writable keypath semantics renderer-led.
iOSmacOS
Binding.transaction(_:)
public func transaction(_ transaction: Transaction) -> Binding<Value>
Binding transaction call preserves Transaction args structurally; transaction attach/runtime is not modeled.
iOSmacOS
Binding.animation(_:)
public func animation(_ animation: Animation? = .default) -> Binding<Value>
Binding animation call preserves Animation args structurally; implicit animation runtime is not implemented.
iOSmacOS
Binding.id (Identifiable)
public var id: Value.ID { get }
Binding .id member token survives structurally; Identifiable Binding conformance/runtime is not modeled.
iOSmacOS
StateObject
@frozen @propertyWrapper public struct StateObject<ObjectType> : DynamicProperty where ObjectType : ObservableObject
SwiftUICore decl. coverage.md: captured structurally; ownership/lifetime not a SwiftUI runtime, no object invalidation.
iOSmacOS
StateObject.init(wrappedValue:)
public init(wrappedValue thunk: @autoclosure @escaping () -> ObjectType)
SwiftUICore decl. Autoclosure init captured as wrapper/source metadata; lazy single-instantiation semantics not implemented.
iOSmacOS
StateObject.wrappedValue
public var wrappedValue: ObjectType { get }
SwiftUICore decl. Object member reads survive structurally; @Published dependency modeling exists, invalidation is runtime policy.
iOSmacOS
StateObject.projectedValue ($)
public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
SwiftUICore decl. $-projection to per-property bindings captured as binding source; dynamic-member wrapper not fully typed.
iOSmacOS
ObservedObject
@frozen @propertyWrapper public struct ObservedObject<ObjectType> : DynamicProperty where ObjectType : ObservableObject
SwiftUICore decl. coverage.md: captured as wrapper/source metadata; object invalidation is runtime policy.
iOSmacOS
ObservedObject.init(wrappedValue:)
public init(wrappedValue: ObjectType)
SwiftUICore decl. Wrapper source captured; no observation subscription executed.
iOSmacOS
ObservedObject.init(initialValue:)
public init(initialValue: ObjectType)
SwiftUICore decl. Captured structurally; equivalent to wrappedValue init, no distinct lowering.
iOSmacOS
ObservedObject.wrappedValue
public var wrappedValue: ObjectType { get }
SwiftUICore decl. Member access survives; @Published fields recognized for dependency modeling only.
iOSmacOS
ObservedObject.projectedValue ($)
public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
SwiftUICore decl. $obj.field bindings captured as binding source; Wrapper subscript semantics renderer-led.
iOSmacOS
ObservedObject.Wrapper.subscript(dynamicMember:)
public subscript<Subject>(dynamicMember keyPath: ReferenceWritableKeyPath<ObjectType, Subject>) -> Binding<Subject> { get }
SwiftUICore decl. Per-property binding projection captured as member binding path; not a typed wrapper kind.
iOSmacOS
EnvironmentObject
@frozen @propertyWrapper public struct EnvironmentObject<ObjectType> : DynamicProperty where ObjectType : ObservableObject
SwiftUICore decl. coverage.md: captured structurally; environment lookup/invalidation is runtime policy, no resolver.
iOSmacOS
EnvironmentObject.init()
public init()
SwiftUICore decl. Wrapper registered; the object is injected by .environmentObject upstream (stored, inert per web matrix).
iOSmacOS
EnvironmentObject.wrappedValue
public var wrappedValue: ObjectType { get }
SwiftUICore decl. Member reads survive structurally; no environment resolution at draw, crashes-if-missing semantics absent.
iOSmacOS
EnvironmentObject.projectedValue ($)
public var projectedValue: EnvironmentObject<ObjectType>.Wrapper { get }
SwiftUICore decl. $-projection to bindings captured as binding source; Wrapper subscript not a typed kind.
iOSmacOS
EnvironmentObject.Wrapper.subscript(dynamicMember:)
public subscript<Subject>(dynamicMember keyPath: ReferenceWritableKeyPath<ObjectType, Subject>) -> Binding<Subject> { get }
SwiftUICore decl. Per-property binding projection captured as member path; no environment runtime.
iOSmacOS
Environment
@frozen @propertyWrapper public struct Environment<Value> : DynamicProperty
SwiftUICore decl. coverage.md: @Environment captured structurally, no platform environment resolver; web reads only \\.colorScheme.
iOSmacOS
Environment.init(_:) keyPath
public init(_ keyPath: KeyPath<EnvironmentValues, Value>)
SwiftUICore decl. KeyPath captured; only \\.colorScheme is honored at draw (web 2026-05-31), other keys stored inert.
iOSmacOS
Environment.init(_:) Observable
public init(_ objectType: Value.Type) where Value : AnyObject, Value : Observable
SwiftUICore decl. @Observable-object env read captured structurally; no env resolver, observation not executed.
iOSmacOS
Environment.wrappedValue
public var wrappedValue: Value { get }
SwiftUICore decl. Value read survives; only colorScheme resolves, rest inert. No projectedValue on Environment.
iOSmacOS
Bindable
@dynamicMemberLookup @propertyWrapper public struct Bindable<Value>
SwiftUICore decl. coverage.md: @Bindable fully parsed/lowered/modeled as property-wrapper/binding source for @Observable objects.
iOSmacOS
Bindable.init(wrappedValue:)
public init(wrappedValue: Value) where Value : AnyObject, Value : Observable
SwiftUICore decl. Lowered as a binding source; @Observable registered as stub kind for correct macro/type parsing.
iOSmacOS
Bindable.init(_:)
public init(_ wrappedValue: Value) where Value : AnyObject, Value : Observable
SwiftUICore decl. Positional init lowered same as wrappedValue init into binding-source metadata.
iOSmacOS
Bindable.wrappedValue
public var wrappedValue: Value { get nonmutating set }
SwiftUICore decl. Object member reads resolve; backing @Observable object lowered as wrapper source.
iOSmacOS
Bindable.projectedValue ($)
public var projectedValue: Bindable<Value> { get }
SwiftUICore decl. $-projection lowered; controls bind to $obj.field via the binding source path.
iOSmacOS
Bindable.subscript(dynamicMember:)
public subscript<Subject>(dynamicMember keyPath: ReferenceWritableKeyPath<Value, Subject>) -> Binding<Subject> { get }
SwiftUICore decl. $obj.field dynamic-member binding lowered into a typed binding source path referencing the @Bindable wrapper.
iOSmacOS
@Observable macro
@attached(member,...) @attached(memberAttribute) @attached(extension, conformances: Observable) public macro Observable()
Observation module, not in dump. coverage.md: registered as a stable stub kind for macro/type parsing; no observation runtime.
iOSmacOS
Observable protocol
public protocol Observable
Observation module, not in dump. Referenced by Environment/Bindable/focusedValue constraints; registered as a catalog stub view kind.
iOSmacOS
ObservableObject
public protocol ObservableObject : AnyObject
Combine module, not in dump. coverage.md: recognized for dependency/source modeling; objectWillChange publisher not executed.
iOSmacOS
ObservableObject.objectWillChange
var objectWillChange: Self.ObjectWillChangePublisher { get }
objectWillChange member token survives structurally; Combine publisher invalidation runtime is not modeled.
iOSmacOS
Published
@propertyWrapper public struct Published<Value>
Combine module, not in dump. coverage.md: @Published recognized for dependency/source modeling; publisher pipeline not executed.
iOSmacOS
Published.init(wrappedValue:) / init(initialValue:)
public init(wrappedValue: Value); public init(initialValue: Value)
Combine module, not in dump. Init captured as field metadata feeding dependency modeling; no Combine subscription.
iOSmacOS
Published.projectedValue ($)
public var projectedValue: Published<Value>.Publisher { mutating get }
Published projectedValue member token survives structurally; publisher object/runtime is not modeled in UIIR.
iOSmacOS
DynamicProperty
public protocol DynamicProperty
SwiftUICore decl, not in dump. Conformed by every wrapper here; recognized via wrapper attribute handling, not as an executed protocol.
iOSmacOS
DynamicProperty.update()
mutating func update()
Explicit update() calls preserve the receiver structurally; SwiftUI's per-frame DynamicProperty update phase is not modeled.
iOSmacOS
AppStorage
@frozen @propertyWrapper public struct AppStorage<Value> : DynamicProperty
coverage.md: @AppStorage fully parsed, lowered, modeled as property-wrapper/binding source. Web matrix lists it partial at renderer level.
iOS allmacOS all
AppStorage.wrappedValue
public var wrappedValue: Value { get nonmutating set }
Wrapper lowered; UserDefaults persistence not implemented, value is in-memory only in the renderer.
iOS allmacOS all
AppStorage.projectedValue ($)
public var projectedValue: Binding<Value> { get }
$-projection lowered as a binding source like @State; controls can two-way bind.
iOS allmacOS all
AppStorage.init(wrappedValue:_:store:) Bool/Int/Double/String/URL/Data
public init(wrappedValue: Value, _ key: String, store: UserDefaults? = nil) where Value == Bool
Per-type key inits parsed/lowered with key+default into wrapper metadata; UserDefaults store arg captured, not persisted.
iOS allmacOS all
AppStorage.init(_:store:) optional / RawRepresentable
public init(_ key: String, store: UserDefaults? = nil) where Value : ExpressibleByNilLiteral
Optional/RawRepresentable variants captured generically as wrapper init; no per-type persistence semantics.
iOS allmacOS all
AppStorage.init(wrappedValue:_:store:) TableColumnCustomization
public init<RowValue>(wrappedValue: Value = ..., _ key: String, store: UserDefaults? = nil) where Value == TableColumnCustomization<RowValue>, RowValue : Identifiable
Table column state init captured as generic wrapper init; Table runtime not implemented.
iOS iOS 17macOS macOS 14
SceneStorage
@frozen @propertyWrapper public struct SceneStorage<Value> : DynamicProperty
coverage.md: @SceneStorage fully parsed, lowered, modeled as property-wrapper/binding source.
iOS allmacOS all
SceneStorage.wrappedValue
public var wrappedValue: Value { get nonmutating set }
Wrapper lowered; per-scene state restoration runtime not implemented, in-memory only.
iOS allmacOS all
SceneStorage.projectedValue ($)
public var projectedValue: Binding<Value> { get }
$-projection lowered as a binding source identical to @State semantics in UIIR.
iOS allmacOS all
SceneStorage.init(wrappedValue:_:) Bool/Int/Double/String/URL/Data
public init(wrappedValue: Value, _ key: String) where Value == Bool
Per-type key inits parsed/lowered with key+default; no scene restoration backing.
iOS allmacOS all
SceneStorage.init(_:) optional / RawRepresentable
public init(_ key: String) where Value : ExpressibleByNilLiteral
Optional/RawRepresentable variants captured generically as wrapper init.
iOS allmacOS all
SceneStorage.init(wrappedValue:_:) TableColumnCustomization
public init<RowValue>(wrappedValue: Value = ..., _ key: String) where Value == TableColumnCustomization<RowValue>, RowValue : Identifiable
Table column state init captured generically; Table runtime not implemented.
iOS iOS 17macOS macOS 14
FocusState
@frozen @propertyWrapper public struct FocusState<Value> : DynamicProperty where Value : Hashable
coverage.md: @FocusState fully parsed and lowered as a property wrapper/binding source.
iOS iOS 15macOS macOS 12
FocusState.wrappedValue
public var wrappedValue: Value { get nonmutating set }
Wrapper lowered; focus location runtime not implemented, value is inert in the renderer.
iOS iOS 15macOS macOS 12
FocusState.projectedValue ($)
public var projectedValue: FocusState<Value>.Binding { get }
$-projection lowered as binding source; consumed by .focused(_:equals:) metadata.
iOS iOS 15macOS macOS 12
FocusState.init() Bool
public init() where Value == Bool
Bool focus-state ctor parsed/lowered as wrapper init.
iOS iOS 15macOS macOS 12
FocusState.init() optional
public init<T>() where Value == T?, T : Hashable
Optional-Hashable focus-state ctor parsed/lowered as wrapper init.
iOS iOS 15macOS macOS 12
FocusState.Binding
@frozen @propertyWrapper public struct FocusState<Value>.Binding
Nested binding type lowered as a binding source for .focused; recognizer/focus runtime absent.
iOS iOS 15macOS macOS 12
FocusState.Binding.wrappedValue
public var wrappedValue: Value { get nonmutating set }
Nested binding value captured structurally; inert, no focus runtime.
iOS iOS 15macOS macOS 12
FocusState.Binding.projectedValue
public var projectedValue: FocusState<Value>.Binding { get }
Nested binding self-projection captured structurally.
iOS iOS 15macOS macOS 12
AccessibilityFocusState
@propertyWrapper @frozen public struct AccessibilityFocusState<Value> : DynamicProperty where Value : Hashable
coverage.md: @AccessibilityFocusState fully parsed, lowered, modeled as property wrapper/binding source.
iOS iOS 15macOS macOS 12
AccessibilityFocusState.wrappedValue
public var wrappedValue: Value { get nonmutating set }
Wrapper lowered; no platform accessibility focus runtime, value inert.
iOS iOS 15macOS macOS 12
AccessibilityFocusState.projectedValue ($)
public var projectedValue: AccessibilityFocusState<Value>.Binding { get }
$-projection lowered as binding source for .accessibilityFocused metadata.
iOS iOS 15macOS macOS 12
AccessibilityFocusState.init() Bool
public init() where Value == Bool
Bool a11y-focus ctor parsed/lowered as wrapper init.
iOS iOS 15macOS macOS 12
AccessibilityFocusState.init(for:) Bool
public init(for technologies: AccessibilityTechnologies) where Value == Bool
technologies arg captured generically in wrapper init; AccessibilityTechnologies value type not modeled.
iOS iOS 15macOS macOS 12
AccessibilityFocusState.init() optional
public init<T>() where Value == T?, T : Hashable
Optional-Hashable a11y-focus ctor parsed/lowered as wrapper init.
iOS iOS 15macOS macOS 12
AccessibilityFocusState.init(for:) optional
public init<T>(for technologies: AccessibilityTechnologies) where Value == T?, T : Hashable
Optional + technologies init captured generically; technologies value not modeled.
iOS iOS 15macOS macOS 12
AccessibilityFocusState.Binding
@propertyWrapper @frozen public struct AccessibilityFocusState<Value>.Binding
Nested binding type lowered as binding source; a11y focus runtime absent.
iOS iOS 15macOS macOS 12
AccessibilityFocusState.Binding.wrappedValue
public var wrappedValue: Value { get nonmutating set }
Nested binding value captured structurally, inert.
iOS iOS 15macOS macOS 12
AccessibilityFocusState.Binding.projectedValue
public var projectedValue: AccessibilityFocusState<Value>.Binding { get }
Nested binding self-projection captured structurally.
iOS iOS 15macOS macOS 12
FocusedBinding
@propertyWrapper public struct FocusedBinding<Value> : DynamicProperty
coverage.md: registered as a stable stub kind (FocusedBinding catalog view); keyPath-into-FocusedValues runtime not implemented.
iOS iOS 14macOS macOS 11
FocusedBinding.init(_:)
public init(_ keyPath: KeyPath<FocusedValues, Binding<Value>?>)
KeyPath ctor captured generically via the stub kind; no focused-value resolution.
iOS iOS 14macOS macOS 11
FocusedBinding.wrappedValue
@inlinable public var wrappedValue: Value? { get nonmutating set }
Captured via stub; unwrapped focused binding value not resolved at draw.
iOS iOS 14macOS macOS 11
FocusedBinding.projectedValue ($)
public var projectedValue: Binding<Value?> { get }
$-projection captured via stub; no live binding to a focused publisher.
iOS iOS 14macOS macOS 11
FocusedObject
@MainActor @frozen @propertyWrapper @preconcurrency public struct FocusedObject<ObjectType> : DynamicProperty where ObjectType : ObservableObject
coverage.md: registered as a stable stub kind (FocusedObject catalog view); focus/observation runtime not implemented.
iOS iOS 16macOS macOS 13
FocusedObject.init()
@MainActor @preconcurrency public init()
Empty ctor captured via stub; object is resolved from focus at runtime, not modeled.
iOS iOS 16macOS macOS 13
FocusedObject.wrappedValue
@MainActor @inlinable @preconcurrency public var wrappedValue: ObjectType? { get }
Captured via stub; optional focused object not resolved at draw.
iOS iOS 16macOS macOS 13
FocusedObject.projectedValue ($)
@MainActor @preconcurrency public var projectedValue: FocusedObject<ObjectType>.Wrapper? { get }
$-projection captured via stub; Wrapper subscript bindings not modeled.
iOS iOS 16macOS macOS 13
FocusedObject.Wrapper.subscript(dynamicMember:)
@MainActor @preconcurrency public subscript<T>(dynamicMember keyPath: ReferenceWritableKeyPath<ObjectType, T>) -> Binding<T> { get }
Per-property binding projection captured generically; no focused-object runtime.
iOS iOS 16macOS macOS 13
FocusedValue
@propertyWrapper public struct FocusedValue<Value> : DynamicProperty
Not a dedicated catalog kind; captured generically via wrapper attribute handling. No focused-value resolution at draw.
iOS iOS 14macOS macOS 11
FocusedValue.init(_:) keyPath
public init(_ keyPath: KeyPath<FocusedValues, Value?>)
KeyPath ctor captured generically; FocusedValues lookup not implemented.
iOS iOS 14macOS macOS 11
FocusedValue.init(_:) Observable
public init(_ objectType: Value.Type) where Value : AnyObject, Value : Observable
@Observable-object focused-value ctor captured generically; no observation/focus runtime.
iOS iOS 17macOS macOS 14
FocusedValue.wrappedValue
@inlinable public var wrappedValue: Value? { get }
Captured generically; optional focused value not resolved at draw.
iOS iOS 14macOS macOS 11
FocusedValueKey
public protocol FocusedValueKey { associatedtype Value }
coverage.md: registered as a stable stub kind (FocusedValueKey catalog view); not executed as a protocol/key resolver.
iOS iOS 14macOS macOS 11
FocusedValues
public struct FocusedValues
coverage.md: registered as a stable stub kind (FocusedValues catalog view); no focused-value store at runtime.
iOS iOS 14macOS macOS 11
FocusedValues.subscript(key:)
public subscript<Key>(key: Key.Type) -> Key.Value? where Key : FocusedValueKey { get set }
Subscript captured via stub; key-typed get/set not executed.
iOS iOS 14macOS macOS 11
GestureState
@propertyWrapper @frozen public struct GestureState<Value> : DynamicProperty
coverage.md: @GestureState fully parsed, lowered, modeled as property wrapper/binding source. Gesture recognizer runtime absent.
iOS allmacOS all
GestureState.init(wrappedValue:)
public init(wrappedValue: Value)
Wrapped-value ctor parsed/lowered as wrapper init metadata.
iOS allmacOS all
GestureState.init(initialValue:)
public init(initialValue: Value)
Initial-value ctor parsed/lowered; equivalent capture to wrappedValue init.
iOS allmacOS all
GestureState.init(wrappedValue:resetTransaction:)
public init(wrappedValue: Value, resetTransaction: Transaction)
resetTransaction arg captured generically; Transaction value/runtime not modeled.
iOS allmacOS all
GestureState.init(initialValue:resetTransaction:)
public init(initialValue: Value, resetTransaction: Transaction)
resetTransaction arg captured generically; Transaction not modeled.
iOS allmacOS all
GestureState.init(wrappedValue:reset:)
public init(wrappedValue: Value, reset: @escaping (Value, inout Transaction) -> Void)
reset closure captured as expr text; not executed, no Transaction runtime.
iOS allmacOS all
GestureState.init(initialValue:reset:)
public init(initialValue: Value, reset: @escaping (Value, inout Transaction) -> Void)
reset closure captured as expr text; not executed.
iOS allmacOS all
GestureState.init(resetTransaction:) nil-literal
public init(resetTransaction: Transaction = Transaction()) where Value : ExpressibleByNilLiteral
Default-transaction ctor captured generically; Transaction not modeled.
iOS allmacOS all
GestureState.init(reset:) nil-literal
public init(reset: @escaping (Value, inout Transaction) -> Void) where Value : ExpressibleByNilLiteral
reset closure captured as expr text; not executed.
iOS allmacOS all
GestureState.wrappedValue
public var wrappedValue: Value { get }
Captured; transient gesture value not driven, no recognizer runtime updates it.
iOS allmacOS all
GestureState.projectedValue
public var projectedValue: GestureState<Value> { get }
Self-projection captured; consumed by .updating(_:body:) which has no executing recognizer.
iOS allmacOS all
UIApplicationDelegateAdaptor
@MainActor @preconcurrency @propertyWrapper public struct UIApplicationDelegateAdaptor<DelegateType> : DynamicProperty where DelegateType : NSObject, DelegateType : UIApplicationDelegate
iOS-only. coverage.md: fully parsed, lowered, modeled as a property wrapper/binding source; no UIKit delegate runtime.
iOS iOS 14macOS
UIApplicationDelegateAdaptor.wrappedValue
@MainActor @preconcurrency public var wrappedValue: DelegateType { get }
iOS-only. Wrapper lowered; delegate object not instantiated, no app lifecycle callbacks.
iOS iOS 14macOS
UIApplicationDelegateAdaptor.init(_:)
@MainActor @preconcurrency public init(_ delegateType: DelegateType.Type = DelegateType.self)
iOS-only. Delegate-type ctor parsed/lowered into wrapper metadata.
iOS iOS 14macOS
UIApplicationDelegateAdaptor.projectedValue (ObservableObject)
public var projectedValue: ObservedObject<DelegateType>.Wrapper { get }
iOS-only. $-projection when delegate is ObservableObject captured generically; no observation runtime.
iOS iOS 14macOS
NSApplicationDelegateAdaptor
@MainActor @preconcurrency @propertyWrapper public struct NSApplicationDelegateAdaptor<DelegateType> : DynamicProperty where DelegateType : NSObject, DelegateType : NSApplicationDelegate
macOS-only. Not a named catalog kind; captured generically via wrapper-attribute handling. No AppKit delegate runtime.
iOSmacOS macOS 11
NSApplicationDelegateAdaptor.wrappedValue
@MainActor @preconcurrency public var wrappedValue: DelegateType { get }
macOS-only. Captured generically; delegate not instantiated.
iOSmacOS macOS 11
NSApplicationDelegateAdaptor.init(_:)
@MainActor @preconcurrency public init(_ delegateType: DelegateType.Type = DelegateType.self)
macOS-only. Ctor captured generically as a wrapper init.
iOSmacOS macOS 11
View.environment(_:_:)
nonisolated public func environment<V>(_ keyPath: WritableKeyPath<EnvironmentValues, V>, _ value: V) -> some View
View decl in SwiftUICore; catalog modifier environment (semantic). Web honors \\.colorScheme; other keys stored inert (2026-05-31).
iOS allmacOS all
View.environment(_:) Observable
nonisolated public func environment<T>(_ object: T?) -> some View where T : AnyObject, T : Observable
Catalog modifier environment; @Observable-object injection captured generically, stored inert, no env resolver.
iOS iOS 17macOS macOS 14
View.environmentObject(_:)
nonisolated public func environmentObject<T>(_ object: T) -> some View where T : ObservableObject
Catalog modifier environmentObject (semantic). Object stored as metadata; lookup/invalidation is runtime policy (inert per web matrix).
iOS allmacOS all
View.transformEnvironment(_:transform:)
nonisolated public func transformEnvironment<V>(_ keyPath: WritableKeyPath<EnvironmentValues, V>, transform: @escaping (inout V) -> Void) -> some View
Catalog modifier transformEnvironment; generic UIMod, transform closure survives as text, not executed.
iOS allmacOS all
Scene.environment(_:_:)
nonisolated public func environment<V>(_ keyPath: WritableKeyPath<EnvironmentValues, V>, _ value: V) -> some Scene
Scene-level env modifier in dump. Captured generically; scene env runtime not implemented.
iOS allmacOS all
Scene.environmentObject(_:)
nonisolated public func environmentObject<T>(_ object: T) -> some Scene where T : ObservableObject
Scene-level env-object modifier. Object captured generically; no scene env runtime.
iOS allmacOS all
Scene.transformEnvironment(_:transform:)
nonisolated public func transformEnvironment<V>(_ keyPath: WritableKeyPath<EnvironmentValues, V>, transform: @escaping (inout V) -> Void) -> some Scene
Scene-level transform. Generic capture, transform closure survives as text.
iOS allmacOS all
Scene.defaultAppStorage(_:)
nonisolated public func defaultAppStorage(_ store: UserDefaults) -> some Scene
Dedicated UI_SEMANTIC_DEFAULT_APP_STORAGE; lowering maps defaultAppStorage in modules/swiftui/compiler/lower/chain.c:619, and JSON emits semantic.payload.store (modules/swiftui/compiler/uiir/json_modifier.c:1735). UserDefaults persistence remains runtime policy.
iOS allmacOS all
View.defaultAppStorage(_:)
nonisolated public func defaultAppStorage(_ store: UserDefaults) -> some View
Same UI_SEMANTIC_DEFAULT_APP_STORAGE metadata; store arg is captured as semantic.payload.store (modules/swiftui/compiler/uiir/json_modifier.c:1735).
iOS allmacOS all
View.focused(_:equals:)
nonisolated public func focused<Value>(_ binding: FocusState<Value>.Binding, equals value: Value) -> some View where Value : Hashable
Dedicated UI_SEMANTIC_FOCUSED; lowering maps focused in modules/swiftui/compiler/lower/chain.c:623, and JSON emits semantic.payload.binding plus equals (modules/swiftui/compiler/uiir/json_modifier.c:1749). Focus runtime remains platform policy.
iOS iOS 15macOS macOS 12
View.focused(_:)
nonisolated public func focused(_ condition: FocusState<Bool>.Binding) -> some View
Same UI_SEMANTIC_FOCUSED metadata; bool-binding form emits semantic.payload.binding without equals (modules/swiftui/compiler/uiir/json_modifier.c:1749).
iOS iOS 15macOS macOS 12
View.focusedValue(_:_:) keyPath
nonisolated public func focusedValue<Value>(_ keyPath: WritableKeyPath<FocusedValues, Value?>, _ value: Value) -> some View
Dedicated UI_SEMANTIC_FOCUSED_VALUE; lowering maps focusedValue in modules/swiftui/compiler/lower/chain.c:635, and JSON emits semantic.payload.keyPath plus value (modules/swiftui/compiler/uiir/json_modifier.c:1786). Focused-value runtime remains platform policy.
iOS iOS 14macOS macOS 11
View.focusedValue(_:) Observable
nonisolated public func focusedValue<T>(_ object: T?) -> some View where T : AnyObject, T : Observable
Same UI_SEMANTIC_FOCUSED_VALUE metadata; one-arg object overload emits semantic.payload.object (modules/swiftui/compiler/uiir/json_modifier.c:1786).
iOS iOS 17macOS macOS 14
View.focusedSceneValue(_:_:) keyPath
nonisolated public func focusedSceneValue<T>(_ keyPath: WritableKeyPath<FocusedValues, T?>, _ value: T) -> some View
Dedicated UI_SEMANTIC_FOCUSED_SCENE_VALUE; lowering maps focusedSceneValue in modules/swiftui/compiler/lower/chain.c:637, and JSON emits semantic.payload.keyPath plus value (modules/swiftui/compiler/uiir/json_modifier.c:1786).
iOS iOS 14macOS macOS 11
View.focusedSceneValue(_:) Observable
nonisolated public func focusedSceneValue<T>(_ object: T?) -> some View where T : AnyObject, T : Observable
Same UI_SEMANTIC_FOCUSED_SCENE_VALUE metadata; object overload emits semantic.payload.object (modules/swiftui/compiler/uiir/json_modifier.c:1786).
iOS iOS 17macOS macOS 14
View.focusedObject(_:)
@inlinable nonisolated public func focusedObject<T>(_ object: T) -> some View where T : ObservableObject
Dedicated UI_SEMANTIC_FOCUSED_OBJECT; lowering maps focusedObject in modules/swiftui/compiler/lower/chain.c:639, and JSON emits semantic.payload.object (modules/swiftui/compiler/uiir/json_modifier.c:1797). Focused-object runtime remains platform policy.
iOS iOS 14macOS macOS 11
View.focusedObject(_:) optional
@inlinable nonisolated public func focusedObject<T>(_ object: T?) -> some View where T : ObservableObject
Same UI_SEMANTIC_FOCUSED_OBJECT metadata; optional object arg is captured as semantic.payload.object (modules/swiftui/compiler/uiir/json_modifier.c:1797).
iOS iOS 14macOS macOS 11
View.focusedSceneObject(_:)
@inlinable nonisolated public func focusedSceneObject<T>(_ object: T) -> some View where T : ObservableObject
Dedicated UI_SEMANTIC_FOCUSED_SCENE_OBJECT; lowering maps focusedSceneObject in modules/swiftui/compiler/lower/chain.c:641, and JSON emits semantic.payload.object (modules/swiftui/compiler/uiir/json_modifier.c:1797).
iOS iOS 14macOS macOS 11
View.focusedSceneObject(_:) optional
@inlinable nonisolated public func focusedSceneObject<T>(_ object: T?) -> some View where T : ObservableObject
Same UI_SEMANTIC_FOCUSED_SCENE_OBJECT metadata; optional object arg is captured as semantic.payload.object (modules/swiftui/compiler/uiir/json_modifier.c:1797).
iOS iOS 14macOS macOS 11
SubscriptionView
@frozen public struct SubscriptionView<PublisherType, Content> : View where PublisherType : Publisher, Content : View, PublisherType.Failure == Never
Catalogued (swiftui_stubs.h:132); Publisher subscription wrapper. Content/publisher/action properties captured structurally; Publisher subscription runtime not modeled, action never invoked at lowering.
iOS iOS 13macOS macOS 10.15
SubscriptionView.init(content:publisher:action:)
@inlinable public init(content: Content, publisher: PublisherType, action: @escaping (PublisherType.Output) -> Void)
Content/publisher/action args captured; Combine Publisher subscription never driven; action closure survives as source text only.
iOS iOS 13macOS macOS 10.15

15. Environment / preferences

10·136·0
Environment (property wrapper)
@frozen @propertyWrapper public struct Environment<Value> : DynamicProperty
@Environment wrapper captured structurally (coverage.md); no platform environment resolver. Base decl absent from dump (SwiftUICore).
iOSmacOS
Environment.init(_ keyPath:)
public init(_ keyPath: KeyPath<EnvironmentValues, Value>)
keyPath init recognized when wrapper applied; structural capture only. Decl in SwiftUICore, absent here.
iOSmacOS
Environment.init(_ objectType:) (Observable)
public init(_ objectType: Value.Type) where Value : AnyObject, Value : Observable
@Observable object @Environment captured structurally; invalidation is runtime policy. Decl absent from dump.
iOSmacOS
Environment.wrappedValue
@inlinable public var wrappedValue: Value { get }
Wrapper value modeled as binding/state source metadata; no live resolution. Decl absent from dump.
iOSmacOS
EnvironmentValues
public struct EnvironmentValues : CustomStringConvertible
Treated implicitly as modifier-arg keyPath value type (web matrix); no real value store. Base struct absent from dump (SwiftUICore).
iOSmacOS
EnvironmentValues.subscript(EnvironmentKey)
public subscript<K>(key: K.Type) -> K.Value where K : EnvironmentKey
Key-type subscript survives structurally on EnvironmentValues expressions; no live environment resolver/runtime lookup.
iOSmacOS
EnvironmentValues.subscript(WritableKeyPath)
public subscript<V>(keyPath: WritableKeyPath<EnvironmentValues, V>) -> V
WritableKeyPath subscript survives structurally on EnvironmentValues expressions; no live environment resolver/runtime lookup.
iOSmacOS
EnvironmentKey
public protocol EnvironmentKey
module protocol stub preserves key type metadata; defaultValue lookup/subscript runtime is not executed.
iOSmacOS
EnvironmentKey.defaultValue
static var defaultValue: Self.Value { get }
Static defaultValue member references survive structurally; default environment injection is not executed.
iOSmacOS
EnvironmentKey.Value
associatedtype Value
Explicit associated type references such as MyKey.Value.self survive structurally; environment value runtime remains separate.
iOSmacOS
View.environment(_:_:)
func environment<V>(_ keyPath: WritableKeyPath<EnvironmentValues, V>, _ value: V) -> some View
Dedicated semantic UIMod. web: environment(.colorScheme) flips subtree dark/light; other keys stored inert. View decl in SwiftUICore.
iOSmacOS
Scene.environment(_:_:)
nonisolated func environment<V>(_ keyPath: WritableKeyPath<EnvironmentValues, V>, _ value: V) -> some Scene
Same dedicated environment semantic family applied on Scene; keyPath+value captured.
iOS iOS 14macOS macOS 11
View.environment(_:) (Observable object)
func environment<T>(_ object: T?) -> some View where T : AnyObject, T : Observable
environment semantic UIMod; @Observable object stored, invalidation runtime policy. View decl in SwiftUICore, absent here.
iOSmacOS
Scene.environment(_:) (Observable object)
nonisolated func environment<T>(_ object: T?) -> some Scene where T : AnyObject, T : Observable
environment semantic family on Scene; object captured, inert at runtime.
iOS iOS 17macOS macOS 14
View.environmentObject(_:)
func environmentObject<T>(_ object: T) -> some View where T : ObservableObject
Dedicated environmentObject semantic UIMod (coverage.md); object stored, lookup/invalidation is runtime policy. View decl in SwiftUICore.
iOSmacOS
Scene.environmentObject(_:)
nonisolated func environmentObject<T>(_ object: T) -> some Scene where T : ObservableObject
environmentObject semantic family on Scene; object captured, inert.
iOS iOS 17macOS macOS 14
EnvironmentObject (property wrapper)
@frozen @propertyWrapper public struct EnvironmentObject<ObjectType> : DynamicProperty where ObjectType : ObservableObject
@EnvironmentObject captured structurally (coverage.md); environment lookup/invalidation is runtime policy. Base decl in SwiftUICore.
iOSmacOS
EnvironmentObject.init()
@inlinable public init()
Wrapper init recognized; structural capture only. Decl absent from dump.
iOSmacOS
EnvironmentObject.wrappedValue
@MainActor @preconcurrency @inlinable public var wrappedValue: ObjectType { get }
Modeled as wrapper/source metadata; no live object resolution. Decl absent from dump.
iOSmacOS
EnvironmentObject.projectedValue
@MainActor @preconcurrency public var projectedValue: EnvironmentObject<ObjectType>.Wrapper { get }
Projected binding wrapper captured structurally; no runtime. Decl absent from dump.
iOSmacOS
View.transformEnvironment(_:transform:)
func transformEnvironment<V>(_ keyPath: WritableKeyPath<EnvironmentValues, V>, transform: @escaping (inout V) -> Void) -> some View
In catalog as generic UIMod only (no dedicated semantic payload); transform closure not lowered. View decl in SwiftUICore.
iOSmacOS
Scene.transformEnvironment(_:transform:)
nonisolated func transformEnvironment<V>(_ keyPath: WritableKeyPath<EnvironmentValues, V>, transform: @escaping (inout V) -> Void) -> some Scene
Generic UIMod capture only; transform body not modeled.
iOS allmacOS all
View.preference(key:value:)
func preference<K>(key: K.Type, value: K.Value) -> some View where K : PreferenceKey
Dedicated UI_SEMANTIC_PREFERENCE; lowering maps preference in modules/swiftui/compiler/lower/chain.c:770, and JSON emits typed semantic.payload.key and payload.value from the labeled args (modules/swiftui/compiler/uiir/json_modifier.c:2407). Preference aggregation/runtime remains renderer policy.
iOSmacOS
View.onPreferenceChange(_:perform:)
func onPreferenceChange<K>(_ key: K.Type, perform action: @escaping (K.Value) -> Void) -> some View where K : PreferenceKey, K.Value : Equatable
Generated catalog marks onPreferenceChange as action-capable (include/generated/swiftui_stubs.h:504); lowering maps it to UI_EVENT_PAYLOAD_PREFERENCE_CHANGE with PreferenceValue payload type (modules/swiftui/compiler/lower/chain.c:41, chain.c:87), captures the closure as actionIR (chain.c:3630), and JSON emits eventPayload.kind=preferenceChange with typed value field (modules/swiftui/compiler/uiir/json_action.c:305). Preference aggregation/runtime remains renderer policy.
iOSmacOS
View.anchorPreference(key:value:transform:)
func anchorPreference<A, K>(key _: K.Type, value: Anchor<A>.Source, transform: @escaping (Anchor<A>) -> K.Value) -> some View where K : PreferenceKey
Generic UIMod only; anchor source/transform not modeled. Decl in SwiftUICore.
iOSmacOS
View.transformPreference(_:_:)
func transformPreference<K>(_ key: K.Type, _ callback: @escaping (inout K.Value) -> Void) -> some View where K : PreferenceKey
Generic UIMod only; transform body not lowered. Decl in SwiftUICore.
iOSmacOS
View.transformAnchorPreference(key:value:transform:)
func transformAnchorPreference<A, K>(key _: K.Type, value: Anchor<A>.Source, transform: @escaping (inout K.Value, Anchor<A>) -> Void) -> some View where K : PreferenceKey
Generic UIMod only; anchor/transform not modeled. Decl in SwiftUICore.
iOSmacOS
View.backgroundPreferenceValue(_:_:)
func backgroundPreferenceValue<K, V>(_ key: K.Type, @ViewBuilder _ transform: @escaping (K.Value) -> V) -> some View where K : PreferenceKey, V : View
Dedicated UI_SEMANTIC_BACKGROUND_PREFERENCE_VALUE; lowering maps it in modules/swiftui/compiler/lower/chain.c:770, skips the ViewBuilder transform from raw args (chain.c:3649), captures it as UI_SLOT_BACKGROUND_PREFERENCE_VALUE content (chain.c:3504, chain.c:3730), and JSON emits semantic.payload.key/hasContentSlot/contentSlot (modules/swiftui/compiler/uiir/json_modifier.c:2407). Preference aggregation/runtime remains renderer policy.
iOSmacOS
View.overlayPreferenceValue(_:_:)
func overlayPreferenceValue<K, V>(_ key: K.Type, @ViewBuilder _ transform: @escaping (K.Value) -> V) -> some View where K : PreferenceKey, V : View
Dedicated UI_SEMANTIC_OVERLAY_PREFERENCE_VALUE; lowering maps it in modules/swiftui/compiler/lower/chain.c:772, captures the ViewBuilder transform into UI_SLOT_OVERLAY_PREFERENCE_VALUE content (chain.c:3513, chain.c:3730), and JSON emits semantic.payload.key/hasContentSlot/contentSlot (modules/swiftui/compiler/uiir/json_modifier.c:2407). Preference aggregation/runtime remains renderer policy.
iOSmacOS
PreferenceKey
public protocol PreferenceKey
module protocol stub preserves key type metadata; reduce/defaultValue runtime remains unmodeled.
iOSmacOS
PreferenceKey.defaultValue
static var defaultValue: Self.Value { get }
Static defaultValue member references survive structurally; preference default propagation is not executed.
iOSmacOS
PreferenceKey.reduce(value:nextValue:)
static func reduce(value: inout Self.Value, nextValue: () -> Self.Value)
Explicit reduce calls preserve value/nextValue args structurally; preference aggregation runtime is not modeled.
iOSmacOS
PreferenceKey.Value
associatedtype Value
Explicit associated type references such as MyPreferenceKey.Value.self survive structurally; preference reduction runtime remains separate.
iOSmacOS
Anchor
@frozen public struct Anchor<Value>
module struct stub preserves anchor value metadata; anchor resolution/runtime is not implemented.
iOSmacOS
Anchor.Source
@frozen public struct Source
module nested struct stub preserves anchor-source metadata; point/rect/bounds factories remain structural.
iOSmacOS
Anchor.Source.bounds
public static var bounds: Anchor<CGRect>.Source { get }
Static source member token survives structurally; anchor resolution/preference runtime is not modeled.
iOSmacOS
Anchor.Source.point(_:)
public static func point(_ p: CGPoint) -> Anchor<CGPoint>.Source
Source factory call preserves CGPoint args structurally; anchor resolution/preference runtime is not modeled.
iOSmacOS
Anchor.Source.rect(_:)
public static func rect(_ r: CGRect) -> Anchor<CGRect>.Source
Source factory call preserves CGRect args structurally; anchor resolution/preference runtime is not modeled.
iOSmacOS
EnvironmentValues.colorScheme
public var colorScheme: ColorScheme { get set }
Key not in dump (SwiftUICore). Reachable via environment(.colorScheme): web flips subtree dark/light; modifier-arg capture, no value store.
iOSmacOS
View.colorScheme(_:)
func colorScheme(_ colorScheme: ColorScheme) -> some View
Dedicated UI_SEMANTIC_COLOR_SCHEME; lowering maps colorScheme in modules/swiftui/compiler/lower/chain.c:913, and JSON emits tokenized semantic.payload.colorScheme (dark/light) via modules/swiftui/compiler/uiir/json_modifier.c:2818.
iOSmacOS
View.preferredColorScheme(_:)
func preferredColorScheme(_ colorScheme: ColorScheme?) -> some View
Dedicated UI_SEMANTIC_PREFERRED_COLOR_SCHEME; lowering maps preferredColorScheme in modules/swiftui/compiler/lower/chain.c:914, and JSON emits tokenized semantic.payload.colorScheme, including null for nil reset, via modules/swiftui/compiler/uiir/json_modifier.c:2818.
iOSmacOS
ColorScheme
@frozen public enum ColorScheme : CaseIterable, Sendable
Enum decl absent from dump (SwiftUICore); .light/.dark survive as enum-case args and are read by web colorScheme path. No type model.
iOSmacOS
EnvironmentValues.locale
public var locale: Locale { get set }
Key absent from dump (SwiftUICore). environment(.locale) captured as inert modifier-arg keyPath; not resolved by renderer.
iOSmacOS
EnvironmentValues.calendar
public var calendar: Calendar { get set }
Key absent from dump. environment(.calendar) captured as inert modifier-arg; not resolved.
iOSmacOS
EnvironmentValues.timeZone
public var timeZone: TimeZone { get set }
Key absent from dump. environment(.timeZone) captured as inert modifier-arg; not resolved.
iOSmacOS
EnvironmentValues.layoutDirection
public var layoutDirection: LayoutDirection { get set }
Key absent from dump (SwiftUICore). environment(.layoutDirection) captured as inert modifier-arg; RTL not applied by renderer.
iOSmacOS
LayoutDirection
public enum LayoutDirection : Hashable, CaseIterable, Sendable
module enum stub preserves layout-direction type metadata; RTL layout runtime is not applied.
iOSmacOS
EnvironmentValues.dynamicTypeSize
public var dynamicTypeSize: DynamicTypeSize { get set }
Key absent from dump. dynamicTypeSize modifier now lowers typed payload.size/range; environment read/apply path remains inert.
iOSmacOS
View.dynamicTypeSize(_:)
func dynamicTypeSize(_ size: DynamicTypeSize) -> some View
Dedicated UI_SEMANTIC_DYNAMIC_TYPE_SIZE; enum arg decomposes to JSON payload.size.
iOSmacOS
DynamicTypeSize
public enum DynamicTypeSize : Hashable, Comparable, CaseIterable, Sendable
Enum decl absent from dump/catalog, but enum-case args to dynamicTypeSize lower to typed payload values; standalone use remains source.
iOSmacOS
EnvironmentValues.sizeCategory
public var sizeCategory: ContentSizeCategory { get set }
Deprecated key, absent from dump. environment(.sizeCategory) captured as inert modifier-arg.
iOSmacOS
ContentSizeCategory
public enum ContentSizeCategory : Hashable, CaseIterable
module enum stub preserves content-size-category metadata; environment resolution remains inert.
iOSmacOS
EnvironmentValues.horizontalSizeClass
public var horizontalSizeClass: UserInterfaceSizeClass? { get set }
Key absent from dump (SwiftUICore). environment(.horizontalSizeClass) captured as inert modifier-arg; not resolved per device.
iOSmacOS
EnvironmentValues.verticalSizeClass
public var verticalSizeClass: UserInterfaceSizeClass? { get set }
Key absent from dump. environment(.verticalSizeClass) captured as inert modifier-arg; not resolved per device.
iOSmacOS
UserInterfaceSizeClass
public enum UserInterfaceSizeClass : Sendable
module enum stub preserves size-class metadata; device class resolution remains inert.
iOSmacOS
EnvironmentValues.isEnabled
public var isEnabled: Bool { get set }
Key not in dump (SwiftUICore). Written via .disabled() semantic UIMod; reading via @Environment(.isEnabled) is inert structural capture.
iOSmacOS
EnvironmentValues.displayScale
public var displayScale: CGFloat { get set }
Key absent from dump. environment(.displayScale) captured as inert modifier-arg; not resolved.
iOSmacOS
EnvironmentValues.pixelLength
public var pixelLength: CGFloat { get }
@Environment(\.pixelLength) wrapper metadata now preserves the raw keyPath as wrapperArg; no live EnvironmentValues resolver/runtime value is implemented.
iOSmacOS
EnvironmentValues.colorSchemeContrast
public var colorSchemeContrast: ColorSchemeContrast { get }
@Environment(\.colorSchemeContrast) wrapper metadata preserves the raw keyPath as wrapperArg; environment(\.colorSchemeContrast, .increased) now drives web contrast state, but @Environment reads still do not resolve live values.
iOSmacOS
EnvironmentValues.accessibilityReduceMotion
public var accessibilityReduceMotion: Bool { get }
@Environment(\.accessibilityReduceMotion) wrapper metadata now preserves the raw keyPath as wrapperArg; no live EnvironmentValues resolver/runtime value is implemented.
iOSmacOS
EnvironmentValues.accessibilityReduceTransparency
public var accessibilityReduceTransparency: Bool { get }
@Environment(\.accessibilityReduceTransparency) wrapper metadata now preserves the raw keyPath as wrapperArg; no live EnvironmentValues resolver/runtime value is implemented.
iOSmacOS
EnvironmentValues.accessibilityDifferentiateWithoutColor
public var accessibilityDifferentiateWithoutColor: Bool { get }
@Environment(\.accessibilityDifferentiateWithoutColor) wrapper metadata now preserves the raw keyPath as wrapperArg; no live EnvironmentValues resolver/runtime value is implemented.
iOSmacOS
EnvironmentValues.accessibilityInvertColors
public var accessibilityInvertColors: Bool { get }
@Environment(\.accessibilityInvertColors) wrapper metadata now preserves the raw keyPath as wrapperArg; no live EnvironmentValues resolver/runtime value is implemented.
iOSmacOS
EnvironmentValues.font
public var font: Font? { get set }
Key absent from dump (SwiftUICore). Set via .font() (style metadata UIMod); reading via @Environment(.font) is inert structural capture.
iOSmacOS
EnvironmentValues.lineLimit
public var lineLimit: Int? { get set }
Key absent from dump. Set via .lineLimit() (semantic UIMod); environment read path inert.
iOSmacOS
EnvironmentValues.redactionReasons
public var redactionReasons: RedactionReasons { get set }
@Environment(\.redactionReasons) wrapper metadata now preserves the raw keyPath as wrapperArg; no live EnvironmentValues resolver/runtime value is implemented.
iOSmacOS
EnvironmentValues.openURL
public var openURL: OpenURLAction { get }
@Environment(\.openURL) wrapper metadata now preserves the raw keyPath as wrapperArg; no live EnvironmentValues resolver/runtime value is implemented.
iOSmacOS
OpenURLAction
@MainActor @preconcurrency public struct OpenURLAction
module struct stub preserves action-object type metadata; openURL call/runtime is not executed.
iOSmacOS
EnvironmentValues.openWindow
public var openWindow: OpenWindowAction { get }
@Environment(\.openWindow) wrapper metadata now preserves the raw keyPath as wrapperArg; no live EnvironmentValues resolver/runtime value is implemented.
iOS iOS 16macOS macOS 13
OpenWindowAction
@MainActor @preconcurrency public struct OpenWindowAction
module struct stub preserves action-object type metadata; window-opening runtime is not executed.
iOS iOS 16macOS macOS 13
OpenWindowAction.callAsFunction(id:)
public func callAsFunction(id: String)
Calls on an @Environment(\.openWindow) action value survive as generic actionIR.call with the id arg; actual window opening is not executed.
iOS iOS 16macOS macOS 13
OpenWindowAction.callAsFunction(value:)
public func callAsFunction<D>(value: D) where D : Decodable, D : Encodable, D : Hashable
Calls on an @Environment(\.openWindow) action value survive as generic actionIR.call with the value arg; typed Codable routing/window runtime is not implemented.
iOS iOS 16macOS macOS 13
EnvironmentValues.dismissWindow
public var dismissWindow: DismissWindowAction { get }
@Environment(\.dismissWindow) wrapper metadata now preserves the raw keyPath as wrapperArg; no live EnvironmentValues resolver/runtime value is implemented.
iOS iOS 17macOS macOS 14
DismissWindowAction
@MainActor @preconcurrency public struct DismissWindowAction
module struct stub preserves action-object type metadata; window-dismiss runtime is not executed.
iOS iOS 17macOS macOS 14
EnvironmentValues.scenePhase
public var scenePhase: ScenePhase { get set }
@Environment(\.scenePhase) wrapper metadata now preserves the raw keyPath as wrapperArg; no live EnvironmentValues resolver/runtime value is implemented.
iOS iOS 14macOS macOS 11
ScenePhase
public enum ScenePhase : Comparable
@Environment(\.scenePhase) properties preserve wrapper/type metadata and typed ScenePhase values preserve enum tokens; no lifecycle runtime
iOS iOS 14macOS macOS 11
EnvironmentValues.dismiss
public var dismiss: DismissAction { get }
@Environment(\.dismiss) wrapper metadata now preserves the raw keyPath as wrapperArg; no live EnvironmentValues resolver/runtime value is implemented.
iOS iOS 15macOS macOS 12
DismissAction
@MainActor @preconcurrency public struct DismissAction
module struct stub preserves action-object type metadata; dismissal call/runtime is still not executed.
iOS iOS 15macOS macOS 12
DismissAction.callAsFunction()
@MainActor @preconcurrency public func callAsFunction()
Calls on an @Environment(\.dismiss) action value survive as generic actionIR.call; no presentation runtime dismissal is performed.
iOS iOS 15macOS macOS 12
EnvironmentValues.dismissSearch
public var dismissSearch: DismissSearchAction { get }
@Environment(\.dismissSearch) wrapper metadata now preserves the raw keyPath as wrapperArg; no live EnvironmentValues resolver/runtime value is implemented.
iOS iOS 15macOS macOS 12
DismissSearchAction
@MainActor @preconcurrency public struct DismissSearchAction
module struct stub preserves action-object type metadata; search-dismiss runtime is not executed.
iOS iOS 15macOS macOS 12
EnvironmentValues.isPresented
public var isPresented: Bool { get }
@Environment(\.isPresented) wrapper metadata now preserves the raw keyPath as wrapperArg; no live EnvironmentValues resolver/runtime value is implemented.
iOS iOS 15macOS macOS 12
EnvironmentValues.isSearching
public var isSearching: Bool { get }
@Environment(\.isSearching) wrapper metadata now preserves the raw keyPath as wrapperArg; no live EnvironmentValues resolver/runtime value is implemented.
iOS iOS 15macOS macOS 12
EnvironmentValues.isFocused
public var isFocused: Bool { get }
@Environment(\.isFocused) wrapper metadata now preserves the raw keyPath as wrapperArg; no live EnvironmentValues resolver/runtime value is implemented.
iOS iOS 14macOS macOS 11
EnvironmentValues.isScrollEnabled
public var isScrollEnabled: Bool { get set }
@Environment(\.isScrollEnabled) wrapper metadata now preserves the raw keyPath as wrapperArg; no live EnvironmentValues resolver/runtime value is implemented.
iOS iOS 16macOS macOS 13
EnvironmentValues.isFocusEffectEnabled
public var isFocusEffectEnabled: Bool { get set }
@Environment(\.isFocusEffectEnabled) wrapper metadata now preserves the raw keyPath as wrapperArg; no live EnvironmentValues resolver/runtime value is implemented.
iOS iOS 17macOS macOS 14
EnvironmentValues.refresh
public var refresh: RefreshAction? { get }
@Environment(\.refresh) wrapper metadata now preserves the raw keyPath as wrapperArg; no live EnvironmentValues resolver/runtime value is implemented.
iOS iOS 15macOS macOS 12
RefreshAction
public struct RefreshAction : Sendable
module struct stub preserves action-object type metadata; refresh runtime is not executed.
iOS iOS 15macOS macOS 12
EnvironmentValues.rename
public var rename: RenameAction? { get }
@Environment(\.rename) wrapper metadata now preserves the raw keyPath as wrapperArg; no live EnvironmentValues resolver/runtime value is implemented.
iOS iOS 16macOS macOS 13
RenameAction
public struct RenameAction
module struct stub preserves action-object type metadata; rename runtime is not executed.
iOS iOS 16macOS macOS 13
EnvironmentValues.editMode
public var editMode: Binding<EditMode>? { get set }
@Environment(\.editMode) wrapper metadata now preserves the raw keyPath as wrapperArg; no live EnvironmentValues resolver/runtime value is implemented.
iOS iOS 13macOS
EditMode
public enum EditMode : Sendable
module enum stub preserves edit-mode type metadata; @Environment(.editMode) lookup/editing runtime remains inert.
iOS iOS 13macOS
EditMode.isEditing
public var isEditing: Bool { get }
Member token survives structurally on EditMode values; list edit-mode runtime is not modeled.
iOS iOS 13macOS
EnvironmentValues.managedObjectContext
public var managedObjectContext: NSManagedObjectContext { get set }
@Environment(\.managedObjectContext) wrapper metadata now preserves the raw keyPath as wrapperArg; no live EnvironmentValues resolver/runtime value is implemented.
iOS iOS 13macOS macOS 10.15
EnvironmentValues.undoManager
public var undoManager: UndoManager? { get }
@Environment(\.undoManager) wrapper metadata now preserves the raw keyPath as wrapperArg; no live EnvironmentValues resolver/runtime value is implemented.
iOS iOS 13macOS macOS 10.15
EnvironmentValues.presentationMode
public var presentationMode: Binding<PresentationMode> { get }
@Environment(\.presentationMode) wrapper metadata now preserves the raw keyPath as wrapperArg; no live EnvironmentValues resolver/runtime value is implemented.
iOS allmacOS all
EnvironmentValues.scrollDismissesKeyboardMode
public var scrollDismissesKeyboardMode: ScrollDismissesKeyboardMode { get set }
scrollDismissesKeyboard now writes typed UI_SEMANTIC_SCROLL_DISMISSES_KEYBOARD mode metadata; env-key read path remains inert. Reachable via modifier only.
iOS iOS 16macOS macOS 13
EnvironmentValues.dynamicTypeSize (writer via env)
public var dynamicTypeSize: DynamicTypeSize { get set }
Duplicate of dynamicTypeSize key; reachable via environment(.dynamicTypeSize) keyPath capture, inert. Key decl absent from dump.
iOSmacOS
EnvironmentValues.horizontalScrollIndicatorVisibility
public var horizontalScrollIndicatorVisibility: ScrollIndicatorVisibility { get set }
@Environment(\.horizontalScrollIndicatorVisibility) wrapper metadata now preserves the raw keyPath as wrapperArg; no live EnvironmentValues resolver/runtime value is implemented.
iOS iOS 16macOS macOS 13
EnvironmentValues.verticalScrollIndicatorVisibility
public var verticalScrollIndicatorVisibility: ScrollIndicatorVisibility { get set }
@Environment(\.verticalScrollIndicatorVisibility) wrapper metadata now preserves the raw keyPath as wrapperArg; no live EnvironmentValues resolver/runtime value is implemented.
iOS iOS 16macOS macOS 13
EnvironmentValues.horizontalScrollBounceBehavior
public var horizontalScrollBounceBehavior: ScrollBounceBehavior { get set }
scrollBounceBehavior(_:axes:) now writes typed UI_SEMANTIC_SCROLL_BOUNCE_BEHAVIOR behavior/axis metadata for horizontal axes (chain.c:941); env-key read path remains inert. Reachable via modifier only.
iOS iOS 16.4macOS macOS 13.3
EnvironmentValues.verticalScrollBounceBehavior
public var verticalScrollBounceBehavior: ScrollBounceBehavior { get set }
scrollBounceBehavior(_:axes:) now writes typed UI_SEMANTIC_SCROLL_BOUNCE_BEHAVIOR behavior/axis metadata for vertical/default axes (chain.c:941); env-key read path remains inert. Reachable via modifier only.
iOS iOS 16.4macOS macOS 13.3
EnvironmentValues.autocorrectionDisabled
public var autocorrectionDisabled: Bool { get }
@Environment(\.autocorrectionDisabled) wrapper metadata now preserves the raw keyPath as wrapperArg; no live EnvironmentValues resolver/runtime value is implemented.
iOS iOS 13macOS macOS 10.15
EnvironmentValues.disableAutocorrection
public var disableAutocorrection: Bool? { get }
@Environment(\.disableAutocorrection) wrapper metadata now preserves the raw keyPath as wrapperArg; no live EnvironmentValues resolver/runtime value is implemented.
iOS allmacOS all
EnvironmentValues.menuOrder
public var menuOrder: MenuOrder { get set }
@Environment(\.menuOrder) wrapper metadata now preserves the raw keyPath as wrapperArg; no live EnvironmentValues resolver/runtime value is implemented.
iOS allmacOS all
EnvironmentValues.menuIndicatorVisibility
public var menuIndicatorVisibility: Visibility { get set }
@Environment(\.menuIndicatorVisibility) wrapper metadata now preserves the raw keyPath as wrapperArg; no live EnvironmentValues resolver/runtime value is implemented.
iOS allmacOS all
EnvironmentValues.labelsVisibility
public var labelsVisibility: Visibility { get set }
@Environment(\.labelsVisibility) wrapper metadata now preserves the raw keyPath as wrapperArg; no live EnvironmentValues resolver/runtime value is implemented.
iOS allmacOS all
EnvironmentValues.badgeProminence
public var badgeProminence: BadgeProminence { get set }
@Environment(\.badgeProminence) wrapper metadata now preserves the raw keyPath as wrapperArg; no live EnvironmentValues resolver/runtime value is implemented.
iOS allmacOS all
EnvironmentValues.textSelectionAffinity
public var textSelectionAffinity: TextSelectionAffinity { get set }
@Environment(\.textSelectionAffinity) wrapper metadata now preserves the raw keyPath as wrapperArg; no live EnvironmentValues resolver/runtime value is implemented.
iOS allmacOS all
EnvironmentValues.keyboardShortcut
public var keyboardShortcut: KeyboardShortcut? { get }
@Environment(\.keyboardShortcut) wrapper metadata now preserves the raw keyPath as wrapperArg; no live EnvironmentValues resolver/runtime value is implemented.
iOS iOS 15macOS macOS 12
EnvironmentValues.navigationLinkIndicatorVisibility
public var navigationLinkIndicatorVisibility: Visibility { get set }
@Environment(\.navigationLinkIndicatorVisibility) wrapper metadata now preserves the raw keyPath as wrapperArg; no live EnvironmentValues resolver/runtime value is implemented.
iOS iOS 17macOS macOS 14
EnvironmentValues.supportsMultipleWindows
public var supportsMultipleWindows: Bool { get }
@Environment(\.supportsMultipleWindows) wrapper metadata now preserves the raw keyPath as wrapperArg; no live EnvironmentValues resolver/runtime value is implemented.
iOS iOS 16macOS macOS 13
EnvironmentValues.searchSuggestionsPlacement
public var searchSuggestionsPlacement: SearchSuggestionsPlacement { get }
@Environment(\.searchSuggestionsPlacement) wrapper metadata now preserves the raw keyPath as wrapperArg; no live EnvironmentValues resolver/runtime value is implemented.
iOS iOS 16macOS macOS 13
EnvironmentValues.springLoadingBehavior
public var springLoadingBehavior: SpringLoadingBehavior { get set }
@Environment(\.springLoadingBehavior) wrapper metadata now preserves the raw keyPath as wrapperArg; no live EnvironmentValues resolver/runtime value is implemented.
iOS iOS 17macOS macOS 14
EnvironmentValues.buttonRepeatBehavior
public var buttonRepeatBehavior: ButtonRepeatBehavior { get set }
@Environment(\.buttonRepeatBehavior) wrapper metadata now preserves the raw keyPath as wrapperArg; no live EnvironmentValues resolver/runtime value is implemented.
iOS iOS 17macOS macOS 14
EnvironmentValues.writingToolsBehavior
public var writingToolsBehavior: WritingToolsBehavior? { get set }
@Environment(\.writingToolsBehavior) wrapper metadata now preserves the raw keyPath as wrapperArg; no live EnvironmentValues resolver/runtime value is implemented.
iOS iOS 18macOS macOS 15
EnvironmentValues.accessibilityVoiceOverEnabled
public var accessibilityVoiceOverEnabled: Bool { get }
@Environment(\.accessibilityVoiceOverEnabled) wrapper metadata now preserves the raw keyPath as wrapperArg; no live EnvironmentValues resolver/runtime value is implemented.
iOS iOS 15macOS macOS 12
EnvironmentValues.accessibilitySwitchControlEnabled
public var accessibilitySwitchControlEnabled: Bool { get }
@Environment(\.accessibilitySwitchControlEnabled) wrapper metadata now preserves the raw keyPath as wrapperArg; no live EnvironmentValues resolver/runtime value is implemented.
iOS iOS 15macOS macOS 12
EnvironmentValues.accessibilityLargeContentViewerEnabled
public var accessibilityLargeContentViewerEnabled: Bool { get }
@Environment(\.accessibilityLargeContentViewerEnabled) wrapper metadata now preserves the raw keyPath as wrapperArg; no live EnvironmentValues resolver/runtime value is implemented.
iOS iOS 15macOS macOS 12
EnvironmentValues.accessibilityQuickActionsEnabled
public var accessibilityQuickActionsEnabled: Bool { get }
@Environment(\.accessibilityQuickActionsEnabled) wrapper metadata now preserves the raw keyPath as wrapperArg; no live EnvironmentValues resolver/runtime value is implemented.
iOS iOS 16macOS macOS 13
EnvironmentValues.accessibilityAssistiveAccessEnabled
public var accessibilityAssistiveAccessEnabled: Bool { get }
@Environment(\.accessibilityAssistiveAccessEnabled) wrapper metadata now preserves the raw keyPath as wrapperArg; no live EnvironmentValues resolver/runtime value is implemented.
iOS iOS 18macOS macOS 15
EnvironmentValues.documentConfiguration
public var documentConfiguration: DocumentConfiguration? { get }
@Environment(\.documentConfiguration) wrapper metadata now preserves the raw keyPath as wrapperArg; no live EnvironmentValues resolver/runtime value is implemented.
iOS allmacOS all
EnvironmentValues.findContext
public var findContext: FindContext? { get }
@Environment(\.findContext) wrapper metadata now preserves the raw keyPath as wrapperArg; no live EnvironmentValues resolver/runtime value is implemented.
iOS allmacOS all
EnvironmentValues.defaultMinListRowHeight
public var defaultMinListRowHeight: CGFloat { get set }
@Environment(\.defaultMinListRowHeight) wrapper metadata now preserves the raw keyPath as wrapperArg; no live EnvironmentValues resolver/runtime value is implemented.
iOS allmacOS all
EnvironmentValues.defaultMinListHeaderHeight
public var defaultMinListHeaderHeight: CGFloat? { get set }
@Environment(\.defaultMinListHeaderHeight) wrapper metadata now preserves the raw keyPath as wrapperArg; no live EnvironmentValues resolver/runtime value is implemented.
iOS allmacOS all
EnvironmentValues.preferredPencilDoubleTapAction
public var preferredPencilDoubleTapAction: PencilPreferredAction { get }
@Environment(\.preferredPencilDoubleTapAction) wrapper metadata now preserves the raw keyPath as wrapperArg; no live EnvironmentValues resolver/runtime value is implemented.
iOS iOS 17.5macOS macOS 14.5
EnvironmentValues.preferredPencilSqueezeAction
public var preferredPencilSqueezeAction: PencilPreferredAction { get }
@Environment(\.preferredPencilSqueezeAction) wrapper metadata now preserves the raw keyPath as wrapperArg; no live EnvironmentValues resolver/runtime value is implemented.
iOS iOS 17.5macOS macOS 14.5
EnvironmentValues.openDocument
public var openDocument: OpenDocumentAction { get }
@Environment(\.openDocument) wrapper metadata now preserves the raw keyPath as wrapperArg; no live EnvironmentValues resolver/runtime value is implemented.
iOSmacOS macOS 13
OpenDocumentAction
@MainActor public struct OpenDocumentAction
module struct stub preserves action-object type metadata; document-opening runtime is not executed.
iOSmacOS macOS 13
EnvironmentValues.newDocument
public var newDocument: NewDocumentAction { get }
@Environment(\.newDocument) wrapper metadata now preserves the raw keyPath as wrapperArg; no live EnvironmentValues resolver/runtime value is implemented.
iOSmacOS macOS 13
NewDocumentAction
@MainActor @preconcurrency public struct NewDocumentAction
module struct stub preserves action-object type metadata; document-creation runtime is not executed.
iOSmacOS macOS 13
EnvironmentValues.openSettings
public var openSettings: OpenSettingsAction { get }
@Environment(\.openSettings) wrapper metadata now preserves the raw keyPath as wrapperArg; no live EnvironmentValues resolver/runtime value is implemented.
iOSmacOS macOS 14
OpenSettingsAction
@MainActor @preconcurrency public struct OpenSettingsAction
module struct stub preserves action-object type metadata; settings-opening runtime is not executed.
iOSmacOS macOS 14
EnvironmentValues.resetFocus
public var resetFocus: ResetFocusAction { get }
@Environment(\.resetFocus) wrapper metadata now preserves the raw keyPath as wrapperArg; no live EnvironmentValues resolver/runtime value is implemented.
iOSmacOS macOS 12
ResetFocusAction
public struct ResetFocusAction
module struct stub preserves action-object type metadata; focus reset runtime is not executed.
iOSmacOS macOS 12
EnvironmentValues.openImmersiveSpace
public var openImmersiveSpace: OpenImmersiveSpaceAction { get }
@Environment(\.openImmersiveSpace) wrapper metadata now preserves the raw keyPath as wrapperArg; no live EnvironmentValues resolver/runtime value is implemented.
iOSmacOS macOS 26
OpenImmersiveSpaceAction
@MainActor public struct OpenImmersiveSpaceAction : Sendable
module struct stub preserves action-object type metadata; immersive-space runtime is not executed.
iOSmacOS macOS 26
EnvironmentValues.dismissImmersiveSpace
public var dismissImmersiveSpace: DismissImmersiveSpaceAction { get }
@Environment(\.dismissImmersiveSpace) wrapper metadata now preserves the raw keyPath as wrapperArg; no live EnvironmentValues resolver/runtime value is implemented.
iOSmacOS macOS 26
DismissImmersiveSpaceAction
@MainActor public struct DismissImmersiveSpaceAction
module struct stub preserves action-object type metadata; immersive-space dismissal runtime is not executed.
iOSmacOS macOS 26
EnvironmentValues.supportsRemoteScenes
public var supportsRemoteScenes: Bool { get }
@Environment(\.supportsRemoteScenes) wrapper metadata now preserves the raw keyPath as wrapperArg; no live EnvironmentValues resolver/runtime value is implemented.
iOS iOS 26macOS macOS 26
EnvironmentValues.isSceneCaptured
public var isSceneCaptured: Bool { get }
@Environment(\.isSceneCaptured) wrapper metadata now preserves the raw keyPath as wrapperArg; no live EnvironmentValues resolver/runtime value is implemented.
iOS allmacOS
View.defaultAppStorage(_:)
func defaultAppStorage(_ store: UserDefaults) -> some View
Dedicated UI_SEMANTIC_DEFAULT_APP_STORAGE; lowering maps defaultAppStorage in modules/swiftui/compiler/lower/chain.c:619, and JSON emits semantic.payload.store (modules/swiftui/compiler/uiir/json_modifier.c:1735). @AppStorage persistence remains runtime policy.
iOS allmacOS all
Scene.defaultAppStorage(_:)
nonisolated func defaultAppStorage(_ store: UserDefaults) -> some Scene
Same UI_SEMANTIC_DEFAULT_APP_STORAGE metadata at Scene level; store arg is captured as semantic.payload.store (modules/swiftui/compiler/uiir/json_modifier.c:1735).
iOS allmacOS all
View.transaction(_:)
func transaction(_ transform: @escaping (inout Transaction) -> Void) -> some View
Dedicated UI_SEMANTIC_TRANSACTION maps transaction (modules/swiftui/compiler/lower/chain.c:795, include/internal/uiir.h:878) and serializes the transform closure as typed semantic.payload.transform (modules/swiftui/compiler/uiir/names.c:504, modules/swiftui/compiler/uiir/json_modifier.c:2391). Transaction runtime remains out of lowering scope.
iOSmacOS
Transaction
public struct Transaction
module struct stub preserves transaction metadata; transaction execution/runtime remains unmodeled.
iOSmacOS
DynamicProperty
public protocol DynamicProperty
module protocol stub preserves dynamic-property metadata; update() execution is not modeled.
iOSmacOS

16. Storage / focus / other wrappers

40·89·0
AppStorage
@frozen @propertyWrapper public struct AppStorage<Value> : DynamicProperty
wrapper fully parsed/lowered as a binding source per coverage; $-projection becomes Binding<Value> control-binding metadata.
iOS iOS 14macOS macOS 11
AppStorage.wrappedValue
public var wrappedValue: Value { get nonmutating set }
captured as part of the lowered @AppStorage state var; no UserDefaults read/write runtime.
iOS iOS 14macOS macOS 11
AppStorage.projectedValue
public var projectedValue: Binding<Value> { get }
projected $value lowers to typed Binding<Value> binding-source metadata.
iOS iOS 14macOS macOS 11
AppStorage.init(wrappedValue:_:store:) [Bool]
public init(wrappedValue: Value, _ key: String, store: UserDefaults? = nil) where Value == Bool
key+default captured generically via wrapper attribute; no per-type UserDefaults overload semantics.
iOS iOS 14macOS macOS 11
AppStorage.init(wrappedValue:_:store:) [Int]
public init(wrappedValue: Value, _ key: String, store: UserDefaults? = nil) where Value == Int
captured generically as @AppStorage attribute args; no typed Int default overload.
iOS iOS 14macOS macOS 11
AppStorage.init(wrappedValue:_:store:) [Double]
public init(wrappedValue: Value, _ key: String, store: UserDefaults? = nil) where Value == Double
captured generically as @AppStorage attribute args; no typed Double overload.
iOS iOS 14macOS macOS 11
AppStorage.init(wrappedValue:_:store:) [String]
public init(wrappedValue: Value, _ key: String, store: UserDefaults? = nil) where Value == String
captured generically as @AppStorage attribute args; no typed String overload.
iOS iOS 14macOS macOS 11
AppStorage.init(wrappedValue:_:store:) [URL]
public init(wrappedValue: Value, _ key: String, store: UserDefaults? = nil) where Value == URL
captured generically; URL constraint not modeled distinctly.
iOS iOS 14macOS macOS 11
AppStorage.init(wrappedValue:_:store:) [Date]
public init(wrappedValue: Value, _ key: String, store: UserDefaults? = nil) where Value == Date
captured generically as wrapper args; Date overload not distinctly typed.
iOS iOS 18macOS macOS 15
AppStorage.init(wrappedValue:_:store:) [Data]
public init(wrappedValue: Value, _ key: String, store: UserDefaults? = nil) where Value == Data
captured generically; Data overload not distinctly typed.
iOS iOS 14macOS macOS 11
AppStorage.init(wrappedValue:_:store:) [RawRepresentable Int]
public init(wrappedValue: Value, _ key: String, store: UserDefaults? = nil) where Value : RawRepresentable, Value.RawValue == Int
captured generically; RawRepresentable<Int> transform not modeled.
iOS iOS 14macOS macOS 11
AppStorage.init(wrappedValue:_:store:) [RawRepresentable String]
public init(wrappedValue: Value, _ key: String, store: UserDefaults? = nil) where Value : RawRepresentable, Value.RawValue == String
captured generically; RawRepresentable<String> transform not modeled.
iOS iOS 14macOS macOS 11
AppStorage.init(_:store:) [optional Bool/Int/Double/String/URL/Date/Data]
public init(_ key: String, store: UserDefaults? = nil) where Value == Bool?
optional-keyed inits (ExpressibleByNilLiteral family) captured generically as @AppStorage attribute args.
iOS iOS 14macOS macOS 11
AppStorage.init(_:store:) [optional RawRepresentable]
public init<R>(_ key: String, store: UserDefaults? = nil) where Value == R?, R : RawRepresentable, R.RawValue == String
optional raw-representable init captured generically; no transform semantics.
iOS iOS 14macOS macOS 11
AppStorage.init(wrappedValue:_:store:) [TableColumnCustomization]
public init<RowValue>(wrappedValue: Value = TableColumnCustomization<RowValue>(), _ key: String, store: UserDefaults? = nil) where Value == TableColumnCustomization<RowValue>, RowValue : Identifiable
captured generically; table column persistence value not modeled.
iOS iOS 17macOS macOS 14
AppStorage.init(wrappedValue:_:store:) [ToolbarLabelStyle/TabViewCustomization]
public init(wrappedValue: Value = TabViewCustomization(), _ key: String, store: UserDefaults? = nil) where Value == TabViewCustomization
captured generically as wrapper args; specialized value persistence not modeled.
iOS iOS 18macOS macOS 15
View.defaultAppStorage(_:)
nonisolated public func defaultAppStorage(_ store: UserDefaults) -> some View
Dedicated UI_SEMANTIC_DEFAULT_APP_STORAGE; lowering maps defaultAppStorage in modules/swiftui/compiler/lower/chain.c:619, and JSON emits semantic.payload.store (modules/swiftui/compiler/uiir/json_modifier.c:1735).
iOS iOS 14macOS macOS 11
Scene.defaultAppStorage(_:)
nonisolated public func defaultAppStorage(_ store: UserDefaults) -> some Scene
Same UI_SEMANTIC_DEFAULT_APP_STORAGE metadata at Scene level; store arg is captured as semantic.payload.store (modules/swiftui/compiler/uiir/json_modifier.c:1735).
iOS iOS 14macOS macOS 11
SceneStorage
@frozen @propertyWrapper public struct SceneStorage<Value> : DynamicProperty
wrapper fully parsed/lowered as a binding source per coverage; no scene-state persistence runtime.
iOS iOS 14macOS macOS 11
SceneStorage.wrappedValue
public var wrappedValue: Value { get nonmutating set }
captured as part of the lowered @SceneStorage state var; no scene restoration runtime.
iOS iOS 14macOS macOS 11
SceneStorage.projectedValue
public var projectedValue: Binding<Value> { get }
projected $value lowers to typed Binding<Value> binding-source metadata.
iOS iOS 14macOS macOS 11
SceneStorage.init(wrappedValue:_:) [Bool/Int/Double/String/URL/Date/Data]
public init(wrappedValue: Value, _ key: String) where Value == Bool
typed per-value inits captured generically as @SceneStorage attribute args.
iOS iOS 14macOS macOS 11
SceneStorage.init(wrappedValue:_:) [RawRepresentable Int/String]
public init(wrappedValue: Value, _ key: String) where Value : RawRepresentable, Value.RawValue == Int
captured generically; RawRepresentable transform not modeled.
iOS iOS 14macOS macOS 11
SceneStorage.init(_:) [optional family]
public init(_ key: String) where Value == Bool?
optional-keyed inits captured generically as wrapper attribute args.
iOS iOS 14macOS macOS 11
SceneStorage.init(_:) [optional RawRepresentable]
public init<R>(_ key: String) where Value == R?, R : RawRepresentable, R.RawValue == String
captured generically; no transform semantics.
iOS iOS 14macOS macOS 11
SceneStorage.init(wrappedValue:_:store:) [TabViewCustomization]
public init(wrappedValue: Value = TabViewCustomization(), _ key: String, store: UserDefaults? = nil) where Value == TabViewCustomization
captured generically as wrapper args; specialized value persistence not modeled.
iOS iOS 18macOS macOS 15
FocusState
@frozen @propertyWrapper public struct FocusState<Value> : DynamicProperty where Value : Hashable
fully parsed/lowered as a property wrapper / binding source per coverage; focus engine itself is renderer/runtime.
iOS iOS 15macOS macOS 12
FocusState.wrappedValue
public var wrappedValue: Value { get nonmutating set }
captured as the lowered @FocusState state var; no actual focus location resolution.
iOS iOS 15macOS macOS 12
FocusState.projectedValue
public var projectedValue: FocusState<Value>.Binding { get }
$projection lowers to a typed focus binding consumed by .focused(_:)/.focused(_:equals:).
iOS iOS 15macOS macOS 12
FocusState.Binding
@frozen @propertyWrapper public struct Binding
the nested FocusState.Binding type is not a catalog entry; survives only as the projected binding metadata of @FocusState.
iOS iOS 15macOS macOS 12
FocusState.init() [Bool]
public init() where Value == Bool
Bool focus-state declaration captured via wrapper attribute; init overload not distinctly modeled.
iOS iOS 15macOS macOS 12
FocusState.init<T>() [optional Hashable]
public init<T>() where Value == T?, T : Hashable
optional-Hashable focus state captured via wrapper attribute; overload not distinctly modeled.
iOS iOS 15macOS macOS 12
FocusedValue
@propertyWrapper public struct FocusedValue<Value> : DynamicProperty
registered as a stable stub kind only; no dedicated typed lowering of the focused-value read.
iOS iOS 14macOS macOS 11
FocusedValue.init(_:) [keyPath]
public init(_ keyPath: KeyPath<FocusedValues, Value?>)
stub-kind wrapper; keyPath arg survives structurally, no focus-key resolution.
iOS iOS 14macOS macOS 11
FocusedValue.init(_:) [Observable object]
public init(_ objectType: Value.Type) where Value : AnyObject, Value : Observable
stub-kind wrapper; object-type focus read not modeled beyond structural capture.
iOS iOS 17macOS macOS 14
FocusedValue.wrappedValue
@inlinable public var wrappedValue: Value? { get }
read-only projection of a stub wrapper; no focused-hierarchy lookup.
iOS iOS 14macOS macOS 11
FocusedBinding
@propertyWrapper public struct FocusedBinding<Value> : DynamicProperty
registered as a stable stub kind only; no dedicated typed lowering.
iOS iOS 14macOS macOS 11
FocusedBinding.init(_:)
public init(_ keyPath: KeyPath<FocusedValues, Binding<Value>?>)
stub-kind wrapper; keyPath arg structural only, no auto-unwrap of focused binding.
iOS iOS 14macOS macOS 11
FocusedBinding.wrappedValue
@inlinable public var wrappedValue: Value? { get nonmutating set }
stub wrapper accessor; no focused-hierarchy resolution.
iOS iOS 14macOS macOS 11
FocusedBinding.projectedValue
public var projectedValue: Binding<Value?> { get }
projected Binding<Value?> survives structurally on a stub wrapper.
iOS iOS 14macOS macOS 11
FocusedObject
@MainActor @frozen @propertyWrapper @preconcurrency public struct FocusedObject<ObjectType> : DynamicProperty where ObjectType : ObservableObject
in catalog as a stable stub kind; no observable-object focus runtime/invalidation.
iOS iOS 16macOS macOS 13
FocusedObject.Wrapper
@MainActor @preconcurrency @dynamicMemberLookup @frozen public struct Wrapper
module nested struct stub preserves focused-object wrapper metadata; dynamic-member binding runtime remains absent.
iOS iOS 16macOS macOS 13
FocusedObject.Wrapper.subscript(dynamicMember:)
public subscript<T>(dynamicMember keyPath: ReferenceWritableKeyPath<ObjectType, T>) -> Binding<T> { get }
Dynamic-member subscript calls preserve the key path structurally; focused object binding lookup is not modeled.
iOS iOS 16macOS macOS 13
FocusedObject.wrappedValue
@MainActor @inlinable @preconcurrency public var wrappedValue: ObjectType? { get }
stub-kind accessor; no focused observable-object resolution.
iOS iOS 16macOS macOS 13
FocusedObject.projectedValue
@MainActor @preconcurrency public var projectedValue: FocusedObject<ObjectType>.Wrapper? { get }
stub-kind accessor; Wrapper projection not modeled.
iOS iOS 16macOS macOS 13
FocusedObject.init()
@MainActor @preconcurrency public init()
captured via wrapper attribute on a stub kind; no runtime.
iOS iOS 16macOS macOS 13
FocusedValues
public struct FocusedValues
registered as a stable stub leaf kind; key-keyed focused-value collection not executed.
iOS iOS 14macOS macOS 11
FocusedValues.subscript(key:)
public subscript<Key>(key: Key.Type) -> Key.Value? where Key : FocusedValueKey
Key-based focused-value subscript calls preserve the key type structurally; focused hierarchy lookup is not modeled.
iOS iOS 14macOS macOS 11
FocusedValues.== (Equatable)
public static func == (lhs: FocusedValues, rhs: FocusedValues) -> Bool
Equality expressions survive structurally; focused value identity/equality runtime is not modeled.
iOS iOS 15macOS macOS 12
FocusedValueKey
public protocol FocusedValueKey { associatedtype Value }
name registered as a stable stub kind; protocol is not executed, only parse-stable.
iOS iOS 14macOS macOS 11
GestureState
@propertyWrapper @frozen public struct GestureState<Value> : DynamicProperty
fully parsed/lowered as a property wrapper / binding source per coverage; gesture recognizer runtime absent.
iOS iOS 13macOS macOS 10.15
GestureState.init(wrappedValue:)
public init(wrappedValue: Value)
default value captured via wrapper attribute; no transient gesture reset semantics.
iOS iOS 13macOS macOS 10.15
GestureState.init(initialValue:)
public init(initialValue: Value)
initialValue captured via wrapper attribute; overload not distinctly modeled.
iOS iOS 13macOS macOS 10.15
GestureState.init(wrappedValue:resetTransaction:)
public init(wrappedValue: Value, resetTransaction: Transaction)
resetTransaction arg captured structurally; Transaction reset not executed.
iOS iOS 13macOS macOS 10.15
GestureState.init(initialValue:resetTransaction:)
public init(initialValue: Value, resetTransaction: Transaction)
captured structurally; Transaction reset not executed.
iOS iOS 13macOS macOS 10.15
GestureState.init(wrappedValue:reset:)
public init(wrappedValue: Value, reset: @escaping (Value, inout Transaction) -> Void)
reset closure captured structurally; not invoked, no transaction flow.
iOS iOS 13macOS macOS 10.15
GestureState.init(initialValue:reset:)
public init(initialValue: Value, reset: @escaping (Value, inout Transaction) -> Void)
reset closure captured structurally; not invoked.
iOS iOS 13macOS macOS 10.15
GestureState.init(resetTransaction:) [ExpressibleByNilLiteral]
public init(resetTransaction: Transaction = Transaction())
nil-literal convenience init captured via wrapper attribute; no runtime.
iOS iOS 13macOS macOS 10.15
GestureState.init(reset:) [ExpressibleByNilLiteral]
public init(reset: @escaping (Value, inout Transaction) -> Void)
nil-literal convenience init; reset closure captured structurally.
iOS iOS 13macOS macOS 10.15
GestureState.wrappedValue
public var wrappedValue: Value { get }
read-only accessor of the lowered @GestureState var; no live gesture value.
iOS iOS 13macOS macOS 10.15
GestureState.projectedValue
public var projectedValue: GestureState<Value> { get }
$projection captured structurally; used by Gesture.updating which has no recognizer runtime.
iOS iOS 13macOS macOS 10.15
GestureStateGesture
@frozen public struct GestureStateGesture<Base, State> : Gesture where Base : Gesture
module struct stub preserves typed updating-gesture metadata; recognizer/state-update execution remains unmodeled.
iOS iOS 13macOS macOS 10.15
Namespace
@frozen @propertyWrapper public struct Namespace : DynamicProperty
decl absent from both dumps (in SwiftUICore); in catalog and fully lowered; matchedGeometryEffect references the lowered namespace binding.
iOSmacOS
Namespace.ID
public struct ID : Hashable, Sendable
Namespace.ID referenced in dumps (focusScope, matchedGeometryEffect); captured as the lowered namespace binding ref; not separately modeled.
iOS allmacOS all
ScaledMetric
@propertyWrapper public struct ScaledMetric<Value> : DynamicProperty where Value : BinaryFloatingPoint
module property-wrapper struct stub preserves type metadata; dynamic type scaling runtime is not executed.
iOSmacOS
FetchRequest
@MainActor @propertyWrapper @preconcurrency public struct FetchRequest<Result> where Result : NSFetchRequestResult
wrapper fully parsed/lowered as a property wrapper / binding source per coverage; CoreData fetch runtime absent.
iOS iOS 13macOS macOS 10.15
FetchRequest.wrappedValue
@MainActor @preconcurrency public var wrappedValue: FetchedResults<Result> { get }
captured as the lowered @FetchRequest var; FetchedResults has no data store.
iOS iOS 13macOS macOS 10.15
FetchRequest.projectedValue
@MainActor @preconcurrency public var projectedValue: Binding<FetchRequest<Result>.Configuration> { get }
$projection captured as a binding source; Configuration binding not resolved.
iOS iOS 13macOS macOS 10.15
FetchRequest.Configuration
@MainActor @preconcurrency public struct Configuration { var nsSortDescriptors; var nsPredicate }
module nested struct stub preserves CoreData configuration metadata; fetch runtime remains absent.
iOS iOS 15macOS macOS 12
FetchRequest.update()
@MainActor @preconcurrency public mutating func update()
Explicit update calls survive structurally; CoreData fetch refresh runtime is not modeled.
iOS iOS 13macOS macOS 10.15
FetchRequest.init(entity:sortDescriptors:predicate:animation:)
public init(entity: NSEntityDescription, sortDescriptors: [NSSortDescriptor], predicate: NSPredicate? = nil, animation: Animation? = nil)
captured via wrapper attribute; NSEntityDescription/NSSortDescriptor args structural only.
iOS iOS 13macOS macOS 10.15
FetchRequest.init(fetchRequest:animation:)
public init(fetchRequest: NSFetchRequest<Result>, animation: Animation? = nil)
captured via wrapper attribute; NSFetchRequest arg structural only.
iOS iOS 13macOS macOS 10.15
FetchRequest.init(fetchRequest:transaction:)
public init(fetchRequest: NSFetchRequest<Result>, transaction: Transaction)
captured via wrapper attribute; transaction arg structural only.
iOS iOS 13macOS macOS 10.15
FetchRequest.init(sortDescriptors:predicate:animation:) [NSSortDescriptor]
public init(sortDescriptors: [NSSortDescriptor], predicate: NSPredicate? = nil, animation: Animation? = nil)
captured via wrapper attribute; CoreData descriptor args structural only.
iOS iOS 13macOS macOS 10.15
FetchRequest.init(sortDescriptors:predicate:animation:) [SortDescriptor]
public init(sortDescriptors: [SortDescriptor<Result>], predicate: NSPredicate? = nil, animation: Animation? = nil)
captured via wrapper attribute; typed SortDescriptor args structural only.
iOS iOS 15macOS macOS 12
SectionedFetchRequest
@MainActor @propertyWrapper @preconcurrency public struct SectionedFetchRequest<SectionIdentifier, Result> where SectionIdentifier : Hashable, Result : NSFetchRequestResult
wrapper fully parsed/lowered as a property wrapper / binding source per coverage; sectioned CoreData fetch runtime absent.
iOS iOS 15macOS macOS 12
SectionedFetchRequest.wrappedValue
@MainActor @preconcurrency public var wrappedValue: SectionedFetchResults<SectionIdentifier, Result> { get }
captured as the lowered var; SectionedFetchResults has no data store.
iOS iOS 15macOS macOS 12
SectionedFetchRequest.projectedValue
@MainActor @preconcurrency public var projectedValue: Binding<SectionedFetchRequest<SectionIdentifier, Result>.Configuration> { get }
$projection captured as a binding source; Configuration not resolved.
iOS iOS 15macOS macOS 12
SectionedFetchRequest.Configuration
public struct Configuration { var sectionIdentifier; var sortDescriptors }
module nested struct stub preserves sectioned CoreData configuration metadata; fetch runtime remains absent.
iOS iOS 15macOS macOS 12
SectionedFetchRequest.init(entity:sectionIdentifier:sortDescriptors:predicate:animation:)
public init(entity: NSEntityDescription, sectionIdentifier: KeyPath<Result, SectionIdentifier>, sortDescriptors: [NSSortDescriptor], predicate: NSPredicate? = nil, animation: Animation? = nil)
captured via wrapper attribute; CoreData/keypath args structural only.
iOS iOS 15macOS macOS 12
SectionedFetchRequest.init(fetchRequest:sectionIdentifier:animation:)
public init(fetchRequest: NSFetchRequest<Result>, sectionIdentifier: KeyPath<Result, SectionIdentifier>, animation: Animation? = nil)
captured via wrapper attribute; args structural only.
iOS iOS 15macOS macOS 12
SectionedFetchRequest.init(fetchRequest:sectionIdentifier:transaction:)
public init(fetchRequest: NSFetchRequest<Result>, sectionIdentifier: KeyPath<Result, SectionIdentifier>, transaction: Transaction)
captured via wrapper attribute; args structural only.
iOS iOS 15macOS macOS 12
SectionedFetchRequest.init(sectionIdentifier:sortDescriptors:predicate:animation:) [NSSortDescriptor]
public init(sectionIdentifier: KeyPath<Result, SectionIdentifier>, sortDescriptors: [NSSortDescriptor], predicate: NSPredicate? = nil, animation: Animation? = nil)
captured via wrapper attribute; CoreData descriptor args structural only.
iOS iOS 15macOS macOS 12
SectionedFetchRequest.init(sectionIdentifier:sortDescriptors:predicate:animation:) [SortDescriptor]
public init(sectionIdentifier: KeyPath<Result, SectionIdentifier>, sortDescriptors: [SortDescriptor<Result>], predicate: NSPredicate? = nil, animation: Animation? = nil)
captured via wrapper attribute; typed SortDescriptor args structural only.
iOS iOS 15macOS macOS 12
AccessibilityFocusState
@propertyWrapper @frozen public struct AccessibilityFocusState<Value> : DynamicProperty where Value : Hashable
fully parsed/lowered as a property wrapper / binding source per coverage; assistive-tech focus runtime absent.
iOS iOS 15macOS macOS 12
AccessibilityFocusState.Binding
@propertyWrapper @frozen public struct Binding
nested binding type not a catalog entry; survives as the projected binding metadata of @AccessibilityFocusState.
iOS iOS 15macOS macOS 12
AccessibilityFocusState.wrappedValue
public var wrappedValue: Value { get nonmutating set }
captured as the lowered wrapper var; no accessibility-focus resolution.
iOS iOS 15macOS macOS 12
AccessibilityFocusState.projectedValue
public var projectedValue: AccessibilityFocusState<Value>.Binding { get }
$projection lowers to a typed binding consumed by .accessibilityFocused(_:).
iOS iOS 15macOS macOS 12
AccessibilityFocusState.init() [Bool]
public init() where Value == Bool
captured via wrapper attribute; overload not distinctly modeled.
iOS iOS 15macOS macOS 12
AccessibilityFocusState.init(for:) [Bool]
public init(for technologies: AccessibilityTechnologies) where Value == Bool
technologies arg captured structurally; AccessibilityTechnologies set not modeled.
iOS iOS 15macOS macOS 12
AccessibilityFocusState.init<T>() [optional Hashable]
public init<T>() where Value == T?, T : Hashable
captured via wrapper attribute; overload not distinctly modeled.
iOS iOS 15macOS macOS 12
AccessibilityFocusState.init<T>(for:) [optional Hashable]
public init<T>(for technologies: AccessibilityTechnologies) where Value == T?, T : Hashable
technologies arg structural only; AccessibilityTechnologies set not modeled.
iOS iOS 15macOS macOS 12
UIApplicationDelegateAdaptor
@MainActor @preconcurrency @propertyWrapper public struct UIApplicationDelegateAdaptor<DelegateType> : DynamicProperty where DelegateType : NSObject, DelegateType : UIApplicationDelegate
fully parsed/lowered as a property wrapper / binding source per coverage; UIKit delegate lifecycle not executed.
iOS iOS 14macOS
UIApplicationDelegateAdaptor.wrappedValue
@MainActor @preconcurrency public var wrappedValue: DelegateType { get }
captured as the lowered wrapper var; no app-delegate instance management.
iOS iOS 14macOS
UIApplicationDelegateAdaptor.init(_:)
@MainActor @preconcurrency public init(_ delegateType: DelegateType.Type = DelegateType.self)
captured via wrapper attribute; delegate type metatype arg structural only.
iOS iOS 14macOS
UIApplicationDelegateAdaptor.init(_:) [ObservableObject]
@MainActor @preconcurrency public init(_ delegateType: DelegateType.Type = DelegateType.self) where DelegateType : ObservableObject
observable-object delegate overload captured via wrapper attribute; not distinctly modeled.
iOS iOS 14macOS
UIApplicationDelegateAdaptor.projectedValue [ObservableObject]
@MainActor @preconcurrency public var projectedValue: ObservedObject<DelegateType>.Wrapper { get }
$projection captured structurally; ObservedObject.Wrapper not resolved at runtime.
iOS iOS 14macOS
NSApplicationDelegateAdaptor
@MainActor @preconcurrency @propertyWrapper public struct NSApplicationDelegateAdaptor<DelegateType> : DynamicProperty where DelegateType : NSObject, DelegateType : NSApplicationDelegate
not in catalog or coverage (only UIApplicationDelegateAdaptor is); macOS twin survives as source text / unknown wrapper attribute.
iOSmacOS macOS 11
NSApplicationDelegateAdaptor.wrappedValue
@MainActor @preconcurrency public var wrappedValue: DelegateType { get }
Member reads on NSApplicationDelegateAdaptor constructions survive structurally; macOS app-delegate lifecycle is not modeled.
iOSmacOS macOS 11
NSApplicationDelegateAdaptor.init(_:)
@MainActor @preconcurrency public init(_ delegateType: DelegateType.Type = DelegateType.self)
not modeled; survives as source text only.
iOSmacOS macOS 11
NSApplicationDelegateAdaptor.init(_:) [ObservableObject]
@MainActor @preconcurrency public init(_ delegateType: DelegateType.Type = DelegateType.self) where DelegateType : ObservableObject
not modeled; survives as source text only.
iOSmacOS macOS 11
NSApplicationDelegateAdaptor.projectedValue [ObservableObject]
@MainActor @preconcurrency public var projectedValue: ObservedObject<DelegateType>.Wrapper { get }
not modeled; survives as source text only.
iOSmacOS macOS 11
View.focused(_:equals:)
nonisolated public func focused<Value>(_ binding: FocusState<Value>.Binding, equals value: Value) -> some View where Value : Hashable
Dedicated UI_SEMANTIC_FOCUSED; lowering maps focused in modules/swiftui/compiler/lower/chain.c:623, and JSON emits semantic.payload.binding plus equals (modules/swiftui/compiler/uiir/json_modifier.c:1749). Focus runtime remains platform policy.
iOS iOS 15macOS macOS 12
View.focused(_:)
nonisolated public func focused(_ condition: FocusState<Bool>.Binding) -> some View
Same UI_SEMANTIC_FOCUSED metadata; bool-binding form emits semantic.payload.binding without equals (modules/swiftui/compiler/uiir/json_modifier.c:1749).
iOS iOS 15macOS macOS 12
View.focusable(_:)
nonisolated public func focusable(_ isFocusable: Bool = true) -> some View
Dedicated UI_SEMANTIC_FOCUSABLE via semantic_kind_for_modifier in modules/swiftui/compiler/lower/chain.c:483; UISemantic.has_focusable/focusable live in include/internal/uiir.h:929; JSON emits payload.isFocusable in modules/swiftui/compiler/uiir/json_modifier.c:1561. Focus runtime remains renderer/platform policy.
iOS iOS 17macOS macOS 12
View.focusable(_:interactions:)
nonisolated public func focusable(_ isFocusable: Bool = true, interactions: FocusInteractions) -> some View
Same UI_SEMANTIC_FOCUSABLE; focus_interactions_from_modifier_arg parses .activate, .edit, .automatic, and option-set arrays in modules/swiftui/compiler/lower/chain.c:1613; UISemantic.focus_interactions lives in include/internal/uiir.h:932; JSON emits payload.interactions in modules/swiftui/compiler/uiir/json_modifier.c:1568.
iOS iOS 17macOS macOS 14
View.focusable(_:onFocusChange:)
nonisolated public func focusable(_ isFocusable: Bool = true, onFocusChange: @escaping (_ isFocused: Bool) -> Void = { _ in }) -> some View
Generated catalog marks focusable as action-capable (include/generated/swiftui_stubs.h:389); lowering keeps the existing UI_SEMANTIC_FOCUSABLE bool/interactions payload and maps onFocusChange to UI_EVENT_PAYLOAD_FOCUS_CHANGE (modules/swiftui/compiler/lower/chain.c:43, chain.c:91), captures the closure as actionIR (chain.c:3641), and JSON emits a Bool isFocused event field (modules/swiftui/compiler/uiir/json_action.c:309). Focus runtime remains renderer/platform policy.
iOSmacOS macOS 10.15 (deprecated 12.0)
View.focusScope(_:)
nonisolated public func focusScope(_ namespace: Namespace.ID) -> some View
Dedicated UI_SEMANTIC_FOCUS_SCOPE; lowering maps focusScope in modules/swiftui/compiler/lower/chain.c:627, and JSON emits semantic.payload.namespace (modules/swiftui/compiler/uiir/json_modifier.c:1758). Focus-scope runtime remains platform policy.
iOSmacOS macOS 12
View.focusSection()
nonisolated public func focusSection() -> some View
Dedicated UI_SEMANTIC_FOCUS_SECTION; lowering maps focusSection in modules/swiftui/compiler/lower/chain.c:629, and JSON emits an empty typed focus-section payload (modules/swiftui/compiler/uiir/json_modifier.c:1761).
iOSmacOS macOS 13
View.prefersDefaultFocus(_:in:)
nonisolated public func prefersDefaultFocus(_ prefersDefaultFocus: Bool = true, in namespace: Namespace.ID) -> some View
Dedicated UI_SEMANTIC_PREFERS_DEFAULT_FOCUS; lowering maps it in modules/swiftui/compiler/lower/chain.c:631, and JSON emits semantic.payload.prefersDefaultFocus plus namespace (modules/swiftui/compiler/uiir/json_modifier.c:1763).
iOSmacOS macOS 12
View.defaultFocus(_:_:priority:)
nonisolated public func defaultFocus<V>(_ binding: FocusState<V>.Binding, _ value: V, priority: DefaultFocusEvaluationPriority = .automatic) -> some View where V : Hashable
Dedicated UI_SEMANTIC_DEFAULT_FOCUS; lowering maps defaultFocus in modules/swiftui/compiler/lower/chain.c:633, and JSON emits semantic.payload.binding, value, and priority (modules/swiftui/compiler/uiir/json_modifier.c:1775). Focus runtime remains platform policy.
iOS iOS 17macOS macOS 13
View.focusEffectDisabled(_:)
nonisolated public func focusEffectDisabled(_ disabled: Bool = true) -> some View
Dedicated UI_SEMANTIC_FOCUS_EFFECT_DISABLED via semantic_kind_for_modifier in modules/swiftui/compiler/lower/chain.c:453; fields live in include/internal/uiir.h:990; JSON emits payload.disabled in modules/swiftui/compiler/uiir/json_modifier.c:1434. Focus-effect rendering remains runtime policy.
iOS iOS 17macOS macOS 14
View.focusedValue(_:_:) [keyPath value]
nonisolated public func focusedValue<Value>(_ keyPath: WritableKeyPath<FocusedValues, Value?>, _ value: Value) -> some View
Dedicated UI_SEMANTIC_FOCUSED_VALUE; lowering maps focusedValue in modules/swiftui/compiler/lower/chain.c:635, and JSON emits semantic.payload.keyPath plus value (modules/swiftui/compiler/uiir/json_modifier.c:1786). Focused-value runtime remains platform policy.
iOS iOS 14macOS macOS 11
View.focusedValue(_:_:) [keyPath optional]
nonisolated public func focusedValue<Value>(_ keyPath: WritableKeyPath<FocusedValues, Value?>, _ value: Value?) -> some View
Same UI_SEMANTIC_FOCUSED_VALUE metadata; optional value overload still emits semantic.payload.keyPath plus value (modules/swiftui/compiler/uiir/json_modifier.c:1786).
iOS iOS 16macOS macOS 13
View.focusedValue(_:) [Observable object]
nonisolated public func focusedValue<T>(_ object: T?) -> some View where T : AnyObject, T : Observable
Same UI_SEMANTIC_FOCUSED_VALUE metadata; one-arg object overload emits semantic.payload.object (modules/swiftui/compiler/uiir/json_modifier.c:1786).
iOS iOS 17macOS macOS 14
View.focusedObject(_:) [non-optional]
@inlinable nonisolated public func focusedObject<T>(_ object: T) -> some View where T : ObservableObject
Dedicated UI_SEMANTIC_FOCUSED_OBJECT; lowering maps focusedObject in modules/swiftui/compiler/lower/chain.c:639, and JSON emits semantic.payload.object (modules/swiftui/compiler/uiir/json_modifier.c:1797). Focused-object runtime remains platform policy.
iOS iOS 16macOS macOS 13
View.focusedObject(_:) [optional]
@inlinable nonisolated public func focusedObject<T>(_ object: T?) -> some View where T : ObservableObject
Same UI_SEMANTIC_FOCUSED_OBJECT metadata; optional object arg is captured as semantic.payload.object (modules/swiftui/compiler/uiir/json_modifier.c:1797).
iOS iOS 16macOS macOS 13
View.focusedSceneValue(_:_:) [keyPath value]
nonisolated public func focusedSceneValue<T>(_ keyPath: WritableKeyPath<FocusedValues, T?>, _ value: T) -> some View
Dedicated UI_SEMANTIC_FOCUSED_SCENE_VALUE; lowering maps focusedSceneValue in modules/swiftui/compiler/lower/chain.c:637, and JSON emits semantic.payload.keyPath plus value (modules/swiftui/compiler/uiir/json_modifier.c:1786).
iOS iOS 15macOS macOS 12
View.focusedSceneValue(_:_:) [keyPath optional]
nonisolated public func focusedSceneValue<T>(_ keyPath: WritableKeyPath<FocusedValues, T?>, _ value: T?) -> some View
Same UI_SEMANTIC_FOCUSED_SCENE_VALUE metadata; optional value overload still emits semantic.payload.keyPath plus value (modules/swiftui/compiler/uiir/json_modifier.c:1786).
iOS iOS 16macOS macOS 13
View.focusedSceneValue(_:) [Observable object]
nonisolated public func focusedSceneValue<T>(_ object: T?) -> some View where T : AnyObject, T : Observable
Same UI_SEMANTIC_FOCUSED_SCENE_VALUE metadata; object overload emits semantic.payload.object (modules/swiftui/compiler/uiir/json_modifier.c:1786).
iOS iOS 17macOS macOS 14
View.focusedSceneObject(_:) [non-optional]
@inlinable nonisolated public func focusedSceneObject<T>(_ object: T) -> some View where T : ObservableObject
Dedicated UI_SEMANTIC_FOCUSED_SCENE_OBJECT; lowering maps focusedSceneObject in modules/swiftui/compiler/lower/chain.c:641, and JSON emits semantic.payload.object (modules/swiftui/compiler/uiir/json_modifier.c:1797).
iOS iOS 16macOS macOS 13
View.focusedSceneObject(_:) [optional]
@inlinable nonisolated public func focusedSceneObject<T>(_ object: T?) -> some View where T : ObservableObject
Same UI_SEMANTIC_FOCUSED_SCENE_OBJECT metadata; optional object arg is captured as semantic.payload.object (modules/swiftui/compiler/uiir/json_modifier.c:1797).
iOS iOS 16macOS macOS 13
View.accessibilityFocused(_:equals:)
nonisolated public func accessibilityFocused<Value>(_ binding: AccessibilityFocusState<Value>.Binding, equals value: Value) -> some View where Value : Hashable
Dedicated UI_ACCESSIBILITY_FOCUSED; lowering maps accessibilityFocused in modules/swiftui/compiler/lower/chain.c:141, and JSON emits accessibility.payload.binding plus equals (modules/swiftui/compiler/uiir/json_modifier.c:698). Focus runtime remains platform policy.
iOS iOS 15macOS macOS 12
View.accessibilityFocused(_:)
nonisolated public func accessibilityFocused(_ condition: AccessibilityFocusState<Bool>.Binding) -> some View
Same UI_ACCESSIBILITY_FOCUSED metadata; bool-binding form emits accessibility.payload.binding without equals (modules/swiftui/compiler/uiir/json_modifier.c:698).
iOS iOS 15macOS macOS 12
View.searchFocused(_:)
nonisolated public func searchFocused(_ binding: FocusState<Bool>.Binding) -> some View
Dedicated UI_SEMANTIC_SEARCH_FOCUSED; lowering maps searchFocused in modules/swiftui/compiler/lower/chain.c:625, and JSON emits semantic.payload.binding (modules/swiftui/compiler/uiir/json_modifier.c:1750). Search focus runtime remains platform policy.
iOS iOS 18macOS macOS 15
View.searchFocused(_:equals:)
nonisolated public func searchFocused<V>(_ binding: FocusState<V>.Binding, equals value: V) -> some View where V : Hashable
Same UI_SEMANTIC_SEARCH_FOCUSED metadata; value overload emits semantic.payload.binding plus equals (modules/swiftui/compiler/uiir/json_modifier.c:1750).
iOS iOS 18macOS macOS 15
DefaultFocusEvaluationPriority
public struct DefaultFocusEvaluationPriority : Sendable { static let automatic; static let userInitiated }
module struct stub preserves default-focus priority metadata; focus engine runtime remains renderer policy.
iOS iOS 16macOS macOS 13
FocusInteractions
public struct FocusInteractions : OptionSet, Sendable
Contextually lowered by focusable(_:interactions:) into payload.interactions; standalone value/type references still survive as raw expression text.
iOS iOS 17macOS macOS 14
AccessibilityTechnologies
public struct AccessibilityTechnologies : SetAlgebra, Sendable
module struct stub preserves accessibility-technology set metadata; assistive-tech runtime remains absent.
iOS iOS 15macOS macOS 12

17. Gestures

61·70·0
Gesture (protocol)
public protocol Gesture { associatedtype Value; associatedtype Body : Gesture; var body: Self.Body { get } }
module protocol stub preserves gesture type metadata; protocol body/associated-value runtime is not executed.
iOSmacOS
View.gesture(_:including:)
func gesture<T>(_ gesture: T, including mask: GestureMask = .all) -> some View where T : Gesture
Core decl is SwiftUICore (not in dump) but modifier is a catalogued action family; coverage lists structured gestures; web renders handlers.
iOSmacOS
View.gesture(_:) (recognizer)
nonisolated func gesture(_ representable: some UIGestureRecognizerRepresentable) -> some View
gesture is action mod; UIKit recognizer-representable variant has no typed payload, captured generically; web wires only built-in closures.
iOS iOS 18macOS
View.gesture(_:) (macOS recognizer)
nonisolated func gesture(_ representable: some NSGestureRecognizerRepresentable) -> some View
macOS NSGestureRecognizerRepresentable variant; catalogued as gesture action mod but no recognizer runtime; payload generic.
iOSmacOS macOS 15
View.simultaneousGesture(_:including:)
func simultaneousGesture<T>(_ gesture: T, including mask: GestureMask = .all) -> some View where T : Gesture
Core decl in SwiftUICore (not in dump); modifier is catalogued action family in coverage structured gestures; no composition runtime.
iOSmacOS
View.highPriorityGesture(_:including:)
func highPriorityGesture<T>(_ gesture: T, including mask: GestureMask = .all) -> some View where T : Gesture
Core decl SwiftUICore (not in dump); modifier is catalogued action family, in coverage structured gestures; priority resolution not modeled.
iOSmacOS
View.onTapGesture(count:perform:)
func onTapGesture(count: Int = 1, perform action: @escaping () -> Void) -> some View
Simple form is SwiftUICore (not in dump). Catalogued action mod, tap payload, web fires real taps; Android lowers to clickable (pending).
iOSmacOS
View.onTapGesture(count:coordinateSpace:perform:)
func onTapGesture(count: Int = 1, coordinateSpace: CoordinateSpace = .local, perform action: @escaping (CGPoint) -> Void) -> some View
Deprecated CoordinateSpace overload; catalogued action mod with tap payload; web renders real tap, location/coordinateSpace not threaded.
iOS iOS 16macOS macOS 13
View.onTapGesture(count:coordinateSpace:perform:) (proto)
func onTapGesture(count: Int = 1, coordinateSpace: some CoordinateSpaceProtocol = .local, perform action: @escaping (CGPoint) -> Void) -> some View
CoordinateSpaceProtocol overload; action mod, tap payload; web real tap; coordinate space arg captured generically.
iOS iOS 17macOS macOS 14
View.onLongPressGesture(minimumDuration:maximumDistance:perform:onPressingChanged:)
func onLongPressGesture(minimumDuration: Double = 0.5, maximumDistance: CGFloat = 10, perform action: @escaping () -> Void, onPressingChanged: ((Bool) -> Void)? = nil) -> some View
Catalogued action mod with long-press payload; web renderer does true press-and-hold (timer=minimumDuration, move cancels).
iOS iOS 13macOS macOS 10.15
View.onLongPressGesture(minimumDuration:maximumDistance:pressing:perform:)
func onLongPressGesture(minimumDuration: Double = 0.5, maximumDistance: CGFloat = 10, pressing: ((Bool) -> Void)? = nil, perform action: @escaping () -> Void) -> some View
Deprecated pressing: ordering; same long-press action family + payload; web press-and-hold; pressing callback captured as closure.
iOS iOS 13 depmacOS macOS 10.15 dep
View.onLongTouchGesture(...)
func onLongTouchGesture(minimumDuration:perform:onTouchingChanged:) -> some View
watchOS-only; absent from both dumps but name is in modifier catalog; generic UIMod only, no payload/handler.
iOSmacOS
TapGesture
public struct TapGesture : Gesture { public var count: Int; public init(count: Int = 1) }
Inline TapGesture(count:) inside .gesture(...) lowers as a tap event payload with tapCount; web click handling honors single and multi-tap counts.
iOSmacOS
SpatialTapGesture
public struct SpatialTapGesture : Gesture { public var count: Int; public var coordinateSpace: CoordinateSpace }
Not in view catalog; survives as gesture(_:) tap-like payload with count and value.location; standalone struct storage/equality remains untyped.
iOS iOS 16macOS macOS 13
SpatialTapGesture.init(count:coordinateSpace:)
init(count: Int = 1, coordinateSpace: CoordinateSpace = .local)
Inline gesture lowers as tap payload with tapCount, preserves SpatialTapGesture.Value, and web binds content-space location; coordinateSpace remains captured structurally.
iOS iOS 16 depmacOS macOS 13 dep
SpatialTapGesture.init(count:coordinateSpace:) (proto)
init(count: Int = 1, coordinateSpace: some CoordinateSpaceProtocol = .local)
CoordinateSpaceProtocol init lowers as tap payload with tapCount, preserves SpatialTapGesture.Value, and web binds content-space location; coordinate remapping remains platform policy.
iOS iOS 17macOS macOS 14
SpatialTapGesture.Value
public struct Value : Equatable, @unchecked Sendable { public var location: CGPoint }
module nested value stub preserves typed tap-value metadata and UIIR exposes location; standalone Equatable/Sendable value semantics are not modeled.
iOS iOS 16macOS macOS 13
SpatialTapGesture.Value.location
public var location: CGPoint
SpatialTapGesture(...).onEnded { value in ... } exposes a typed location: CGPoint payload field and web binds the clicked content-space point as value.location.
iOS iOS 16macOS macOS 13
LongPressGesture
public struct LongPressGesture : Gesture { public var minimumDuration: Double; public var maximumDistance: CGFloat }
Not in view catalog; captured as gesture(_:) long-press payload; web renderer does real press-and-hold; struct itself untyped.
iOS iOS 13macOS macOS 10.15
LongPressGesture.init(minimumDuration:maximumDistance:)
init(minimumDuration: Double = 0.5, maximumDistance: CGFloat = 10)
Inline LongPressGesture(...) inside .gesture(...) lowers gestureType, minimumDuration, and maximumDistance; web press-and-hold honors both timer and movement-cancel threshold.
iOS iOS 13macOS macOS 10.15
LongPressGesture.minimumDuration
public var minimumDuration: Double
Threaded to web press-and-hold timer when set inline; not a typed model field.
iOS iOS 13macOS macOS 10.15
LongPressGesture.maximumDistance
public var maximumDistance: CGFloat
Member read survives structurally; cancellation-distance behavior remains renderer/runtime policy.
iOS iOS 13macOS macOS 10.15
LongPressGesture.Value
public typealias Value = Bool
module value/typealias stub preserves long-press value metadata; recognizer runtime remains contextual.
iOS iOS 13macOS macOS 10.15
DragGesture
public struct DragGesture : Gesture { public var minimumDistance: CGFloat; public var coordinateSpace: CoordinateSpace }
Not in view catalog; captured as gesture(_:) drag payload; web tracks pointer translation onChanged/onEnded (2026-05-31); struct untyped.
iOS iOS 13macOS macOS 10.15
DragGesture.init(minimumDistance:coordinateSpace:)
init(minimumDistance: CGFloat = 10, coordinateSpace: CoordinateSpace = .local)
Deprecated CoordinateSpace init; inline minimumDistance lowers into the gesture payload and web drag honors it as the activation threshold; coordinateSpace remains captured structurally.
iOS iOS 13 depmacOS macOS 10.15 dep
DragGesture.init(minimumDistance:coordinateSpace:) (proto)
init(minimumDistance: CGFloat = 10, coordinateSpace: some CoordinateSpaceProtocol = .local)
CoordinateSpaceProtocol init; inline minimumDistance lowers into the gesture payload and web drag honors it as the activation threshold; coordinateSpace remapping remains platform policy.
iOS iOS 17macOS macOS 14
DragGesture.minimumDistance
public var minimumDistance: CGFloat
Member read survives structurally; inline constructor values now drive the web drag threshold, but there is no typed model field.
iOS iOS 13macOS macOS 10.15
DragGesture.coordinateSpace
public var coordinateSpace: CoordinateSpace
Member read survives structurally; coordinate-space remapping is not evaluated.
iOS iOS 13macOS macOS 10.15
DragGesture.Value
public struct Value : Equatable, Sendable { var time; var location; var startLocation; var translation; ... }
Drag value not a typed struct, but web synthesizes value.translation/location/startLocation into gesture closure scope for onChanged.
iOS iOS 13macOS macOS 10.15
DragGesture.Value.time
public var time: Date
Member read survives structurally; real event timestamps are not synthesized in UIIR.
iOS iOS 13macOS macOS 10.15
DragGesture.Value.location
public var location: CGPoint
UIIR exposes typed location: CGPoint for drag payloads, and web binds the current content-space pointer as value.location.
iOS iOS 13macOS macOS 10.15
DragGesture.Value.startLocation
public var startLocation: CGPoint
UIIR exposes typed startLocation: CGPoint, and web binds the initial press point as value.startLocation.
iOS iOS 13macOS macOS 10.15
DragGesture.Value.translation
public var translation: CGSize { get }
UIIR exposes typed translation: CGSize, and web binds pointer delta as value.translation for drag onChanged/onEnded.
iOS iOS 13macOS macOS 10.15
DragGesture.Value.velocity
public var velocity: CGSize { get }
Member read survives structurally; velocity is not computed by lowering.
iOS iOS 13macOS macOS 10.15
DragGesture.Value.predictedEndLocation
public var predictedEndLocation: CGPoint { get }
Member read survives structurally; prediction is not computed by lowering.
iOS iOS 13macOS macOS 10.15
DragGesture.Value.predictedEndTranslation
public var predictedEndTranslation: CGSize { get }
Member read survives structurally; prediction is not computed by lowering.
iOS iOS 13macOS macOS 10.15
MagnifyGesture
public struct MagnifyGesture : Gesture { public var minimumScaleDelta: CGFloat; public init(minimumScaleDelta: CGFloat = 0.01) }
Not in view catalog; captured as gesture(_:) magnify payload; web rides wheel for pinch emulation (cumulative); struct untyped.
iOS iOS 17macOS macOS 14
MagnifyGesture.init(minimumScaleDelta:)
init(minimumScaleDelta: CGFloat = 0.01)
Inline minimumScaleDelta lowers into the gesture payload, and web wheel-pinch honors it as the minimum cumulative scale delta before onChanged.
iOS iOS 17macOS macOS 14
MagnifyGesture.Value
public struct Value : Equatable, Sendable { var time; var magnification; var velocity; var startAnchor; var startLocation }
module nested value stub preserves magnify-value metadata; UIIR exposes modern fields, but time/equality/native recognizer semantics remain partial.
iOS iOS 17macOS macOS 14
MagnifyGesture.Value.magnification
public var magnification: CGFloat
Modern MagnifyGesture().onChanged { value in ... } exposes typed magnification in UIIR and web wheel-pinch binds cumulative scale as value.magnification.
iOS iOS 17macOS macOS 14
MagnifyGesture.Value.velocity / startAnchor / startLocation
public var velocity: CGFloat; var startAnchor: UnitPoint; var startLocation: CGPoint
Member reads survive structurally; velocity/anchor/location calculation remains renderer/runtime policy.
iOS iOS 17macOS macOS 14
MagnificationGesture
public struct MagnificationGesture : Gesture { public var minimumScaleDelta: CGFloat }
Deprecated (renamed MagnifyGesture); captured as gesture magnify payload; web wheel pinch emulation; struct untyped.
iOS iOS 13 depmacOS macOS 10.15 dep
MagnificationGesture.init(minimumScaleDelta:)
init(minimumScaleDelta: CGFloat = 0.01)
Deprecated gesture init lowers minimumScaleDelta into the magnify payload, and web wheel-pinch honors it as the activation delta.
iOS iOS 13 depmacOS macOS 10.15 dep
MagnificationGesture.Value
public typealias Value = CGFloat
module value/typealias stub preserves magnification value metadata; no standalone payload runtime.
iOS iOS 13 depmacOS macOS 10.15 dep
RotateGesture
public struct RotateGesture : Gesture { public var minimumAngleDelta: Angle; public init(minimumAngleDelta: Angle = .degrees(1)) }
Not in view catalog; captured as gesture(_:) rotate payload; web rides wheel for twist emulation (cumulative); struct untyped.
iOS iOS 17macOS macOS 14
RotateGesture.init(minimumAngleDelta:)
init(minimumAngleDelta: Angle = .degrees(1))
Inline minimumAngleDelta lowers as normalized degrees, and web wheel-rotate honors it as the minimum cumulative angle delta before onChanged.
iOS iOS 17macOS macOS 14
RotateGesture.Value
public struct Value : Equatable, Sendable { var time; var rotation: Angle; var velocity: Angle; var startAnchor; var startLocation }
module nested value stub preserves rotate-value metadata; UIIR exposes modern fields, but time/equality/native recognizer semantics remain partial.
iOS iOS 17macOS macOS 14
RotateGesture.Value.rotation
public var rotation: Angle
Modern RotateGesture().onChanged { value in ... } exposes typed rotation in UIIR and web wheel-rotate binds cumulative Angle as value.rotation.
iOS iOS 17macOS macOS 14
RotateGesture.Value.velocity / startAnchor / startLocation
public var velocity: Angle; var startAnchor: UnitPoint; var startLocation: CGPoint
Member reads survive structurally; velocity/anchor/location calculation remains renderer/runtime policy.
iOS iOS 17macOS macOS 14
RotationGesture
public struct RotationGesture : Gesture { public var minimumAngleDelta: Angle }
Deprecated (renamed RotateGesture); captured as gesture rotate payload; web wheel twist emulation; struct untyped.
iOS iOS 13 depmacOS macOS 10.15 dep
RotationGesture.init(minimumAngleDelta:)
init(minimumAngleDelta: Angle = .degrees(1))
Deprecated gesture init lowers minimumAngleDelta as normalized degrees, and web wheel-rotate honors it as the activation delta.
iOS iOS 13 depmacOS macOS 10.15 dep
RotationGesture.Value
public typealias Value = Angle
module value/typealias stub preserves rotation value metadata; no standalone payload runtime.
iOS iOS 13 depmacOS macOS 10.15 dep
SpatialEventGesture
public struct SpatialEventGesture : Gesture { public let coordinateSpace: CoordinateSpace; public init(coordinateSpace: ... = .local) }
module struct stub preserves spatial-event gesture metadata; low-level spatial event runtime remains absent.
iOS iOS 18macOS macOS 15
SpatialEventGesture.init(coordinateSpace:)
init(coordinateSpace: any CoordinateSpaceProtocol = .local)
Constructor call preserves coordinateSpace structurally; low-level spatial event runtime remains absent.
iOS iOS 18macOS macOS 15
SpatialEventGesture.Value
public typealias Value = SpatialEventCollection
module value/typealias stub preserves spatial-event value metadata; event payload runtime remains absent.
iOS iOS 18macOS macOS 15
SpatialEventCollection
public struct SpatialEventCollection : Collection { ... }
module struct stub preserves spatial-event collection metadata; collection/event runtime remains absent.
iOS iOS 18macOS macOS 15
SequenceGesture
@frozen public struct SequenceGesture<First, Second> : Gesture where First : Gesture, Second : Gesture
module struct stub preserves sequence-gesture metadata; composed gesture recognition remains unimplemented.
iOS iOS 13macOS macOS 10.15
SequenceGesture.init(_:_:)
@inlinable init(_ first: First, _ second: Second)
Composition constructor preserves first/second gesture expressions structurally; composed recognition is not implemented.
iOS iOS 13macOS macOS 10.15
SequenceGesture.first / second
public var first: First; public var second: Second
Member reads survive structurally; composed recognizer runtime is not implemented.
iOS iOS 13macOS macOS 10.15
SequenceGesture.Value
@frozen public enum Value { case first(First.Value); case second(First.Value, Second.Value?) }
module nested enum/value stub preserves sequence value metadata; no composed recognizer runtime.
iOS iOS 13macOS macOS 10.15
SimultaneousGesture
public struct SimultaneousGesture<First, Second> : Gesture { public struct Value }
module struct stub preserves simultaneous-gesture metadata; composed gesture recognition remains unimplemented.
iOSmacOS
ExclusiveGesture
public struct ExclusiveGesture<First, Second> : Gesture { public enum Value }
module struct stub preserves exclusive-gesture metadata; composed gesture recognition remains unimplemented.
iOSmacOS
GestureStateGesture
@frozen public struct GestureStateGesture<Base, State> : Gesture where Base : Gesture
module struct stub preserves typed updating-gesture metadata; recognizer/state-update execution remains unmodeled.
iOS iOS 13macOS macOS 10.15
GestureStateGesture.init(base:state:body:)
@inlinable init(base: Base, state: GestureState<State>, body: @escaping (Value, inout State, inout Transaction) -> Void)
Constructor call preserves base/state/body closure structurally; updating gesture runtime remains unmodeled.
iOS iOS 13macOS macOS 10.15
GestureStateGesture.base / state / body
public var base: Base; public var state: GestureState<State>; public var body: (...) -> Void
Member reads survive structurally; updating gesture runtime remains unmodeled.
iOS iOS 13macOS macOS 10.15
AnyGesture
public struct AnyGesture<Value> : Gesture { public init<T>(_ gesture: T) where Value == T.Value }
module struct stub preserves type-erased gesture metadata; recognizer dispatch remains contextual.
iOSmacOS
GestureMask
public struct GestureMask : OptionSet { static let none/gesture/subviews/all }
module struct stub preserves gesture-mask option metadata; inclusion behavior remains structural.
iOSmacOS
Gesture.sequenced(before:)
@MainActor @inlinable func sequenced<Other>(before other: Other) -> SequenceGesture<Self, Other> where Other : Gesture
Combinator call preserves the other gesture structurally; composition recognition is not implemented.
iOS iOS 13macOS macOS 10.15
Gesture.updating(_:body:)
@MainActor @inlinable func updating<State>(_ state: GestureState<State>, body: @escaping (Self.Value, inout State, inout Transaction) -> Void) -> GestureStateGesture<Self, State>
Combinator in dump; @GestureState wrapper is lowered so the state binding is modeled, but updating call/body is only a captured closure.
iOS iOS 13macOS macOS 10.15
Gesture.onChanged(_:)
func onChanged(_ action: @escaping (Self.Value) -> Void) -> _ChangedGesture<Self>
SwiftUICore combinator (not in dump); web hoists onChanged closure from drag/magnify/rotate chains and runs it per move; not a typed model.
iOSmacOS
Gesture.onEnded(_:)
func onEnded(_ action: @escaping (Self.Value) -> Void) -> _EndedGesture<Self>
SwiftUICore combinator (not in dump); web hoists onEnded closure and fires on release; not a typed model.
iOSmacOS
Gesture.simultaneously(with:)
func simultaneously<Other>(with other: Other) -> SimultaneousGesture<Self, Other> where Other : Gesture
Combinator call preserves the other gesture structurally; simultaneous recognition is not implemented.
iOSmacOS
Gesture.exclusively(before:)
func exclusively<Other>(before other: Other) -> ExclusiveGesture<Self, Other> where Other : Gesture
Combinator call preserves the other gesture structurally; exclusive recognition is not implemented.
iOSmacOS
Gesture.map(_:)
func map<T>(_ body: @escaping (Self.Value) -> T) -> _MapGesture<Self, T>
Mapping closure survives structurally; gesture value-mapping runtime is not implemented.
iOSmacOS
Gesture.modifiers(_:)
func modifiers(_ modifiers: EventModifiers) -> _ModifiersGesture<Self>
Event-modifier token survives structurally; filtered recognition is not implemented.
iOSmacOS
GestureState (property wrapper)
@propertyWrapper @frozen public struct GestureState<Value> : DynamicProperty
Fully parsed and lowered as a property wrapper / binding source per coverage.md; registers state var and projected binding.
iOS iOS 13macOS macOS 10.15
GestureState.init(wrappedValue:)
public init(wrappedValue: Value)
Wrapper init lowered with initializer expression metadata.
iOS iOS 13macOS macOS 10.15
GestureState.init(initialValue:)
public init(initialValue: Value)
initialValue init lowered as property-wrapper source.
iOS iOS 13macOS macOS 10.15
GestureState.init(wrappedValue:resetTransaction:)
public init(wrappedValue: Value, resetTransaction: Transaction)
Wrapper lowered; resetTransaction arg captured generically, no transaction runtime.
iOS iOS 13macOS macOS 10.15
GestureState.init(initialValue:resetTransaction:)
public init(initialValue: Value, resetTransaction: Transaction)
Wrapper lowered; resetTransaction captured generically; no runtime.
iOS iOS 13macOS macOS 10.15
GestureState.init(wrappedValue:reset:)
public init(wrappedValue: Value, reset: @escaping (Value, inout Transaction) -> Void)
Wrapper lowered; reset closure captured but not executed.
iOS iOS 13macOS macOS 10.15
GestureState.init(initialValue:reset:)
public init(initialValue: Value, reset: @escaping (Value, inout Transaction) -> Void)
Wrapper lowered; reset closure captured but not executed.
iOS iOS 13macOS macOS 10.15
GestureState.init(resetTransaction:) (nil-literal)
public init(resetTransaction: Transaction = Transaction())
ExpressibleByNilLiteral overload; wrapper lowered; transaction captured generically.
iOS iOS 13macOS macOS 10.15
GestureState.init(reset:) (nil-literal)
public init(reset: @escaping (Value, inout Transaction) -> Void)
ExpressibleByNilLiteral overload; wrapper lowered; reset closure not executed.
iOS iOS 13macOS macOS 10.15
GestureState.wrappedValue
public var wrappedValue: Value { get }
Wrapped value exposed via lowered state storage.
iOS iOS 13macOS macOS 10.15
GestureState.projectedValue
public var projectedValue: GestureState<Value> { get }
$-projection modeled as binding source used by updating(_:body:).
iOS iOS 13macOS macOS 10.15
View.onHover(perform:)
@inlinable func onHover(perform action: @escaping (Bool) -> Void) -> some View
Generated catalog marks onHover as action (include/generated/swiftui_stubs.h:493); lowering maps it to UI_EVENT_PAYLOAD_HOVER in modules/swiftui/compiler/lower/chain.c:45, captures the closure as actionIR, and JSON emits a Bool isHovered event field in modules/swiftui/compiler/uiir/json_action.c:313. Pointer runtime remains renderer/platform policy.
iOS iOS 13.4macOS macOS 10.15
View.onContinuousHover(coordinateSpace:perform:)
func onContinuousHover(coordinateSpace: CoordinateSpace = .local, perform action: @escaping (HoverPhase) -> Void) -> some View
Generated catalog marks onContinuousHover as action (include/generated/swiftui_stubs.h:483); lowering maps it to UI_EVENT_PAYLOAD_CONTINUOUS_HOVER (modules/swiftui/compiler/lower/chain.c:47) and UI_SEMANTIC_CONTINUOUS_HOVER (chain.c:921), with default/explicit coordinateSpace decomposed in chain.c:3096 and JSON emitting HoverPhase fields plus payload.coordinateSpaceKind (modules/swiftui/compiler/uiir/json_action.c:317, modules/swiftui/compiler/uiir/json_modifier.c:1839).
iOS iOS 16macOS macOS 13
View.onContinuousHover(coordinateSpace:perform:) (proto)
func onContinuousHover(coordinateSpace: some CoordinateSpaceProtocol = .local, perform action: @escaping (HoverPhase) -> Void) -> some View
Same UI_EVENT_PAYLOAD_CONTINUOUS_HOVER/UI_SEMANTIC_CONTINUOUS_HOVER path as the concrete overload; the closure lowers to actionIR with a typed HoverPhase event payload, and coordinateSpace defaults to local or decomposes .global/.local/.named(...) into semantic payload fields.
iOS iOS 17macOS macOS 13
View.hoverEffect(_:isEnabled:) (custom)
func hoverEffect(_ effect: some CustomHoverEffect = .automatic, isEnabled: Bool = true) -> some View
Dedicated UI_SEMANTIC_HOVER_EFFECT maps the modifier (modules/swiftui/compiler/lower/chain.c:466) and captures isEnabled, but CustomHoverEffect args remain raw payload.effect (modules/swiftui/compiler/lower/chain.c:2246, modules/swiftui/compiler/uiir/json_modifier.c:1498). No hover-effect runtime.
iOS iOS 18macOS
View.hoverEffect(_:) (HoverEffect)
func hoverEffect(_ effect: HoverEffect = .automatic) -> some View
Dedicated UI_SEMANTIC_HOVER_EFFECT; .automatic/.highlight/.lift decompose to UISemantic.hover_effect (include/internal/uiir.h:1027, modules/swiftui/compiler/lower/chain.c:1668, modules/swiftui/compiler/lower/chain.c:2246) and JSON emits payload.effect plus default payload.isEnabled=true (modules/swiftui/compiler/uiir/json_modifier.c:1498). Hover-effect rendering remains runtime policy.
iOS iOS 13.4macOS
View.hoverEffect(_:isEnabled:) (HoverEffect)
func hoverEffect(_ effect: HoverEffect = .automatic, isEnabled: Bool = true) -> some View
Same UI_SEMANTIC_HOVER_EFFECT; HoverEffect tokens lower to UISemantic.hover_effect and literal isEnabled lowers to UISemantic.hover_effect_enabled (include/internal/uiir.h:1027, modules/swiftui/compiler/lower/chain.c:2246), with dynamic bools preserved as raw arg payloads (modules/swiftui/compiler/uiir/json_modifier.c:1498).
iOS iOS 17macOS
View.defaultHoverEffect(_:) (HoverEffect?)
func defaultHoverEffect(_ effect: HoverEffect?) -> some View
Dedicated UI_SEMANTIC_DEFAULT_HOVER_EFFECT; HoverEffect tokens lower to UISemantic.default_hover_effect and nil lowers to UISemantic.has_default_hover_effect_nil (include/internal/uiir.h:1030, include/internal/uiir.h:1031, modules/swiftui/compiler/lower/chain.c:2246), with JSON payload.effect as a token or null (modules/swiftui/compiler/uiir/json_modifier.c:1518).
iOS iOS 17macOS
View.defaultHoverEffect(_:) (custom)
func defaultHoverEffect(_ effect: some CustomHoverEffect) -> some View
Dedicated UI_SEMANTIC_DEFAULT_HOVER_EFFECT maps the modifier (modules/swiftui/compiler/lower/chain.c:468), but CustomHoverEffect args remain raw payload.effect; only standard HoverEffect tokens/nil decompose (modules/swiftui/compiler/lower/chain.c:2246, modules/swiftui/compiler/uiir/json_modifier.c:1518).
iOS iOS 17macOS
View.hoverEffectDisabled(_:)
func hoverEffectDisabled(_ disabled: Bool = true) -> some View
Dedicated UI_SEMANTIC_HOVER_EFFECT_DISABLED via semantic_kind_for_modifier in modules/swiftui/compiler/lower/chain.c:471; fields live in include/internal/uiir.h:1035; JSON emits payload.disabled in modules/swiftui/compiler/uiir/json_modifier.c:1540. Hover-effect rendering remains runtime policy.
iOS iOS 17macOS
View.hoverEffectGroup(...)
func hoverEffectGroup(...) -> some View
hoverEffectGroup name in modifier catalog as generic UIMod; no dedicated semantics; macOS-unavailable.
iOS iOS 17macOS
View.handGestureShortcut(_:isEnabled:)
func handGestureShortcut(_ shortcut: HandGestureShortcut, isEnabled: Bool = true) -> some View
handGestureShortcut catalogued as generic UIMod; HandGestureShortcut arg captured generically; no runtime (visionOS-oriented).
iOS iOS 18macOS macOS 15
View.defersSystemGestures(on:)
func defersSystemGestures(on edges: Edge.Set) -> some View
Dedicated UI_SEMANTIC_DEFERS_SYSTEM_GESTURES; Edge.Set args including .bottom, .all, and arrays decompose to UISemantic.defers_system_gesture_edges (include/internal/uiir.h:1033, modules/swiftui/compiler/lower/chain.c:472, modules/swiftui/compiler/lower/chain.c:2283), with JSON payload.edges (modules/swiftui/compiler/uiir/json_modifier.c:1526). System-gesture runtime remains platform policy.
iOS iOS 16macOS
View.onPencilDoubleTap(perform:)
func onPencilDoubleTap(perform action: @escaping (_ value: PencilDoubleTapGestureValue) -> Void) -> some View
onPencilDoubleTap in catalog as generic UIMod; pencil events out of scope per gap matrix; closure captured generically.
iOS iOS 17.5macOS macOS 14.5
PencilDoubleTapGestureValue
public struct PencilDoubleTapGestureValue : Hashable { ... }
module struct stub preserves pencil double-tap value metadata; hardware event runtime remains absent.
iOS iOS 17.5macOS macOS 14.5
HandGestureShortcut
public struct HandGestureShortcut : Sendable, Equatable { ... }
module struct stub preserves hand gesture shortcut metadata; platform gesture runtime remains absent.
iOS iOS 18macOS macOS 15
HoverPhase
@frozen public enum HoverPhase : Equatable { case active(CGPoint); case ended }
Contextually modeled as UI_EVENT_PAYLOAD_CONTINUOUS_HOVER valueType with HoverPhase event fields (modules/swiftui/compiler/uiir/json_action.c:317); standalone enum construction/cases are still structural/source.
iOS iOS 16macOS macOS 13
HoverEffect
public struct HoverEffect { static var automatic/highlight/lift }
Standalone value type is not catalogued, but .hoverEffect/.defaultHoverEffect now lower .automatic/.highlight/.lift contextually to typed UISemantic token payloads (modules/swiftui/compiler/lower/chain.c:1668, modules/swiftui/compiler/uiir/json_modifier.c:1498). Other value contexts remain raw.
iOS iOS 13.4macOS
View.onAppear(perform:)
@inlinable nonisolated public func onAppear(perform action: (() -> Void)? = nil) -> some View
Catalogued (is_action=1); chain.c: UI_EVENT_PAYLOAD_LIFECYCLE → dedicated typed action modifier; web fires after view renders. SwiftUICore modifier (not in dump).
iOS allmacOS all
View.onDisappear(perform:)
@inlinable nonisolated public func onDisappear(perform action: (() -> Void)? = nil) -> some View
Catalogued (is_action=1); chain.c: UI_EVENT_PAYLOAD_LIFECYCLE → dedicated typed action modifier; web fires on unmount. SwiftUICore modifier (not in dump).
iOS allmacOS all
View.onChange(of:perform:)
@inlinable nonisolated public func onChange<V>(of value: V, perform action: @escaping (_ newValue: V) -> Void) -> some View where V : Equatable
Deprecated as of iOS 17/macOS 14 but still fully captured: generated catalog marks onChange as action-capable (include/generated/swiftui_stubs.h:236), lowering maps it to UI_EVENT_PAYLOAD_CHANGE/ObservedValue (modules/swiftui/compiler/lower/chain.c:39, chain.c:88), captures the single-param closure as actionIR (chain.c:3676), and JSON emits the typed value event field (modules/swiftui/compiler/uiir/json_action.c:294).
iOS iOS 14macOS macOS 11
View.onChange(of:initial:_:)
nonisolated public func onChange<V>(of value: V, initial: Bool = false, _ action: @escaping (_ oldValue: V, _ newValue: V) -> Void) -> some View where V : Equatable
Catalogued (is_action=1); chain.c: UI_EVENT_PAYLOAD_CHANGE → dedicated event kind; two-param closure (oldValue, newValue) lowered with closure params metadata.
iOS iOS 17macOS macOS 14
View.onChange(of:initial:_:) [no-param]
nonisolated public func onChange<V>(of value: V, initial: Bool = false, _ action: @escaping () -> Void) -> some View where V : Equatable
Catalogued (is_action=1); chain.c: UI_EVENT_PAYLOAD_CHANGE; zero-param closure variant (only fires, no value passed); dedicated event kind.
iOS iOS 17macOS macOS 14
View.task(name:priority:file:line:_:)
nonisolated public func task(name: String? = nil, priority: TaskPriority = .userInitiated, file: String = #fileID, line: Int = #line, _ action: sending @escaping @isolated(any) () async -> Void) -> some View
Catalogued (is_action=1); chain.c: UI_EVENT_PAYLOAD_TASK → dedicated typed async action modifier; closure runs before view appears; web fires async task.
iOS iOS 15macOS macOS 12
View.task(id:name:priority:file:line:_:)
nonisolated public func task<T>(id: T, name: String? = nil, priority: TaskPriority = .userInitiated, file: String = #fileID, line: Int = #line, _ action: sending @escaping @isolated(any) () async -> Void) -> some View where T : Equatable
Catalogued (is_action=1); chain.c: UI_EVENT_PAYLOAD_TASK; id binding with dependency tracking (restarts task when id changes); web reruns async closure.
iOS iOS 15macOS macOS 12
View.onReceive(_:perform:)
@inlinable nonisolated public func onReceive<P>(_ publisher: P, perform action: @escaping (P.Output) -> Void) -> some View where P : Publisher, P.Failure == Never
Catalogued (is_action=1); chain.c: UI_EVENT_PAYLOAD_RECEIVE → dedicated typed Publisher/Combine action modifier; closure receives Publisher.Output value; web wires Observable emits.
iOS iOS 13macOS macOS 10.15
View.onOpenURL(perform:)
nonisolated public func onOpenURL(perform action: @escaping (URL) -> ()) -> some View
Generated catalog marks onOpenURL as action (include/generated/swiftui_stubs.h:499); lowering maps it to UI_EVENT_PAYLOAD_OPEN_URL in modules/swiftui/compiler/lower/chain.c:43, captures the closure as actionIR, and JSON emits URL event fields in modules/swiftui/compiler/uiir/json_action.c:309. iOS 26.0/macOS 26.0 has newer prefersInApp: Bool overload (gated).
iOS iOS 14macOS macOS 11
View.onDrag(_:)
nonisolated public func onDrag(_ data: @escaping () -> NSItemProvider) -> some View
Generated catalog marks onDrag as action-capable (include/generated/swiftui_stubs.h:487); lowering maps it to UI_EVENT_PAYLOAD_DRAG_SOURCE with NSItemProvider payload type (modules/swiftui/compiler/lower/chain.c:47, chain.c:103), captures the provider closure as actionIR (chain.c:3785), and JSON emits a typed itemProvider event field (modules/swiftui/compiler/uiir/json_action.c:317). Drag runtime remains renderer/platform policy.
iOS allmacOS all
View.onDrag(_:preview:)
nonisolated public func onDrag<V>(_ data: @escaping () -> NSItemProvider, @ViewBuilder preview: () -> V) -> some View where V : View
Same UI_EVENT_PAYLOAD_DRAG_SOURCE action path as onDrag(_:); lower_drag_source_preview_modifier recaptures the preview: ViewBuilder into a UI_SLOT_PREVIEW subtree (modules/swiftui/compiler/lower/chain.c:3440, chain.c:3464, chain.c:3848), and JSON serializes it as previewContent for drag-source modifiers (modules/swiftui/compiler/uiir/json_node.c:338).
iOS iOS 15macOS macOS 12
View.draggable(_:)
nonisolated public func draggable<T>(_ payload: @autoclosure @escaping () -> T) -> some View where T : Transferable
Dedicated UI_SEMANTIC_DRAGGABLE; semantic_kind_for_modifier maps draggable (modules/swiftui/compiler/lower/chain.c:874), lowering preserves the Transferable payload arg as typed semantic.payload.payload (chain.c:3310), and JSON emits payload plus hasPreviewSlot (modules/swiftui/compiler/uiir/json_modifier.c:3068). Transferable drag runtime remains renderer/platform policy.
iOS iOS 16macOS macOS 13
View.draggable(_:preview:)
nonisolated public func draggable<V, T>(_ payload: @autoclosure @escaping () -> T, @ViewBuilder preview: () -> V) -> some View where V : View, T : Transferable
Same UI_SEMANTIC_DRAGGABLE payload path; draggable preview closures are treated as content closures so they do not remain generic args (modules/swiftui/compiler/lower/chain.c:3756), lower_draggable_preview_modifier lowers the ViewBuilder into UI_SLOT_PREVIEW (chain.c:3470, chain.c:3473, chain.c:3851), and JSON serializes it as previewContent (modules/swiftui/compiler/uiir/json_node.c:338).
iOS iOS 16macOS macOS 13
`View.onDrop(of:isTargeted:perform:)` [UTType, providers]
nonisolated public func onDrop(of supportedContentTypes: [UTType], isTargeted: Binding<Bool>?, perform action: @escaping (_ providers: [NSItemProvider]) -> Bool) -> some View
Generated catalog marks onDrop as action-capable (include/generated/swiftui_stubs.h:489); lowering maps it to UI_EVENT_PAYLOAD_DROP_PROVIDERS with DropProviders value type (modules/swiftui/compiler/lower/chain.c:49, chain.c:105), captures the perform closure as actionIR (chain.c:3785), and JSON emits a typed providers field (modules/swiftui/compiler/uiir/json_action.c:321). UI_SEMANTIC_ON_DROP also preserves of: and isTargeted: under typed payload fields (modules/swiftui/compiler/lower/chain.c:875, modules/swiftui/compiler/uiir/json_modifier.c:3079). Drop runtime remains renderer/platform policy.
iOS iOS 14macOS macOS 11
`View.onDrop(of:isTargeted:perform:)` [UTType, providers+location]
nonisolated public func onDrop(of supportedContentTypes: [UTType], isTargeted: Binding<Bool>?, perform action: @escaping (_ providers: [NSItemProvider], _ location: CGPoint) -> Bool) -> some View
Same UI_EVENT_PAYLOAD_DROP_PROVIDERS/UI_SEMANTIC_ON_DROP path as the providers-only overload; closure params are collected so JSON emits both providers and location event fields (modules/swiftui/compiler/uiir/json_action.c:321, json_action.c:324), while supportedContentTypes and isTargeted remain typed semantic payload fields. Drop-location runtime remains renderer/platform policy.
iOS iOS 14macOS macOS 11
View.onDrop(of:delegate:)
nonisolated public func onDrop(of supportedContentTypes: [UTType], delegate: any DropDelegate) -> some View
Dedicated UI_SEMANTIC_ON_DROP captures supportedContentTypes, delegate, and mode=delegate (modules/swiftui/compiler/uiir/json_modifier.c:3079), but DropDelegate protocol callbacks are not executed and no delegate-driven drop runtime exists.
iOS iOS 14macOS macOS 11
`View.dropDestination(for:action:isTargeted:)` [Transferable, deprecated]
nonisolated public func dropDestination<T>(for payloadType: T.Type = T.self, action: @escaping (_ items: [T], _ location: CGPoint) -> Bool, isTargeted: @escaping (Bool) -> Void = { _ in }) -> some View where T : Transferable
Generated catalog now marks dropDestination as action-capable (include/generated/swiftui_stubs.h:366); lowering maps the default overload to UI_EVENT_PAYLOAD_DROP_DESTINATION (modules/swiftui/compiler/lower/chain.c:51, chain.c:107), captures the closure as actionIR (chain.c:3785), preserves isTargeted instead of treating it as the primary action (chain.c:3762), and JSON emits typed items plus location event fields (modules/swiftui/compiler/uiir/json_action.c:329) with UI_SEMANTIC_DROP_DESTINATION payloadType/isTargeted metadata (modules/swiftui/compiler/lower/chain.c:876, modules/swiftui/compiler/uiir/json_modifier.c:3094). Transferable drop runtime remains renderer/platform policy.
iOS iOS 16macOS macOS 13
`View.dropDestination(for:isEnabled:action:)` [Transferable, DropSession]
nonisolated public func dropDestination<T>(for type: T.Type = T.self, isEnabled: Bool = true, action: @escaping (_ items: [T], _ session: DropSession) -> Void) -> some View where T : Transferable
Same catalogued action modifier; attach_event_payload selects UI_EVENT_PAYLOAD_DROP_DESTINATION_SESSION when isEnabled: is present (modules/swiftui/compiler/lower/chain.c:142), JSON emits typed items plus session fields (modules/swiftui/compiler/uiir/json_action.c:335), and UI_SEMANTIC_DROP_DESTINATION serializes mode=session, payloadType, and isEnabled (modules/swiftui/compiler/uiir/json_modifier.c:3094). DropSession runtime remains renderer/platform policy.
iOS iOS 26macOS macOS 26
View.itemProvider(_:)
nonisolated public func itemProvider(_ action: (() -> NSItemProvider?)?) -> some View
Generated catalog marks itemProvider as action-capable (include/generated/swiftui_stubs.h:426); lowering maps it to UI_EVENT_PAYLOAD_ITEM_PROVIDER with NSItemProvider? payload type (modules/swiftui/compiler/lower/chain.c:45, chain.c:95), captures the optional closure as actionIR (chain.c:3680), and JSON emits an itemProvider payload field (modules/swiftui/compiler/uiir/json_action.c:313). Item-provider vending runtime remains renderer/platform policy.
iOS iOS 13macOS macOS 10.15
View.sensoryFeedback<T>(_:trigger:)
nonisolated public func sensoryFeedback<T>(_ feedback: SensoryFeedback, trigger: T) -> some View where T : Equatable
Dedicated UI_SEMANTIC_SENSORY_FEEDBACK; semantic_kind_for_modifier maps the modifier in modules/swiftui/compiler/lower/chain.c:719, and JSON emits semantic.payload.feedback plus trigger in modules/swiftui/compiler/uiir/json_modifier.c:2802. Haptic runtime remains renderer/platform policy.
iOS iOS 17macOS macOS 14
View.sensoryFeedback<T>(_:trigger:condition:)
nonisolated public func sensoryFeedback<T>(_ feedback: SensoryFeedback, trigger: T, condition: @escaping (_ oldValue: T, _ newValue: T) -> Bool) -> some View where T : Equatable
Same dedicated UI_SEMANTIC_SENSORY_FEEDBACK captures feedback, trigger, and condition under typed payload keys (modules/swiftui/compiler/uiir/json_modifier.c:2802), but the condition closure remains structural expression IR, not actionIR/runtime policy.
iOS iOS 17macOS macOS 14
View.sensoryFeedback<T>(trigger:_:)
nonisolated public func sensoryFeedback<T>(trigger: T, _ feedback: @escaping (_ oldValue: T, _ newValue: T) -> SensoryFeedback?) -> some View where T : Equatable
Dedicated semantic family captures the trigger and feedback-producing closure under payload.feedback (modules/swiftui/compiler/uiir/json_modifier.c:2802), but the closure remains structural expression IR and is not executed as actionIR.
iOS iOS 17macOS macOS 14
View.sensoryFeedback<T>(trigger:_:)
nonisolated public func sensoryFeedback<T>(trigger: T, _ feedback: @escaping () -> SensoryFeedback?) -> some View where T : Equatable
Same UI_SEMANTIC_SENSORY_FEEDBACK; trigger plus zero-parameter feedback closure are preserved in typed payload fields (modules/swiftui/compiler/uiir/json_modifier.c:2802), but the closure is structural only.
iOS iOS 17macOS macOS 14
View.onKeyPress(_:action:)
nonisolated public func onKeyPress(_ key: KeyEquivalent, action: @escaping () -> KeyPress.Result) -> some View
Generated catalog marks onKeyPress as action (include/generated/swiftui_stubs.h:495); lowering maps it to UI_EVENT_PAYLOAD_KEY_PRESS (modules/swiftui/compiler/lower/chain.c:49) and UI_SEMANTIC_KEY_PRESS (chain.c:927), JSON emits KeyPress event fields (modules/swiftui/compiler/uiir/json_action.c:322) and payload.matcher=key/payload.key (modules/swiftui/compiler/uiir/json_modifier.c:227, json_modifier.c:1885). Expression-body result closures such as { .handled } lower to actionIR.return (modules/swiftui/compiler/lower/action/stmt.c:479).
iOS iOS 17macOS macOS 14
View.onKeyPress(_:phases:action:)
nonisolated public func onKeyPress(_ key: KeyEquivalent, phases: KeyPress.Phases, action: @escaping (KeyPress) -> KeyPress.Result) -> some View
Same UI_EVENT_PAYLOAD_KEY_PRESS/UI_SEMANTIC_KEY_PRESS; unlabeled KeyEquivalent plus phases: decompose to semantic.payload.key and semantic.payload.phases, while the KeyPress closure parameter is captured in event payload params and actionIR.
iOS iOS 17macOS macOS 14
View.onKeyPress(keys:phases:action:)
nonisolated public func onKeyPress(keys: Set<KeyEquivalent>, phases: KeyPress.Phases = [.down, .repeat], action: @escaping (KeyPress) -> KeyPress.Result) -> some View
Dedicated UI_SEMANTIC_KEY_PRESS; keys: set matcher is serialized as semantic.payload.matcher=keys plus payload.keys, optional phases: is preserved under payload.phases, and the closure lowers to typed UI_EVENT_PAYLOAD_KEY_PRESS actionIR.
iOS iOS 17macOS macOS 14
View.onKeyPress(characters:phases:action:)
nonisolated public func onKeyPress(characters: CharacterSet, phases: KeyPress.Phases = [.down, .repeat], action: @escaping (KeyPress) -> KeyPress.Result) -> some View
Dedicated UI_SEMANTIC_KEY_PRESS; characters: matcher is serialized as semantic.payload.matcher=characters plus payload.characters, optional phases: is preserved, and the closure lowers to typed KeyPress actionIR.
iOS iOS 17macOS macOS 14
View.onKeyPress(phases:action:)
nonisolated public func onKeyPress(phases: KeyPress.Phases = [.down, .repeat], action: @escaping (KeyPress) -> KeyPress.Result) -> some View
Dedicated UI_SEMANTIC_KEY_PRESS; no key/keys/characters matcher serializes as semantic.payload.matcher=all, phases: becomes payload.phases, and the closure lowers to typed UI_EVENT_PAYLOAD_KEY_PRESS actionIR.
iOS iOS 17macOS macOS 14

18. Animation / transition

20·120·0
Animation
@frozen public struct Animation : Equatable, Sendable
Animation values are not standalone runtime objects, but common tokens/factory chains are captured when used in .animation and related modifier payloads.
iOS allmacOS all
Animation.default
public static let `default`: Animation
Preserved as the default curve token in .animation payloads; standalone Animation value runtime remains unmodeled.
iOS allmacOS all
Animation.easeIn(duration:)
public static func easeIn(duration: Double) -> Animation
Value type missing; but .animation modifier parses nested .easeIn(duration:) into curve+duration metadata; web tween eases easeIn.
iOS allmacOS all
Animation.easeOut(duration:)
public static func easeOut(duration: Double) -> Animation
Curve captured by .animation modifier metadata (easeOut); web tween engine eases. Animation value type itself not modeled.
iOS allmacOS all
Animation.easeInOut(duration:)
public static func easeInOut(duration: Double) -> Animation
Captured as curve+duration in .animation metadata; web tween eases easeInOut. Value type not modeled.
iOS allmacOS all
Animation.linear(duration:)
public static func linear(duration: Double) -> Animation
Curve+duration captured by .animation modifier; web tween linear. Value type not modeled.
iOS allmacOS all
Animation.spring(response:dampingFraction:blendDuration:)
public static func spring(response: Double, dampingFraction: Double, blendDuration: Double) -> Animation
Captured as curve token by .animation metadata; web tween approximates. No real spring solver; value type not modeled.
iOS allmacOS all
Animation.bouncy / .smooth / .snappy
public static var bouncy: Animation { get }
Curve token captured by .animation metadata; renderer approximates. Spring presets not solved; value type not modeled.
iOS iOS 17macOS macOS 14
Animation.interpolatingSpring(...)
public static func interpolatingSpring(stiffness: Double, damping: Double) -> Animation
Captured as curve token in .animation metadata only; no spring physics. Value type not modeled.
iOS allmacOS all
Animation.timingCurve(_:_:_:_:duration:)
public static func timingCurve(_ c0x: Double, _ c0y: Double, _ c1x: Double, _ c1y: Double, duration: Double) -> Animation
Bezier args may be captured as raw modifier args; web tween lacks custom cubic-bezier. Value type not modeled.
iOS allmacOS all
Animation.delay(_:)
public func delay(_ delay: Double) -> Animation
Delay captured in .animation metadata (curve/duration/delay/value per coverage). Web tween honors delay loosely.
iOS allmacOS all
Animation.speed(_:)
public func speed(_ speed: Double) -> Animation
Chained speed(_:) is preserved in the .animation arg expression and as a labeled metadata arg; renderer speed semantics remain incomplete.
iOS allmacOS all
Animation.repeatCount(_:autoreverses:)
public func repeatCount(_ repeatCount: Int, autoreverses: Bool = true) -> Animation
Chained repeatCount is preserved in the .animation arg expression and metadata args; repeat driver/runtime remains unimplemented.
iOS allmacOS all
Animation.repeatForever(autoreverses:)
public func repeatForever(autoreverses: Bool = true) -> Animation
Chained repeatForever survives in the .animation expression payload; renderer repeat driver is not implemented.
iOS allmacOS all
Animation.logicallyComplete(after:)
public func logicallyComplete(after duration: Double) -> Animation
Chained logicallyComplete(after:) survives as structured .animation expression/curve metadata; completion semantics are not implemented.
iOS iOS 17macOS macOS 14
withAnimation(_:_:)
public func withAnimation<Result>(_ animation: Animation? = .default, _ body: () throws -> Result) rethrows -> Result
Global call lowers as structured actionIR with nested body closure actionIR; animation transaction semantics are not executed.
iOS allmacOS all
withAnimation(_:completionCriteria:_:completion:)
public func withAnimation<Result>(_ animation: Animation = .default, completionCriteria: AnimationCompletionCriteria = .logicallyComplete, _ body: () throws -> Result, completion: @escaping () -> Void) rethrows -> Result
Call and completionCriteria token survive in actionIR; completion timing semantics are not implemented.
iOS iOS 17macOS macOS 14
AnimationCompletionCriteria
public struct AnimationCompletionCriteria : Hashable, Sendable
module struct stub preserves animation-completion criteria metadata; completion runtime remains absent.
iOS iOS 17macOS macOS 14
View.animation(_:)
func animation(_ animation: Animation?) -> some View
coverage.md Animation/transition family; catalog mod animation. Captures curve/duration/delay/value; web tween eases opacity/scale/color.
iOS allmacOS all
View.animation(_:value:)
func animation<V>(_ animation: Animation?, value: V) -> some View where V : Equatable
Catalog mod animation; value arg captured (modifiers evaluate expr args like faded ? 0 : 1). Web tween targets the value-bound state.
iOS iOS 15macOS macOS 12
View.animation(_:body:)
func animation<V>(_ animation: Animation?, body: (PlaceholderContentView<Self>) -> V) -> some View where V : View
Catalog mod animation; the body/PlaceholderContentView closure form is not specially lowered. Generic capture.
iOS iOS 17macOS macOS 14
AnyTransition
public struct AnyTransition
Transition values are not standalone runtime objects, but .transition captures common transition tokens/calls into typed payloads.
iOS allmacOS all
AnyTransition.opacity
public static let opacity: AnyTransition
Transition kind captured by .transition; web renders enter eases in / exit ghost eases out (2026-05-31).
iOS allmacOS all
AnyTransition.scale
public static var scale: AnyTransition { get }
.transition kind scale captured; web enter/exit eases scale via ghost retention.
iOS allmacOS all
AnyTransition.scale(scale:anchor:)
public static func scale(scale: CGFloat, anchor: UnitPoint = .center) -> AnyTransition
Scale transition captured; web eases scale but custom scale-factor/anchor args not fully honored. Value type not modeled.
iOS allmacOS all
AnyTransition.slide
public static var slide: AnyTransition { get }
.transition slide captured; web enter/exit slides via ghost (helpers _transStateAt).
iOS allmacOS all
AnyTransition.move(edge:)
public static func move(edge: Edge) -> AnyTransition
.transition move(edge:) captured; web translates per edge on enter/exit.
iOS allmacOS all
AnyTransition.offset(_:) / offset(x:y:)
public static func offset(_ offset: CGSize) -> AnyTransition
Offset transition captured as .transition payload; web translate exists but offset-spec arg honored loosely. Value type not modeled.
iOS allmacOS all
AnyTransition.push(from:)
public static func push(from edge: Edge) -> AnyTransition
Captured as .transition payload; web has no dedicated push, falls back to move/translate. Value type not modeled.
iOS iOS 16macOS macOS 13
AnyTransition.move
public static func move(edge: Edge) -> AnyTransition
Duplicate of move(edge:); web move per edge on enter/exit.
iOS allmacOS all
AnyTransition.combined(with:)
public func combined(with other: AnyTransition) -> AnyTransition
.combined captured; web composes opacity+scale+translate factors (beginDraw).
iOS allmacOS all
AnyTransition.asymmetric(insertion:removal:)
public static func asymmetric(insertion: AnyTransition, removal: AnyTransition) -> AnyTransition
Done 2026-05-31; web eases insertion sub-spec on enter, removal on exit (_parseTransSubSpec).
iOS allmacOS all
AnyTransition.modifier(active:identity:)
public static func modifier<E>(active: E, identity: E) -> AnyTransition where E : ViewModifier
Fully custom modifier-based transition; captured as payload but not interpolated by renderer (remaining gap). Value type not modeled.
iOS allmacOS all
AnyTransition.animation(_:)
public func animation(_ animation: Animation?) -> AnyTransition
Attaches animation to transition; captured loosely. Web duration = in-scope .animation else 350ms. Value type not modeled.
iOS allmacOS all
AnyTransition.identity
public static let identity: AnyTransition
Captured as .transition payload; identity = no visual change. Value type not modeled.
iOS allmacOS all
View.transition(_:)
func transition(_ t: AnyTransition) -> some View
coverage.md Animation/transition family; catalog mod transition. Web enter+exit done 2026-05-31 (ghost retention for removal).
iOS allmacOS all
View.transition(_:) (Transition)
func transition<T>(_ transition: T) -> some View where T : Transition
New Transition-protocol overload; catalog mod transition captures payload but custom Transition conformers not interpolated.
iOS iOS 17macOS macOS 14
Transition (protocol)
public protocol Transition
module protocol stub preserves transition type metadata; custom transition body execution remains unmodeled.
iOS iOS 17macOS macOS 14
Transition.body(content:phase:)
func body(content: Self.Content, phase: TransitionPhase) -> Self.Body
Explicit body(content:phase:) calls preserve content/phase args structurally; custom transition protocol execution remains unmodeled.
iOS iOS 17macOS macOS 14
TransitionPhase
public enum TransitionPhase : Equatable, Hashable, Sendable
module enum stub preserves transition-phase metadata; renderer transition phase remains internal.
iOS iOS 17macOS macOS 14
Transaction
public struct Transaction
Only appears as param/ext in dumps (no full decl). View.transaction now captures transform/value payloads contextually; Transaction value type semantics remain unmodeled.
iOS allmacOS all
Transaction.init()
public init()
Constructor call survives as structured expression; Transaction runtime semantics remain unmodeled.
iOS allmacOS all
Transaction.init(animation:)
public init(animation: Animation?)
Constructor call preserves the animation arg structurally; Transaction runtime semantics remain unmodeled.
iOS allmacOS all
Transaction.animation
public var animation: Animation? { get set }
View.transaction transform closures preserve member writes such as tx.animation = .default as actionIR; transaction runtime execution remains renderer policy.
iOS allmacOS all
Transaction.disablesAnimations
public var disablesAnimations: Bool { get set }
View.transaction transform closures preserve tx.disablesAnimations writes as actionIR; no global transaction runtime.
iOS allmacOS all
Transaction.isContinuous
public var isContinuous: Bool { get set }
View.transaction(value:) transform closures preserve tx.isContinuous writes and the value trigger; no global transaction runtime.
iOS iOS 16macOS macOS 13
Transaction.dismissBehavior
public var dismissBehavior: DismissBehavior
Member read and key-path use survive structurally; window-dismiss transaction behavior is not executed.
iOS iOS 17macOS macOS 14
Transaction subscript(key:)
public subscript<K>(key: K.Type) -> K.Value where K : TransactionKey
Custom transaction-key subscript access survives structurally; TransactionKey lookup/runtime is not modeled.
iOS iOS 17macOS macOS 14
TransactionKey (protocol)
public protocol TransactionKey
module protocol stub preserves transaction-key metadata; keyed transaction lookup is not executed.
iOS iOS 17macOS macOS 14
withTransaction(_:_:)
public func withTransaction<Result>(_ transaction: Transaction, _ body: () throws -> Result) rethrows -> Result
Global call lowers as structured actionIR with Transaction arg and nested body closure; transaction runtime is not executed.
iOS allmacOS all
withTransaction(_:_:_:) (keyPath)
public func withTransaction<R, V>(_ keyPath: WritableKeyPath<Transaction, V>, _ value: V, _ body: () throws -> R) rethrows -> R
KeyPath/value/body closure survive structurally in actionIR; keyed transaction runtime is not implemented.
iOS iOS 17macOS macOS 14
View.transaction(_:)
func transaction(_ transform: @escaping (inout Transaction) -> Void) -> some View
Dedicated UI_SEMANTIC_TRANSACTION captures the transform closure under typed payload.transform (modules/swiftui/compiler/lower/chain.c:795, modules/swiftui/compiler/uiir/json_modifier.c:2391). Transaction mutation execution remains renderer/runtime policy.
iOS allmacOS all
View.transaction(value:_:)
func transaction<V>(value: V, _ transform: @escaping (inout Transaction) -> Void) -> some View where V : Equatable
Same semantic kind preserves the trigger value as typed payload.value and the closure as payload.transform (modules/swiftui/compiler/uiir/json_modifier.c:2391). Transaction runtime is not implemented by lowering.
iOS iOS 17macOS macOS 14
PhaseAnimator (view)
public struct PhaseAnimator<Phase, Content> : View where Phase : Equatable, Content : View
In view catalog (PhaseAnimator) as ViewBuilder view; web renders static phase-0 snapshot (no time-driver). Compose pending.
iOS iOS 17macOS macOS 14
PhaseAnimator.init(_:content:animation:)
public init<Phases>(_ phases: Phases, @ViewBuilder content: @escaping (Phase) -> Content, animation: @escaping (Phase) -> Animation? = { _ in .default }) where Phases : Sequence, Phase == Phases.Element
View catalogued; content closure lowers to child UIIR but phase cycling not driven. Static phase-0 snapshot.
iOS iOS 17macOS macOS 14
PhaseAnimator.init(trigger:_:content:animation:)
public init<Phases>(_ phases: Phases, trigger: some Equatable, @ViewBuilder content: @escaping (Phase) -> Content, animation: @escaping (Phase) -> Animation? = { _ in .default })
Trigger-driven variant; view catalogued, but no time/trigger driver. Static snapshot only.
iOS iOS 17macOS macOS 14
View.phaseAnimator(_:content:animation:)
func phaseAnimator<Phase>(_ phases: [Phase], @ViewBuilder content: @escaping (PlaceholderContentView<Self>, Phase) -> some View, animation: @escaping (Phase) -> Animation? = { _ in .default }) -> some View where Phase : Equatable
Dedicated UI_SEMANTIC_PHASE_ANIMATOR captures phases plus content and optional animation closures under typed payload fields (modules/swiftui/compiler/lower/chain.c:797, modules/swiftui/compiler/uiir/json_modifier.c:2407). Phase cycling remains renderer/runtime policy.
iOS iOS 17macOS macOS 14
View.phaseAnimator(_:trigger:content:animation:)
func phaseAnimator<Phase>(_ phases: [Phase], trigger: some Equatable, @ViewBuilder content: ..., animation: @escaping (Phase) -> Animation? = ...) -> some View where Phase : Equatable
Same semantic kind preserves the trigger under payload.trigger while decomposing payload.phases, payload.content, and optional payload.animation (modules/swiftui/compiler/uiir/json_modifier.c:2407). Phase cycling remains renderer/runtime policy.
iOS iOS 17macOS macOS 14
KeyframeAnimator (view)
public struct KeyframeAnimator<Value, KeyframePath, Content> : View where KeyframePath : Keyframes, Value == KeyframePath.Value, Content : View
In view catalog (KeyframeAnimator); web renders static phase-0 snapshot (no time-driver). Compose pending.
iOS iOS 17macOS macOS 14
KeyframeAnimator.init(initialValue:repeating:content:keyframes:)
public init(initialValue: Value, repeating: Bool = true, @ViewBuilder content: @escaping (Value) -> Content, @KeyframesBuilder<Value> keyframes: @escaping (Value) -> KeyframePath)
View catalogued; content lowers but keyframes builder/timeline not evaluated. Static snapshot.
iOS iOS 17macOS macOS 14
KeyframeAnimator.init(initialValue:trigger:content:keyframes:)
public init(initialValue: Value, trigger: some Equatable, @ViewBuilder content: ..., @KeyframesBuilder<Value> keyframes: ...)
Trigger variant; view catalogued, no keyframe time-driver. Static snapshot.
iOS iOS 17macOS macOS 14
View.keyframeAnimator(initialValue:repeating:content:keyframes:)
func keyframeAnimator<Value>(initialValue: Value, repeating: Bool = true, content: @escaping (PlaceholderContentView<Self>, Value) -> some View, @KeyframesBuilder<Value> keyframes: @escaping (Value) -> some Keyframes<Value>) -> some View
Catalog mod keyframeAnimator (generic). Captured structurally; keyframes not evaluated in renderers.
iOS iOS 17macOS macOS 14
View.keyframeAnimator(initialValue:trigger:content:keyframes:)
func keyframeAnimator<Value>(initialValue: Value, trigger: some Equatable, content: ..., @KeyframesBuilder<Value> keyframes: ...) -> some View
Catalog mod keyframeAnimator; trigger variant captured generically only.
iOS iOS 17macOS macOS 14
Keyframes (protocol)
public protocol Keyframes<Value>
module protocol stub preserves keyframes metadata; keyframe builder evaluation remains unmodeled.
iOS iOS 17macOS macOS 14
KeyframesBuilder
@resultBuilder public struct KeyframesBuilder<Value>
module result-builder stub preserves keyframes builder metadata; builder evaluation remains unmodeled.
iOS iOS 17macOS macOS 14
KeyframeTimeline
public struct KeyframeTimeline<Value> where Value : Animatable
module struct stub preserves keyframe timeline metadata; time-driver/evaluation remains absent.
iOS iOS 17macOS macOS 14
KeyframeTrack
public struct KeyframeTrack<Root, Value, Content> : Keyframes where Value : Animatable, Content : KeyframeTrackContent
module struct stub preserves keyframe track metadata; track evaluation remains absent.
iOS iOS 17macOS macOS 14
KeyframeTrack.init(_:content:)
public init(_ keyPath: WritableKeyPath<Root, Value>, @KeyframeTrackContentBuilder<Value> content: () -> Content)
Constructor call preserves key path and builder closure structurally; keyframe timeline evaluation is not executed.
iOS iOS 17macOS macOS 14
KeyframeTrackContent (protocol)
public protocol KeyframeTrackContent<Value>
module protocol stub preserves keyframe-track content metadata; keyframe runtime is not executed.
iOS iOS 17macOS macOS 14
CubicKeyframe
public struct CubicKeyframe<Value> : KeyframeTrackContent where Value : Animatable
module struct stub preserves cubic keyframe metadata; interpolation runtime is not executed.
iOS iOS 17macOS macOS 14
CubicKeyframe.init(_:duration:startVelocity:endVelocity:)
public init(_ to: Value, duration: TimeInterval, startVelocity: Value? = nil, endVelocity: Value? = nil)
Constructor call preserves target/duration args structurally; interpolation runtime is not implemented.
iOS iOS 17macOS macOS 14
LinearKeyframe
public struct LinearKeyframe<Value> : KeyframeTrackContent where Value : Animatable
module struct stub preserves linear keyframe metadata; interpolation runtime is not executed.
iOS iOS 17macOS macOS 14
LinearKeyframe.init(_:duration:timingCurve:)
public init(_ to: Value, duration: TimeInterval, timingCurve: UnitCurve = .linear)
Constructor call preserves target/duration/timingCurve args structurally; interpolation runtime is not implemented.
iOS iOS 17macOS macOS 14
SpringKeyframe
public struct SpringKeyframe<Value> : KeyframeTrackContent where Value : Animatable
module struct stub preserves spring keyframe metadata; spring interpolation runtime is not executed.
iOS iOS 17macOS macOS 14
SpringKeyframe.init(_:duration:spring:startVelocity:)
public init(_ to: Value, duration: TimeInterval? = nil, spring: Spring = Spring(), startVelocity: Value? = nil)
Constructor call preserves target/duration/spring args structurally; spring interpolation runtime is not implemented.
iOS iOS 17macOS macOS 14
MoveKeyframe
public struct MoveKeyframe<Value> : KeyframeTrackContent where Value : Animatable
module struct stub preserves move keyframe metadata; timeline runtime is not executed.
iOS iOS 17macOS macOS 14
MoveKeyframe.init(_:)
public init(_ to: Value)
Constructor call preserves target arg structurally; keyframe runtime is not implemented.
iOS iOS 17macOS macOS 14
KeyframeTrackContentBuilder
@resultBuilder public struct KeyframeTrackContentBuilder<Value>
module result-builder stub preserves keyframe-track builder metadata; builder evaluation remains unmodeled.
iOS iOS 17macOS macOS 14
Spring
public struct Spring : Hashable, Sendable
module struct stub preserves spring metadata; spring solver is not implemented.
iOS iOS 17macOS macOS 14
Spring.init(duration:bounce:)
public init(duration: Double = 0.5, bounce: Double = 0.0)
Constructor call preserves duration/bounce args structurally; no spring physics solver.
iOS iOS 17macOS macOS 14
Spring.init(mass:stiffness:damping:)
public init(mass: Double = 1.0, stiffness: Double, damping: Double, allowOverDamping: Bool = false)
Constructor call preserves mass/stiffness/damping args structurally; no spring physics solver.
iOS iOS 17macOS macOS 14
Spring.value(target:initialVelocity:time:)
public func value(target: V, initialVelocity: V = .zero, time: TimeInterval) -> V where V : VectorArithmetic
Method call preserves target/velocity/time args structurally; spring evaluation is not executed.
iOS iOS 17macOS macOS 14
Spring.settlingDuration
public var settlingDuration: TimeInterval { get }
Member read survives structurally; settling duration is not computed.
iOS iOS 17macOS macOS 14
ContentTransition
public struct ContentTransition : Equatable, Sendable
contentTransition(_:) preserves ContentTransition tokens/calls under typed semantic.payload.transition; content morph runtime remains renderer policy.
iOS iOS 16macOS macOS 13
ContentTransition.identity
public static let identity: ContentTransition
Preserved as a contentTransition token/call payload; content-transition animation behavior remains renderer/runtime policy.
iOS iOS 16macOS macOS 13
ContentTransition.opacity
public static let opacity: ContentTransition
Preserved as a contentTransition token/call payload; content-transition animation behavior remains renderer/runtime policy.
iOS iOS 16macOS macOS 13
ContentTransition.interpolate
public static let interpolate: ContentTransition
Preserved as a contentTransition token/call payload; content-transition animation behavior remains renderer/runtime policy.
iOS iOS 16macOS macOS 13
ContentTransition.numericText(countsDown:)
public static func numericText(countsDown: Bool = false) -> ContentTransition
Preserved as a contentTransition token/call payload; content-transition animation behavior remains renderer/runtime policy.
iOS iOS 16macOS macOS 13
ContentTransition.numericText(value:)
public static func numericText(value: Double) -> ContentTransition
Preserved as a contentTransition token/call payload; content-transition animation behavior remains renderer/runtime policy.
iOS iOS 17macOS macOS 14
ContentTransition.symbolEffect
public static var symbolEffect: ContentTransition { get }
Static token survives as structured member expression; symbol-effect runtime is not modeled.
iOS iOS 17macOS macOS 14
ContentTransition.symbolEffect(_:options:)
public static func symbolEffect<T>(_ effect: T, options: SymbolEffectOptions = .default) -> ContentTransition where T : ContentTransitionSymbolEffect, T : SymbolEffect
Factory call preserves effect/options structurally; symbol-effect runtime is not modeled.
iOS iOS 17macOS macOS 14
View.contentTransition(_:)
func contentTransition(_ transition: ContentTransition) -> some View
Dedicated UI_SEMANTIC_CONTENT_TRANSITION maps the modifier (modules/swiftui/compiler/lower/chain.c:787, include/internal/uiir.h:874), and JSON emits the style/call under typed semantic.payload.transition (modules/swiftui/compiler/uiir/names.c:500, modules/swiftui/compiler/uiir/json_modifier.c:2336). Content-morph runtime remains renderer policy.
iOS iOS 16macOS macOS 13
Animatable (protocol)
public protocol Animatable
module protocol stub preserves animatable metadata; interpolation protocol execution remains absent.
iOS allmacOS all
Animatable.animatableData
var animatableData: Self.AnimatableData { get set }
Explicit member reads survive structurally; interpolation/runtime writeback is not modeled.
iOS allmacOS all
Animatable.AnimatableData (associatedtype)
associatedtype AnimatableData : VectorArithmetic
Associated type references such as MyAnimatable.AnimatableData.self survive structurally; associated-type resolution/runtime remains limited.
iOS allmacOS all
Animatable.animate(_:)
func animate<V>(_ keyPath: WritableKeyPath<Self, V>) where V : VectorArithmetic
Default helper calls preserve the key path structurally; interpolation runtime is not modeled.
iOS allmacOS all
AnimatableModifier (protocol)
public protocol AnimatableModifier : Animatable, ViewModifier
module protocol stub preserves animatable-modifier metadata; custom body/interpolation execution remains absent.
iOS allmacOS all
VectorArithmetic (protocol)
public protocol VectorArithmetic : AdditiveArithmetic
module protocol stub preserves vector-arithmetic metadata; numeric vector operations are not executed.
iOS allmacOS all
VectorArithmetic.scale(by:)
mutating func scale(by rhs: Double)
Explicit scale calls preserve the scalar arg structurally; vector arithmetic runtime is not modeled.
iOS allmacOS all
VectorArithmetic.magnitudeSquared
var magnitudeSquared: Double { get }
Member reads survive structurally; vector arithmetic runtime is not modeled.
iOS allmacOS all
AnimatablePair
@frozen public struct AnimatablePair<First, Second> : VectorArithmetic where First : VectorArithmetic, Second : VectorArithmetic
module struct stub preserves animatable-pair metadata; vector arithmetic runtime remains absent.
iOS allmacOS all
AnimatablePair.init(_:_:)
@inlinable public init(_ first: First, _ second: Second)
Constructor call preserves pair operands structurally; vector arithmetic runtime is not executed.
iOS allmacOS all
EmptyAnimatableData
@frozen public struct EmptyAnimatableData : VectorArithmetic
module struct stub preserves empty animatable data metadata; interpolation runtime remains absent.
iOS allmacOS all
RepeatAnimation
public struct RepeatAnimation<Base> where Base : CustomAnimation
module struct stub preserves repeat-animation metadata; repeat driver remains absent.
iOS iOS 17macOS macOS 14
CustomAnimation (protocol)
public protocol CustomAnimation : Hashable
module protocol stub preserves custom-animation metadata; animation solver execution remains absent.
iOS iOS 17macOS macOS 14
AnimationContext
public struct AnimationContext<Value> where Value : VectorArithmetic
module struct stub preserves animation context metadata; solver runtime remains absent.
iOS iOS 17macOS macOS 14
AnimationState
public struct AnimationState<Value> where Value : VectorArithmetic
module struct stub preserves animation state metadata; solver runtime remains absent.
iOS iOS 17macOS macOS 14
UnitCurve
public struct UnitCurve : Sendable
module struct stub preserves unit-curve metadata; curve evaluation remains absent.
iOS iOS 17macOS macOS 14
TimelineSchedule.animation (static var)
public static var animation: AnimationTimelineSchedule { get }
In dump; TimelineView is catalogued and lowers, but the animation schedule's tick driver is not run by renderers.
iOS iOS 15macOS macOS 12
TimelineSchedule.animation(minimumInterval:paused:)
public static func animation(minimumInterval: Double? = nil, paused: Bool = false) -> AnimationTimelineSchedule
In dump; TimelineView captured but no time-driver. Schedule args captured generically.
iOS iOS 15macOS macOS 12
AnimationTimelineSchedule
public struct AnimationTimelineSchedule : TimelineSchedule, Sendable
In dump; used by TimelineView (catalogued view). Struct itself not a dedicated UIIR kind; no schedule runtime.
iOS iOS 15macOS macOS 12
AnimationTimelineSchedule.init(minimumInterval:paused:)
public init(minimumInterval: Double? = nil, paused: Bool = false)
Constructor call preserves minimumInterval/paused args structurally; no scheduler runtime evaluates ticks.
iOS iOS 15macOS macOS 12
AnimationTimelineSchedule.entries(from:mode:)
public func entries(from start: Date, mode: TimelineScheduleMode) -> AnimationTimelineSchedule.Entries
Method call preserves from/mode args structurally; no scheduler runtime evaluates entries.
iOS iOS 15macOS macOS 12
AnimationTimelineSchedule.Entries
public struct Entries : Sequence, IteratorProtocol, Sendable
module nested struct stub preserves animation schedule entries metadata; timeline iteration runtime remains absent.
iOS iOS 15macOS macOS 12
View.scrollTransition(_:axis:transition:)
func scrollTransition(_ configuration: ScrollTransitionConfiguration = .interactive, axis: Axis? = nil, transition: @escaping @Sendable (EmptyVisualEffect, ScrollTransitionPhase) -> some VisualEffect) -> some View
Dedicated UI_SEMANTIC_SCROLL_TRANSITION captures optional configuration, axis, and transition closure as typed semantic payload (modules/swiftui/compiler/lower/chain.c:789, modules/swiftui/compiler/uiir/json_modifier.c:2339). Phase-driven visual effects are not evaluated by lowering.
iOS iOS 17macOS macOS 14
View.scrollTransition(topLeading:bottomTrailing:axis:transition:)
func scrollTransition(topLeading: ScrollTransitionConfiguration, bottomTrailing: ScrollTransitionConfiguration, axis: Axis? = nil, transition: ...) -> some View
Asymmetric form uses the same semantic kind and emits typed payload.topLeading, payload.bottomTrailing, payload.axis, and payload.transition (modules/swiftui/compiler/uiir/json_modifier.c:2341). Renderer/runtime evaluation remains separate.
iOS iOS 17macOS macOS 14
ScrollTransitionConfiguration
public struct ScrollTransitionConfiguration
scrollTransition preserves configuration values/calls under typed semantic.payload.configuration; phase-driven visual effect runtime remains unmodeled.
iOS iOS 17macOS macOS 14
ScrollTransitionConfiguration.animated(_:)
public static func animated(_ animation: Animation = .default) -> ScrollTransitionConfiguration
Preserved as a structured scrollTransition configuration expression payload; scroll phase/runtime evaluation remains renderer policy.
iOS iOS 17macOS macOS 14
ScrollTransitionConfiguration.interactive(timingCurve:)
public static func interactive(timingCurve: UnitCurve = .easeInOut) -> ScrollTransitionConfiguration
Preserved as a structured scrollTransition configuration expression payload; scroll phase/runtime evaluation remains renderer policy.
iOS iOS 17macOS macOS 14
ScrollTransitionConfiguration.identity
public static let identity: ScrollTransitionConfiguration
Preserved as a structured scrollTransition configuration expression payload; scroll phase/runtime evaluation remains renderer policy.
iOS iOS 17macOS macOS 14
ScrollTransitionConfiguration.animation(_:)
public func animation(_ animation: Animation) -> ScrollTransitionConfiguration
Preserved as a structured scrollTransition configuration expression payload; scroll phase/runtime evaluation remains renderer policy.
iOS iOS 17macOS macOS 14
ScrollTransitionConfiguration.threshold(_:)
public func threshold(_ threshold: ScrollTransitionConfiguration.Threshold) -> ScrollTransitionConfiguration
Preserved as a structured scrollTransition configuration expression payload; scroll phase/runtime evaluation remains renderer policy.
iOS iOS 17macOS macOS 14
ScrollTransitionConfiguration.Threshold
public struct Threshold
Threshold tokens survive inside ScrollTransitionConfiguration.threshold(_:) expression payloads; threshold runtime evaluation is not implemented.
iOS iOS 17macOS macOS 14
ScrollTransitionPhase
@frozen public enum ScrollTransitionPhase
scrollTransition closures preserve a phase parameter structurally; no typed phase enum/runtime evaluation.
iOS iOS 17macOS macOS 14
ScrollTransitionPhase.value
public var value: Double { get }
phase.value member access is preserved inside the captured scrollTransition closure expression; value calculation remains renderer/runtime policy.
iOS iOS 17macOS macOS 14
View.navigationTransition(_:)
func navigationTransition(_ style: some NavigationTransition) -> some View
Dedicated UI_NAVIGATION_TRANSITION metadata preserves the style under typed navigation.payload.style (modules/swiftui/compiler/lower/chain.c:401, modules/swiftui/compiler/uiir/json_action.c:556). Nav-stack zoom/animation runtime remains renderer policy.
iOS iOS 18macOS macOS 15
NavigationTransition (protocol)
public protocol NavigationTransition
module protocol stub exists, and navigationTransition(_:) preserves style tokens; protocol execution/navigation animation runtime remains renderer policy.
iOS iOS 18macOS macOS 15
NavigationTransition.automatic
public static var automatic: AutomaticNavigationTransition { get }
Preserved as a navigationTransition style token payload; navigation animation runtime remains renderer policy.
iOS iOS 18macOS macOS 15
NavigationTransition.zoom(sourceID:in:)
public static func zoom(sourceID: some Hashable, in namespace: Namespace.ID) -> ZoomNavigationTransition
Preserved as a structured navigationTransition zoom call payload with sourceID/namespace args; zoom runtime remains renderer policy.
iOS iOS 18macOS
AutomaticNavigationTransition
public struct AutomaticNavigationTransition : NavigationTransition
Concrete automatic navigation transition resolves as a style token in navigationTransition; protocol/runtime behavior remains unmodeled.
iOS iOS 18macOS macOS 15
ZoomNavigationTransition
public struct ZoomNavigationTransition : NavigationTransition
Concrete zoom navigation transition resolves as a structured navigationTransition call payload; zoom runtime remains unmodeled.
iOS iOS 18macOS
View.matchedTransitionSource(id:in:)
func matchedTransitionSource(id: some Hashable, in namespace: Namespace.ID) -> some View
Dedicated UI_SEMANTIC_MATCHED_TRANSITION_SOURCE captures the source identity as typed payload.id and payload.namespace (modules/swiftui/compiler/lower/chain.c:785, modules/swiftui/compiler/uiir/json_modifier.c:2319). Zoom-source hero runtime remains renderer policy.
iOS iOS 18macOS macOS 15
View.matchedTransitionSource(id:in:configuration:)
func matchedTransitionSource(id: some Hashable, in namespace: Namespace.ID, configuration: (EmptyMatchedTransitionSourceConfiguration) -> some MatchedTransitionSourceConfiguration) -> some View
Configured overload uses the same semantic kind and serializes the trailing closure as typed payload.configuration (modules/swiftui/compiler/uiir/json_modifier.c:2333). Configuration protocol execution remains out of lowering scope.
iOS iOS 18macOS macOS 15
MatchedTransitionSourceConfiguration (protocol)
public protocol MatchedTransitionSourceConfiguration
module protocol stub exists, and configured matchedTransitionSource closures are serialized structurally; protocol requirements/config transforms are not executed.
iOS iOS 18macOS macOS 15
ContentTransitionSymbolEffect (protocol)
public protocol ContentTransitionSymbolEffect
module protocol stub preserves type-surface metadata for symbol-effect constraints; ContentTransition symbol-effect runtime is not modeled.
iOS iOS 17macOS macOS 14
SpringLoadingBehavior
public struct SpringLoadingBehavior : Hashable, Sendable
No standalone value-type model, but springLoadingBehavior(_:) contextually lowers .automatic/.enabled/.disabled tokens to UISemantic.spring_loading_behavior (modules/swiftui/compiler/lower/chain.c:2312). Other contexts remain raw args.
iOS iOS 17macOS macOS 14
View.springLoadingBehavior(_:)
func springLoadingBehavior(_ behavior: SpringLoadingBehavior) -> some View
Dedicated UI_SEMANTIC_SPRING_LOADING_BEHAVIOR; semantic_kind_for_modifier maps it in modules/swiftui/compiler/lower/chain.c:519, token payload lives in include/internal/uiir.h:965, and JSON emits payload.behavior in modules/swiftui/compiler/uiir/json_modifier.c:1709. Drag spring-loading runtime remains renderer/platform policy.
iOS iOS 17macOS macOS 14
ButtonRepeatBehavior
public struct ButtonRepeatBehavior : Hashable, Sendable
No standalone value-type model, but buttonRepeatBehavior(_:) contextually lowers behavior tokens to UISemantic.button_repeat_behavior (chain.c:1946, json_modifier.c:1616). Other contexts remain raw args.
iOS iOS 17macOS macOS 14
View.buttonRepeatBehavior(_:)
func buttonRepeatBehavior(_ behavior: ButtonRepeatBehavior) -> some View
Dedicated UI_SEMANTIC_BUTTON_REPEAT_BEHAVIOR; chain.c:499 maps the modifier and chain.c:1946 decomposes behavior tokens into UISemantic.button_repeat_behavior (uiir.h:925), with JSON literal payload.behavior (json_modifier.c:1616). Renderer behavior remains separate.
iOS iOS 17macOS macOS 14
View.glassEffectTransition(_:isEnabled:)
func glassEffectTransition(_ transition: GlassEffectTransition, isEnabled: Bool = true) -> some View
Catalog mod glassEffectTransition; not present as a decl in either dump (newer SDK). Generic structural capture only.
iOS iOS 26macOS macOS 26

19. App / Scene lifecycle / commands

100·64·0
App
@MainActor @preconcurrency public protocol App
App protocol parsed+lowered per coverage.md lifecycle family; not in catalog, no runtime; conformer body lowered structurally only
iOS iOS 14macOS all
App.Body
associatedtype Body : Scene
App is now a generated SwiftUI module protocol stub and conformer body is lowered structurally; associated-type inference/checking remains compile-time only and is not executed as runtime metadata.
iOS iOS 14macOS all
App.body
@SceneBuilder @MainActor @preconcurrency var body: Self.Body { get }
scene body parsed and lowered to UIIR scene nodes per coverage; SceneBuilder result-builder not a dedicated typed family
iOS iOS 14macOS all
App.init()
@MainActor @preconcurrency init()
Explicit App conformer construction survives structurally; app lifecycle instantiation/runtime is not modeled.
iOS iOS 14macOS all
App.main()
@MainActor @preconcurrency public static func main()
Static main calls survive structurally; @main launch/runtime entrypoint execution is not modeled.
iOS iOS 14macOS all
Scene
@MainActor @preconcurrency public protocol Scene
Scene protocol parsed+lowered per lifecycle family; not in catalog, scene tree captured structurally without dedicated runtime
iOS iOS 14macOS all
Scene.Body
associatedtype Body : Scene
Scene is now a generated SwiftUI module protocol stub and scene bodies lower to structural UIIR scene nodes; associated-type witness/runtime metadata is not modeled.
iOS iOS 14macOS all
Scene.body
@SceneBuilder @MainActor @preconcurrency var body: Self.Body { get }
scene body lowered structurally; SceneBuilder closure children become UIIR nodes; no scene runtime
iOS iOS 14macOS all
SceneBuilder
@resultBuilder public struct SceneBuilder
scene result builder; bodies lowered via generic ViewBuilder-like path, no dedicated SceneBuilder typed family
iOS iOS 14macOS all
SceneBuilder.buildBlock(_:)
public static func buildBlock<Content>(_ content: Content) -> Content where Content : Scene
explicit static builder call unwraps and lowers the contained scene token (for example SceneBuilder.buildBlock(WindowGroup { ... }))
iOS iOS 14macOS all
CommandsBuilder
@resultBuilder public struct CommandsBuilder
command result builder; command bodies lowered structurally per coverage commands family, no dedicated typed builder
iOS iOS 14macOS all
CommandsBuilder.buildBlock()
public static func buildBlock() -> EmptyCommands
explicit empty static builder call lowers to EmptyCommands
iOS iOS 14macOS all
CommandsBuilder.buildExpression(_:)
public static func buildExpression<Content>(_ content: Content) -> Content where Content : Commands
explicit static builder call unwraps and lowers command content such as CommandMenu
iOS iOS 14macOS all
WindowGroup
public struct WindowGroup<Content> : Scene where Content : View
in catalog (SW_UI_VIEWS) and coverage lists WindowGroup as standard scene parsed/lowered/modeled as UIIR node
iOS iOS 14macOS all
WindowGroup.init(content:)
public init(@ViewBuilder content: () -> Content)
scene node; content closure lowers to child UIIR; only the structural scene shape is modeled, no window runtime
iOS iOS 14macOS all
WindowGroup.init(id:content:)
public init(id: String, @ViewBuilder content: () -> Content)
scene node captured; id arg lowered as scalar; window identity runtime not implemented
iOS iOS 14macOS all
WindowGroup.init(_:content:)
public init(_ title: Text, @ViewBuilder content: () -> Content)
scene node; title arg lowered; multiple title overloads (Text/LocalizedStringKey/StringProtocol/id) collapse to same node
iOS iOS 14macOS all
WindowGroup.init(for:content:)
nonisolated public init<D, C>(id: String, for type: D.Type, @ViewBuilder content: @escaping (Binding<D?>) -> C) where Content == PresentedWindowContent<D, C>, D : Hashable
presented-value window form; PresentedWindowContent in catalog as leaf, but for:/Binding routing not modeled
iOS iOS 16macOS macOS 13
DocumentGroup
public struct DocumentGroup<Document, Content> : Scene where Content : View
in catalog and coverage lists DocumentGroup as standard scene parsed/lowered/modeled as UIIR node
iOS iOS 14macOS all
DocumentGroup.init(newDocument:editor:)
@preconcurrency nonisolated public init(newDocument: @autoclosure @escaping @Sendable () -> Document, @ViewBuilder editor: @escaping (FileDocumentConfiguration<Document>) -> Content)
scene node captured; FileDocumentConfiguration is stub-kind only, document model/IO not modeled
iOS iOS 14macOS all
DocumentGroup.init(viewing:viewer:)
nonisolated public init(viewing documentType: Document.Type, @ViewBuilder viewer: @escaping (FileDocumentConfiguration<Document>) -> Content)
scene node; configuration stub only, no document read/write runtime
iOS iOS 14macOS all
DocumentGroup.init(newDocument:editor:) (reference)
@preconcurrency nonisolated public init(newDocument: @escaping @Sendable () -> Document, @ViewBuilder editor: @escaping (ReferenceFileDocumentConfiguration<Document>) -> Content)
reference-document form; node captured, config is stub kind, no IO runtime
iOS iOS 14macOS all
DocumentGroup.init(_:for:onDocumentOpen:...) launch-scene
public init(_ title: LocalizedStringKey, for contentTypes: [UTType], @ViewBuilder _ actions: () -> Actions, @ViewBuilder onDocumentOpen: @escaping (URL) -> DocumentView, @ViewBuilder background: () -> some View, ...)
represented by DocumentGroupLaunchScene typed scene stub; title/actions lower structurally and type metadata is preserved, but document IO, onDocumentOpen dispatch, and background closure semantics are not modeled
iOS iOS 18macOS
Settings
public struct Settings<Content> : Scene where Content : View
macOS-only; in catalog and coverage lists Settings as standard scene parsed/lowered/modeled as UIIR node
iOSmacOS all
Settings.init(content:)
public init(@ViewBuilder content: () -> Content)
scene node; content closure lowers to child UIIR; preferences-window runtime not implemented
iOSmacOS all
SettingsLink
public struct SettingsLink : View
in catalog SW_UI_VIEWS as view node; structural capture only, no settings-open runtime
iOSmacOS macOS 14
DefaultSettingsLinkLabel
public struct DefaultSettingsLinkLabel : View
in catalog as view node; generic structural capture only
iOSmacOS macOS 14
Window
public struct Window<Content> : Scene where Content : View
in SwiftUI catalog as stable UIIR scene kind; title/id args and content children lower; no native macOS window runtime
iOSmacOS macOS 13
Window.init(_:id:content:)
public init(_ title: Text, id: String, @ViewBuilder content: () -> Content)
title/id/content closure lower into Window scene node; only structural UIIR token, not a real window host
iOSmacOS macOS 13
UtilityWindow
public struct UtilityWindow<Content> : Scene where Content : View
in catalog as stable UIIR scene kind; title/id args and content children lower; no utility-panel runtime
iOSmacOS macOS 15
UtilityWindow.init(_:id:content:)
public init(_ title: Text, id: String, @ViewBuilder content: () -> Content)
title/id/content closure lower into UtilityWindow scene node; runtime window semantics are not implemented
iOSmacOS macOS 15
MenuBarExtra
public struct MenuBarExtra<Label, Content> : Scene where Label : View, Content : View
in catalog as stable UIIR scene kind; title/systemImage/content and insertion binding lower; no menu-bar runtime
iOSmacOS macOS 13
MenuBarExtra.init(content:label:)
public init(@ViewBuilder content: () -> Content, @ViewBuilder label: () -> Label)
content closure lowers as MenuBarExtra children; label closure is still not separately modeled, no menu-bar runtime
iOSmacOS macOS 13
MenuBarExtra.init(_:systemImage:content:)
nonisolated public init(_ titleKey: LocalizedStringKey, systemImage: String, @ViewBuilder content: () -> Content)
title and systemImage args plus content children lower into MenuBarExtra; runtime menu-bar host missing
iOSmacOS macOS 13
MenuBarExtra.init(isInserted:content:label:)
public init(isInserted: Binding<Bool>, @ViewBuilder content: () -> Content, @ViewBuilder label: () -> Label)
isInserted Binding lowers as state_ref_idx and content children lower; label closure/runtime menu insertion remain partial
iOSmacOS macOS 13
MenuBarExtraStyle
public protocol MenuBarExtraStyle
module protocol stub is generated and style tokens are captured by menuBarExtraStyle(_:) contexts; protocol execution/runtime not modeled
iOSmacOS macOS 13
AutomaticMenuBarExtraStyle
public struct AutomaticMenuBarExtraStyle : MenuBarExtraStyle
module struct stub is generated; initializer/property default expressions are preserved as typed metadata, but style rendering is not executed
iOSmacOS macOS 13
PullDownMenuBarExtraStyle
public struct PullDownMenuBarExtraStyle : MenuBarExtraStyle
module struct stub is generated; initializer/property default expressions are preserved as typed metadata, but style rendering is not executed
iOSmacOS macOS 13
WindowMenuBarExtraStyle
public struct WindowMenuBarExtraStyle : MenuBarExtraStyle
module struct stub is generated; initializer/property default expressions are preserved as typed metadata, but style rendering is not executed
iOSmacOS macOS 13
MenuBarExtraStyle.menu
public static var menu: PullDownMenuBarExtraStyle { get }
Contextually lowered by Scene.menuBarExtraStyle(_:) to semantic.payload.style="menu"; concrete style protocol/runtime remains under the protocol rows.
iOSmacOS macOS 13
MenuBarExtraStyle.window
public static var window: WindowMenuBarExtraStyle { get }
Contextually lowered by Scene.menuBarExtraStyle(_:) to semantic.payload.style="window".
iOSmacOS macOS 13
MenuBarExtraStyle.automatic
public static var automatic: AutomaticMenuBarExtraStyle { get }
Contextually lowered by Scene.menuBarExtraStyle(_:) to semantic.payload.style="automatic".
iOSmacOS macOS 13
ScenePhase
public enum ScenePhase : Comparable
@Environment(\.scenePhase) properties preserve wrapper/type metadata and typed ScenePhase values preserve enum tokens; no lifecycle runtime
iOS iOS 14macOS all
ScenePhase.background
case background
typed ScenePhase property initializers preserve .background as enum metadata; no lifecycle runtime
iOS iOS 14macOS all
ScenePhase.inactive
case inactive
typed ScenePhase property initializers preserve .inactive as enum metadata; no lifecycle runtime
iOS iOS 14macOS all
ScenePhase.active
case active
typed ScenePhase property initializers preserve .active as enum metadata; no lifecycle runtime
iOS iOS 14macOS all
Commands
@MainActor @preconcurrency public protocol Commands
coverage lists Commands protocol parsed+lowered to UIIR; not in catalog, command body captured structurally, no menu runtime
iOS iOS 14macOS all
Commands.Body
associatedtype Body : Commands
Commands is now a generated SwiftUI module protocol stub and command bodies lower structurally; associated-type witness/runtime metadata is not modeled.
iOS iOS 14macOS all
Commands.body
@CommandsBuilder @MainActor @preconcurrency var body: Self.Body { get }
command body lowered structurally per coverage; no dedicated typed command family, no menu runtime
iOS iOS 14macOS all
CommandMenu
public struct CommandMenu<Content> : Commands where Content : View
in catalog (content_param=1) and coverage lists CommandMenu as standard command type parsed+lowered to UIIR
iOS iOS 14macOS all
CommandMenu.init(_:content:)
public init(_ nameKey: LocalizedStringKey, @ViewBuilder content: () -> Content)
command node captured; name arg lowered, content children lowered; name overloads (Text/Resource/StringProtocol) collapse to one node
iOS iOS 14macOS all
CommandMenu.body
@MainActor @preconcurrency public var body: some Commands { get }
synthesized body; lowered structurally, no menu runtime
iOS iOS 14macOS all
CommandGroup
public struct CommandGroup<Content> : Commands where Content : View
in catalog (content_param=1) and coverage lists CommandGroup as standard command type parsed+lowered to UIIR
iOS iOS 14macOS all
CommandGroup.init(before:addition:)
public init(before group: CommandGroupPlacement, @ViewBuilder addition: () -> Content)
node captured; placement arg is a value type not modeled, addition children lowered; placement semantics not applied
iOS iOS 14macOS all
CommandGroup.init(after:addition:)
public init(after group: CommandGroupPlacement, @ViewBuilder addition: () -> Content)
node captured; placement value not modeled; addition children lowered
iOS iOS 14macOS all
CommandGroup.init(replacing:addition:)
public init(replacing group: CommandGroupPlacement, @ViewBuilder addition: () -> Content)
node captured; placement value not modeled; addition children lowered
iOS iOS 14macOS all
CommandGroup.body
@MainActor @preconcurrency public var body: some Commands { get }
synthesized body; lowered structurally, no menu runtime
iOS iOS 14macOS all
CommandGroupPlacement
public struct CommandGroupPlacement : Sendable
contextual placement values lower as enum tokens in CommandGroup before/after/replacing args; standalone value type/runtime placement not modeled
iOS iOS 14macOS all
CommandGroupPlacement.appInfo
public static let appInfo: CommandGroupPlacement
Contextually lowered in CommandGroup(before:) as typed enum arg .appInfo; menu placement application/runtime remains host policy.
iOS iOS 14macOS all
CommandGroupPlacement.appSettings
public static let appSettings: CommandGroupPlacement
Contextually lowered in CommandGroup(before:) as typed enum arg .appSettings.
iOS iOS 14macOS all
CommandGroupPlacement.systemServices
public static let systemServices: CommandGroupPlacement
Contextually lowered in CommandGroup(before:) as typed enum arg .systemServices.
iOS iOS 14macOS all
CommandGroupPlacement.appVisibility
public static let appVisibility: CommandGroupPlacement
Contextually lowered in CommandGroup(before:) as typed enum arg .appVisibility.
iOS iOS 14macOS all
CommandGroupPlacement.appTermination
public static let appTermination: CommandGroupPlacement
Contextually lowered in CommandGroup(before:) as typed enum arg .appTermination.
iOS iOS 14macOS all
CommandGroupPlacement.newItem
public static let newItem: CommandGroupPlacement
Contextually lowered in CommandGroup(before:) as typed enum arg .newItem.
iOS iOS 14macOS all
CommandGroupPlacement.saveItem
public static let saveItem: CommandGroupPlacement
Contextually lowered in CommandGroup(before:) as typed enum arg .saveItem.
iOS iOS 14macOS all
CommandGroupPlacement.importExport
public static let importExport: CommandGroupPlacement
Contextually lowered in CommandGroup(before:) as typed enum arg .importExport.
iOS iOS 14macOS all
CommandGroupPlacement.printItem
public static let printItem: CommandGroupPlacement
Contextually lowered in CommandGroup(before:) as typed enum arg .printItem.
iOS iOS 14macOS all
CommandGroupPlacement.undoRedo
public static let undoRedo: CommandGroupPlacement
Contextually lowered in CommandGroup(before:) as typed enum arg .undoRedo.
iOS iOS 14macOS all
CommandGroupPlacement.pasteboard
public static let pasteboard: CommandGroupPlacement
Contextually lowered in CommandGroup(before:) as typed enum arg .pasteboard.
iOS iOS 14macOS all
CommandGroupPlacement.textEditing
public static let textEditing: CommandGroupPlacement
Contextually lowered in CommandGroup(before:) as typed enum arg .textEditing.
iOS iOS 14macOS all
CommandGroupPlacement.textFormatting
public static let textFormatting: CommandGroupPlacement
Contextually lowered in CommandGroup(before:) as typed enum arg .textFormatting.
iOS iOS 14macOS all
CommandGroupPlacement.toolbar
public static let toolbar: CommandGroupPlacement
Contextually lowered in CommandGroup(before:) as typed enum arg .toolbar.
iOS iOS 14macOS all
CommandGroupPlacement.sidebar
public static let sidebar: CommandGroupPlacement
Contextually lowered in CommandGroup(before:) as typed enum arg .sidebar.
iOS iOS 14macOS all
CommandGroupPlacement.windowSize
public static let windowSize: CommandGroupPlacement
Contextually lowered in CommandGroup(before:) as typed enum arg .windowSize.
iOS iOS 14macOS all
CommandGroupPlacement.windowArrangement
public static let windowArrangement: CommandGroupPlacement
Contextually lowered in CommandGroup(before:) as typed enum arg .windowArrangement.
iOS iOS 14macOS all
CommandGroupPlacement.help
public static let help: CommandGroupPlacement
Contextually lowered in CommandGroup(before:) as typed enum arg .help.
iOS iOS 14macOS all
EmptyCommands
public struct EmptyCommands : Commands
in catalog (SW_UI_VIEWS) and coverage commands family; modeled as stable UIIR kind
iOS iOS 14macOS all
EmptyCommands.init()
public init()
empty command set node; trivially modeled, no menu runtime
iOS iOS 14macOS all
InspectorCommands
public struct InspectorCommands : Commands
in catalog and coverage lists InspectorCommands as standard command type parsed+lowered to UIIR
iOS iOS 17macOS macOS 14
InspectorCommands.init()
public init()
standard command bundle node captured; menu items not realized (no menu runtime)
iOS iOS 17macOS macOS 14
ToolbarCommands
public struct ToolbarCommands : Commands
standard command bundle is in catalog and lowers as a stable leaf UIIR command kind; command menu runtime still out of scope
iOS iOS 14macOS all
ToolbarCommands.init()
public init()
zero-argument standard command bundle initializer lowers to its stable UIIR command kind
iOS iOS 14macOS all
SidebarCommands
public struct SidebarCommands : Commands
standard command bundle is in catalog and lowers as a stable leaf UIIR command kind; command menu runtime still out of scope
iOS iOS 14macOS all
SidebarCommands.init()
public init()
zero-argument standard command bundle initializer lowers to its stable UIIR command kind
iOS iOS 14macOS all
TextEditingCommands
public struct TextEditingCommands : Commands
standard command bundle is in catalog and lowers as a stable leaf UIIR command kind; command menu runtime still out of scope
iOS iOS 14macOS all
TextEditingCommands.init()
public init()
zero-argument standard command bundle initializer lowers to its stable UIIR command kind
iOS iOS 14macOS all
TextFormattingCommands
public struct TextFormattingCommands : Commands
standard command bundle is in catalog and lowers as a stable leaf UIIR command kind; command menu runtime still out of scope
iOS iOS 14macOS all
TextFormattingCommands.init()
public init()
zero-argument standard command bundle initializer lowers to its stable UIIR command kind
iOS iOS 14macOS all
ImportFromDevicesCommands
public struct ImportFromDevicesCommands : Commands
standard command bundle is in catalog and lowers as a stable leaf UIIR command kind; command menu runtime still out of scope
iOSmacOS macOS 12
ImportFromDevicesCommands.init()
public init()
zero-argument standard command bundle initializer lowers to its stable UIIR command kind
iOSmacOS macOS 12
WindowResizability
public struct WindowResizability : Sendable
contextual value tokens are preserved by windowResizability(_:) scene modifier; standalone type/runtime resizing not modeled
iOS iOS 17macOS macOS 13
WindowResizability.automatic
public static var automatic: WindowResizability
Contextually lowered by Scene.windowResizability(_:) to semantic.payload.resizability="automatic"; native window resizing remains platform policy.
iOS iOS 17macOS macOS 13
WindowResizability.contentSize
public static var contentSize: WindowResizability
Contextually lowered by Scene.windowResizability(_:) to semantic.payload.resizability="contentSize".
iOS iOS 17macOS macOS 13
WindowResizability.contentMinSize
public static var contentMinSize: WindowResizability
Contextually lowered by Scene.windowResizability(_:) to semantic.payload.resizability="contentMinSize".
iOS iOS 17macOS macOS 13
KeyEquivalent
public struct KeyEquivalent : Sendable
keyboardShortcut lowering preserves named and character key tokens with typed payloads; standalone value type/properties not modeled
iOS iOS 14macOS all
KeyEquivalent.init(_:)
public init(_ character: Character)
character literal shortcut input lowers as keyKind=character in keyboardShortcut payload; standalone initializer object not modeled
iOS iOS 14macOS all
KeyEquivalent.character
public var character: Character
property member access such as KeyEquivalent.escape.character is preserved structurally in defaultExpr metadata; no value runtime/getter execution
iOS iOS 14macOS all
KeyEquivalent.upArrow
public static let upArrow: KeyEquivalent
Contextually lowered by keyboardShortcut to semantic.payload.key="upArrow" / keyKind="named"; standalone KeyEquivalent value API remains under the type row.
iOS iOS 14macOS all
KeyEquivalent.downArrow
public static let downArrow: KeyEquivalent
Contextually lowered by keyboardShortcut to semantic.payload.key="downArrow" / keyKind="named".
iOS iOS 14macOS all
KeyEquivalent.leftArrow
public static let leftArrow: KeyEquivalent
Contextually lowered by keyboardShortcut to semantic.payload.key="leftArrow" / keyKind="named".
iOS iOS 14macOS all
KeyEquivalent.rightArrow
public static let rightArrow: KeyEquivalent
Contextually lowered by keyboardShortcut to semantic.payload.key="rightArrow" / keyKind="named".
iOS iOS 14macOS all
KeyEquivalent.escape
public static let escape: KeyEquivalent
Contextually lowered by View/Scene keyboardShortcut to semantic.payload.key="escape" / keyKind="named".
iOS iOS 14macOS all
KeyEquivalent.delete
public static let delete: KeyEquivalent
Contextually lowered by keyboardShortcut to semantic.payload.key="delete" / keyKind="named".
iOS iOS 14macOS all
KeyEquivalent.deleteForward
public static let deleteForward: KeyEquivalent
Contextually lowered by keyboardShortcut to semantic.payload.key="deleteForward" / keyKind="named".
iOS iOS 14macOS all
KeyEquivalent.home
public static let home: KeyEquivalent
Contextually lowered by keyboardShortcut to semantic.payload.key="home" / keyKind="named".
iOS iOS 14macOS all
KeyEquivalent.end
public static let end: KeyEquivalent
Contextually lowered by keyboardShortcut to semantic.payload.key="end" / keyKind="named".
iOS iOS 14macOS all
KeyEquivalent.pageUp
public static let pageUp: KeyEquivalent
Contextually lowered by keyboardShortcut to semantic.payload.key="pageUp" / keyKind="named".
iOS iOS 14macOS all
KeyEquivalent.pageDown
public static let pageDown: KeyEquivalent
Contextually lowered by keyboardShortcut to semantic.payload.key="pageDown" / keyKind="named".
iOS iOS 14macOS all
KeyEquivalent.clear
public static let clear: KeyEquivalent
Contextually lowered by keyboardShortcut to semantic.payload.key="clear" / keyKind="named".
iOS iOS 14macOS all
KeyEquivalent.tab
public static let tab: KeyEquivalent
Contextually lowered by keyboardShortcut to semantic.payload.key="tab" / keyKind="named"; modifier payload also preserves modifiers/localization.
iOS iOS 14macOS all
KeyEquivalent.space
public static let space: KeyEquivalent
Contextually lowered by keyboardShortcut to semantic.payload.key="space" / keyKind="named"; .custom localization is preserved in the same payload.
iOS iOS 14macOS all
KeyEquivalent.return
public static let `return`: KeyEquivalent
Contextually lowered by keyboardShortcut to semantic.payload.key="return" / keyKind="named".
iOS iOS 14macOS all
KeyEquivalent.init(extendedGraphemeClusterLiteral:)
public init(extendedGraphemeClusterLiteral: Character)
grapheme/character literal use lowers contextually for keyboardShortcut; full literal conformance object not modeled
iOS iOS 14macOS all
KeyboardShortcut
public struct KeyboardShortcut : Sendable
contextual KeyboardShortcut tokens lower through View/Scene.keyboardShortcut semantic payloads; standalone value storage/properties not modeled
iOS iOS 14macOS all
KeyboardShortcut.init(_:modifiers:)
public init(_ key: KeyEquivalent, modifiers: EventModifiers = .command)
initializer-shaped shortcut values are decomposed when passed to keyboardShortcut; standalone object runtime missing
iOS iOS 14macOS all
KeyboardShortcut.init(_:modifiers:localization:)
public init(_ key: KeyEquivalent, modifiers: EventModifiers = .command, localization: KeyboardShortcut.Localization)
key/modifier/localization payload is decomposed in keyboardShortcut lowering; standalone object runtime missing
iOS iOS 15macOS macOS 12
KeyboardShortcut.key
public var key: KeyEquivalent
property member access from KeyboardShortcut tokens is preserved structurally in defaultExpr metadata; no value runtime/getter execution
iOS iOS 14macOS all
KeyboardShortcut.modifiers
public var modifiers: EventModifiers
property member access from KeyboardShortcut tokens is preserved structurally in defaultExpr metadata; no value runtime/getter execution
iOS iOS 14macOS all
KeyboardShortcut.localization
public var localization: KeyboardShortcut.Localization
property member access from KeyboardShortcut tokens is preserved structurally in defaultExpr metadata; no value runtime/getter execution
iOS iOS 15macOS macOS 12
KeyboardShortcut.defaultAction
public static let defaultAction: KeyboardShortcut
Contextually lowered by keyboardShortcut(_:) to semantic.payload.key="defaultAction" / keyKind="named"; dispatch remains renderer policy.
iOS iOS 14macOS all
KeyboardShortcut.cancelAction
public static let cancelAction: KeyboardShortcut
Contextually lowered by keyboardShortcut(_:) to semantic.payload.key="cancelAction" / keyKind="named"; dispatch remains renderer policy.
iOS iOS 14macOS all
KeyboardShortcut.Localization
public struct Localization : Sendable
localization tokens are preserved in keyboardShortcut payload; standalone value type/properties not modeled
iOS iOS 15macOS macOS 12
KeyboardShortcut.Localization.automatic
public static let automatic: KeyboardShortcut.Localization
Contextually lowered by View/Scene keyboardShortcut(_:modifiers:localization:) to semantic.payload.localization="automatic".
iOS iOS 15macOS macOS 12
KeyboardShortcut.Localization.withoutMirroring
public static let withoutMirroring: KeyboardShortcut.Localization
Contextually lowered by keyboardShortcut(_:modifiers:localization:) to semantic.payload.localization="withoutMirroring".
iOS iOS 15macOS macOS 12
KeyboardShortcut.Localization.custom
public static let custom: KeyboardShortcut.Localization
Contextually lowered by keyboardShortcut(_:modifiers:localization:) to semantic.payload.localization="custom".
iOS iOS 15macOS macOS 12
Scene.defaultSize(_:)
nonisolated public func defaultSize(_ size: CGSize) -> some Scene
Dedicated UI_SEMANTIC_SCENE_DEFAULT_SIZE; JSON emits semantic.payload.size for CGSize/expression args. Platform window sizing remains host policy.
iOS iOS 17macOS macOS 13
Scene.defaultSize(width:height:)
nonisolated public func defaultSize(width: CGFloat, height: CGFloat) -> some Scene
Dedicated UI_SEMANTIC_SCENE_DEFAULT_SIZE; JSON emits typed semantic.payload.width and height scalar args.
iOS iOS 17macOS macOS 13
Scene.defaultPosition(_:)
nonisolated public func defaultPosition(_ position: UnitPoint) -> some Scene
Dedicated UI_SEMANTIC_SCENE_DEFAULT_POSITION; enum/member UnitPoint tokens lower to semantic.payload.position.
iOSmacOS macOS 13
Scene.windowResizability(_:)
nonisolated public func windowResizability(_ resizability: WindowResizability) -> some Scene
Dedicated UI_SEMANTIC_WINDOW_RESIZABILITY; lowering maps enum/member tokens and JSON emits semantic.payload.resizability. Native window resizing remains platform policy.
iOS iOS 17macOS macOS 13
Scene.windowStyle(_:)
nonisolated public func windowStyle<S>(_ style: S) -> some Scene where S : WindowStyle
Dedicated UI_SEMANTIC_WINDOW_STYLE; JSON emits semantic.payload.style for built-in WindowStyle tokens. AppKit window hosting remains out of scope.
iOSmacOS macOS 11
Scene.windowToolbarStyle(_:)
nonisolated public func windowToolbarStyle<S>(_ style: S) -> some Scene where S : WindowToolbarStyle
Dedicated UI_SEMANTIC_WINDOW_TOOLBAR_STYLE; JSON emits semantic.payload.style for built-in toolbar style tokens.
iOSmacOS macOS 11
Scene.menuBarExtraStyle(_:)
nonisolated public func menuBarExtraStyle<S>(_ style: S) -> some Scene where S : MenuBarExtraStyle
Dedicated UI_SEMANTIC_MENU_BAR_EXTRA_STYLE; JSON emits semantic.payload.style for menu/window/automatic tokens. Menu-bar host runtime remains platform policy.
iOSmacOS macOS 13
Scene.commands(content:)
nonisolated public func commands<Content>(@CommandsBuilder content: () -> Content) -> some Scene where Content : Commands
scene modifier is catalogued and preserves CommandsBuilder closure as expr_ref/actionIR; command menu runtime not implemented
iOS iOS 14macOS all
Scene.commandsRemoved()
nonisolated public func commandsRemoved() -> some Scene
scene modifier is catalogued as a stable UIIR modifier; command removal runtime not implemented
iOS iOS 16macOS macOS 13
Scene.commandsReplaced(content:)
nonisolated public func commandsReplaced<Content>(@CommandsBuilder content: () -> Content) -> some Scene where Content : Commands
scene modifier is catalogued and preserves replacement CommandsBuilder closure as expr_ref/actionIR; command runtime missing
iOS iOS 16macOS macOS 13
Scene.defaultAppStorage(_:)
nonisolated public func defaultAppStorage(_ store: UserDefaults) -> some Scene
Dedicated UI_SEMANTIC_DEFAULT_APP_STORAGE; lowering maps defaultAppStorage in modules/swiftui/compiler/lower/chain.c:619, and JSON emits semantic.payload.store (modules/swiftui/compiler/uiir/json_modifier.c:1735). AppStorage default-store runtime remains platform policy.
iOS iOS 17macOS macOS 14
Scene.handlesExternalEvents(matching:)
nonisolated public func handlesExternalEvents(matching conditions: Set<String>) -> some Scene
Dedicated UI_SEMANTIC_HANDLES_EXTERNAL_EVENTS; lowering maps handlesExternalEvents in modules/swiftui/compiler/lower/chain.c:621, and JSON emits semantic.payload.conditions from the matching arg (modules/swiftui/compiler/uiir/json_modifier.c:1738). External-event routing remains runtime policy.
iOS iOS 14macOS all
Scene.restorationBehavior(_:)
nonisolated public func restorationBehavior(_ behavior: SceneRestorationBehavior) -> some Scene
Dedicated UI_SEMANTIC_SCENE_RESTORATION_BEHAVIOR; JSON emits semantic.payload.behavior. Restoration runtime remains platform policy.
iOS iOS 18macOS macOS 15
Scene.defaultLaunchBehavior(_:)
nonisolated public func defaultLaunchBehavior(_ behavior: SceneLaunchBehavior) -> some Scene
Dedicated UI_SEMANTIC_SCENE_DEFAULT_LAUNCH_BEHAVIOR; JSON emits semantic.payload.behavior. Launch policy runtime remains host policy.
iOSmacOS macOS 15
Scene.windowLevel(_:)
nonisolated public func windowLevel(_ level: WindowLevel) -> some Scene
Dedicated UI_SEMANTIC_SCENE_WINDOW_LEVEL; JSON emits semantic.payload.level for WindowLevel tokens.
iOSmacOS macOS 15
Scene.windowManagerRole(_:)
nonisolated public func windowManagerRole(_ role: WindowManagerRole) -> some Scene
Dedicated UI_SEMANTIC_SCENE_WINDOW_MANAGER_ROLE; JSON emits semantic.payload.role.
iOSmacOS macOS 15
Scene.windowIdealSize(_:)
nonisolated public func windowIdealSize(_ idealSize: WindowIdealSize) -> some Scene
Dedicated UI_SEMANTIC_SCENE_WINDOW_IDEAL_SIZE; JSON emits semantic.payload.idealSize.
iOSmacOS macOS 15
Scene.windowBackgroundDragBehavior(_:)
nonisolated public func windowBackgroundDragBehavior(_ behavior: WindowInteractionBehavior) -> some Scene
Dedicated UI_SEMANTIC_SCENE_WINDOW_BACKGROUND_DRAG_BEHAVIOR; JSON emits semantic.payload.behavior.
iOSmacOS macOS 15
Scene.defaultWindowPlacement(_:)
nonisolated public func defaultWindowPlacement(_ makePlacement: @escaping (WindowLayoutRoot, WindowPlacementContext) -> WindowPlacement) -> some Scene
scene modifier is catalogued and preserves placement closure arg structurally; placement engine runtime missing
iOSmacOS macOS 15
View.keyboardShortcut(_:modifiers:)
nonisolated public func keyboardShortcut(_ key: KeyEquivalent, modifiers: EventModifiers = .command) -> some View
Dedicated UI_SEMANTIC_KEYBOARD_SHORTCUT; attach_keyboard_shortcut_metadata in modules/swiftui/compiler/lower/chain.c:2198 decomposes literal/named keys and EventModifiers option sets, including default .command; JSON emits typed key/modifier payloads in modules/swiftui/compiler/uiir/json_modifier.c:2094.
iOS iOS 14macOS all
View.keyboardShortcut(_:)
nonisolated public func keyboardShortcut(_ shortcut: KeyboardShortcut) -> some View
KeyboardShortcut(...) value calls and .defaultAction/.cancelAction tokens are contextually decomposed by keyboard_shortcut_key_from_modifier_arg in modules/swiftui/compiler/lower/chain.c:1690; payload fields are key, keyKind, and optional modifiers.
iOS iOS 14macOS all
View.keyboardShortcut(_:) (optional)
nonisolated public func keyboardShortcut(_ shortcut: KeyboardShortcut?) -> some View
Dedicated UI_SEMANTIC_KEYBOARD_SHORTCUT exists for non-nil shortcut values, but optional nil/dynamic optional values still fall back to raw args; no shortcut dispatch runtime.
iOS iOS 15macOS macOS 12
View.keyboardShortcut(_:modifiers:localization:)
nonisolated public func keyboardShortcut(_ key: KeyEquivalent, modifiers: EventModifiers = .command, localization: KeyboardShortcut.Localization) -> some View
keyboard_shortcut_localization_from_arg in modules/swiftui/compiler/lower/chain.c:1818 decomposes .automatic, .withoutMirroring, and .custom; JSON emits payload.localization in modules/swiftui/compiler/uiir/json_modifier.c:2112.
iOS iOS 15macOS macOS 12
Scene.keyboardShortcut(_:modifiers:localization:)
nonisolated public func keyboardShortcut(_ key: KeyEquivalent, modifiers: EventModifiers = .command, localization: KeyboardShortcut.Localization = .automatic) -> some Scene
Reuses dedicated UI_SEMANTIC_KEYBOARD_SHORTCUT; JSON emits typed key, keyKind, modifiers, and localization payload for Scene modifiers. Platform shortcut dispatch remains host policy.
iOSmacOS macOS 14
Scene.focusedSceneValue(_:_:)
nonisolated public func focusedSceneValue<T>(_ keyPath: WritableKeyPath<FocusedValues, T?>, _ value: T) -> some Scene
Dedicated UI_SEMANTIC_FOCUSED_SCENE_VALUE; lowering maps focusedSceneValue in modules/swiftui/compiler/lower/chain.c:637, and JSON emits semantic.payload.keyPath plus value (modules/swiftui/compiler/uiir/json_modifier.c:1786). Scene focus runtime remains platform policy.
iOS iOS 14macOS all
Scene.focusedSceneObject(_:)
nonisolated public func focusedSceneObject<T>(_ object: T) -> some Scene where T : ObservableObject
Dedicated UI_SEMANTIC_FOCUSED_SCENE_OBJECT; lowering maps focusedSceneObject in modules/swiftui/compiler/lower/chain.c:641, and JSON emits semantic.payload.object (modules/swiftui/compiler/uiir/json_modifier.c:1797).
iOS iOS 15macOS macOS 12
WindowStyle
public protocol WindowStyle
module protocol stub is generated and style tokens are captured by windowStyle(_:) contexts; protocol execution/runtime not modeled
iOSmacOS macOS 11
WindowStyle.automatic
public static var automatic: DefaultWindowStyle { get }
Contextually lowered by Scene.windowStyle(_:) to semantic.payload.style="automatic"; WindowStyle protocol/runtime remains partial.
iOSmacOS macOS 11
WindowStyle.titleBar
public static var titleBar: TitleBarWindowStyle { get }
Contextually lowered by Scene.windowStyle(_:) to semantic.payload.style="titleBar".
iOSmacOS macOS 11
WindowStyle.hiddenTitleBar
public static var hiddenTitleBar: HiddenTitleBarWindowStyle { get }
Contextually lowered by Scene.windowStyle(_:) to semantic.payload.style="hiddenTitleBar".
iOSmacOS macOS 11
WindowStyle.plain
public static var plain: PlainWindowStyle { get }
Contextually lowered by Scene.windowStyle(_:) to semantic.payload.style="plain".
iOSmacOS macOS 15
WindowToolbarStyle
public protocol WindowToolbarStyle
module protocol stub is generated and style tokens are captured by windowToolbarStyle(_:) contexts; protocol execution/runtime not modeled
iOSmacOS macOS 11
WindowToolbarStyle.automatic
public static var automatic: DefaultWindowToolbarStyle { get }
Contextually lowered by Scene.windowToolbarStyle(_:) to semantic.payload.style="automatic"; toolbar runtime remains platform policy.
iOSmacOS macOS 11
WindowToolbarStyle.unified
public static var unified: UnifiedWindowToolbarStyle { get }
Contextually lowered by Scene.windowToolbarStyle(_:) to semantic.payload.style="unified".
iOSmacOS macOS 11
WindowToolbarStyle.unifiedCompact
public static var unifiedCompact: UnifiedCompactWindowToolbarStyle { get }
Contextually lowered by Scene.windowToolbarStyle(_:) to semantic.payload.style="unifiedCompact".
iOSmacOS macOS 11
WindowToolbarStyle.expanded
public static var expanded: ExpandedWindowToolbarStyle { get }
Contextually lowered by Scene.windowToolbarStyle(_:) to semantic.payload.style="expanded".
iOSmacOS macOS 11
PresentedWindowContent
public struct PresentedWindowContent<Data, Content> : View
in catalog SW_UI_VIEWS as view node; presented-value window content captured structurally only
iOS iOS 16macOS macOS 13
WindowVisibilityToggle
public struct WindowVisibilityToggle<Label> : View
in catalog as view node; structural capture only, no window-toggle runtime
iOSmacOS macOS 15
DefaultWindowVisibilityToggleLabel
public struct DefaultWindowVisibilityToggleLabel : View
in catalog as view node; generic structural capture only
iOSmacOS macOS 15

20. Style protocols + setters

172·39·0
View.buttonStyle(_:)
nonisolated public func buttonStyle<S>(_ style: S) -> some View where S : ButtonStyle
Dedicated semantic UI_SEMANTIC_BUTTON_STYLE; built-in style tokens are normalized and interpreted by web ButtonView, while custom makeBody stays under the protocol rows.
iOS iOS 13macOS macOS 10.15
View.buttonStyle(_:) (Primitive)
nonisolated public func buttonStyle<S>(_ style: S) -> some View where S : PrimitiveButtonStyle
Same buttonStyle setter overload; semantic payload/concrete primitive style names normalize to ButtonView runtime policies.
iOS iOS 13macOS macOS 10.15
View.listStyle(_:)
nonisolated public func listStyle<S>(_ style: S) -> some View where S : ListStyle
Dedicated semantic UI_SEMANTIC_LIST_STYLE; built-in list style tokens normalize into web ListView plain/card/sidebar policies.
iOS iOS 13macOS macOS 10.15
View.navigationSplitViewStyle(_:)
nonisolated public func navigationSplitViewStyle<S>(_ style: S) -> some View where S : NavigationSplitViewStyle
Dedicated navigation metadata UI_NAVIGATION_SPLIT_VIEW_STYLE; value arg lowered.
iOS iOS 16macOS macOS 13
View.toggleStyle(_:)
nonisolated public func toggleStyle<S>(_ style: S) -> some View where S : ToggleStyle
Dedicated UI_SEMANTIC_TOGGLE_STYLE; built-in automatic/switch tokens normalize into web ToggleView switch policy.
iOS iOS 13macOS macOS 10.15
View.pickerStyle(_:)
nonisolated public func pickerStyle<S>(_ style: S) -> some View where S : PickerStyle
Dedicated UI_SEMANTIC_PICKER_STYLE; style arg lowered (buttonStyle recipe).
iOS iOS 13macOS macOS 10.15
View.datePickerStyle(_:)
nonisolated public func datePickerStyle<S>(_ style: S) -> some View where S : DatePickerStyle
Dedicated UI_SEMANTIC_DATE_PICKER_STYLE; style arg lowered (buttonStyle recipe).
iOS iOS 13macOS macOS 10.15
View.textFieldStyle(_:)
nonisolated public func textFieldStyle<S>(_ style: S) -> some View where S : TextFieldStyle
Dedicated UI_SEMANTIC_TEXT_FIELD_STYLE; built-in style tokens normalize into web TextFieldView chrome policies.
iOS iOS 13macOS macOS 10.15
View.formStyle(_:)
nonisolated public func formStyle<S>(_ style: S) -> some View where S : FormStyle
Dedicated UI_SEMANTIC_FORM_STYLE; style arg is preserved as typed payload.style (chain.c:707, json_modifier.c:2263). Style protocol execution remains out of scope.
iOS iOS 16macOS macOS 13
View.menuStyle(_:)
nonisolated public func menuStyle<S>(_ style: S) -> some View where S : MenuStyle
Dedicated UI_SEMANTIC_MENU_STYLE; style arg lowered (buttonStyle recipe).
iOS iOS 14macOS macOS 11
View.controlGroupStyle(_:)
nonisolated public func controlGroupStyle<S>(_ style: S) -> some View where S : ControlGroupStyle
Dedicated UI_SEMANTIC_CONTROL_GROUP_STYLE; style arg is preserved as typed payload.style (chain.c:711, json_modifier.c:2265). Style protocol execution remains out of scope.
iOS iOS 15macOS macOS 12
View.labelStyle(_:)
nonisolated public func labelStyle<S>(_ style: S) -> some View where S : LabelStyle
Dedicated UI_SEMANTIC_LABEL_STYLE; style arg lowered (buttonStyle recipe).
iOS iOS 14macOS macOS 11
View.gaugeStyle(_:)
nonisolated public func gaugeStyle<S>(_ style: S) -> some View where S : GaugeStyle
Dedicated UI_SEMANTIC_GAUGE_STYLE; style arg lowered (buttonStyle recipe).
iOS iOS 16macOS macOS 13
View.progressViewStyle(_:)
nonisolated public func progressViewStyle<S>(_ style: S) -> some View where S : ProgressViewStyle
Dedicated UI_SEMANTIC_PROGRESS_VIEW_STYLE; built-in style tokens normalize into web ProgressView bar/spinner policies.
iOS iOS 14macOS macOS 11
View.groupBoxStyle(_:)
nonisolated public func groupBoxStyle<S>(_ style: S) -> some View where S : GroupBoxStyle
Dedicated UI_SEMANTIC_GROUP_BOX_STYLE; style arg is preserved as typed payload.style (chain.c:715, json_modifier.c:2267). Style protocol execution remains out of scope.
iOS iOS 14macOS macOS 11
View.tableStyle(_:)
nonisolated public func tableStyle<S>(_ style: S) -> some View where S : TableStyle
Dedicated UI_SEMANTIC_TABLE_STYLE; style arg lowered (buttonStyle recipe).
iOS iOS 16macOS macOS 12
View.disclosureGroupStyle(_:)
nonisolated public func disclosureGroupStyle<S>(_ style: S) -> some View where S : DisclosureGroupStyle
Dedicated UI_SEMANTIC_DISCLOSURE_GROUP_STYLE; style arg lowered (buttonStyle recipe).
iOS iOS 16macOS macOS 13
View.indexViewStyle(_:)
nonisolated public func indexViewStyle<S>(_ style: S) -> some View where S : IndexViewStyle
Dedicated UI_SEMANTIC_INDEX_VIEW_STYLE; style arg lowered (buttonStyle recipe).
iOS iOS 14macOS
View.tabViewStyle(_:)
nonisolated public func tabViewStyle<S>(_ style: S) -> some View where S : TabViewStyle
Dedicated UI_SEMANTIC_TAB_VIEW_STYLE; style arg lowered (buttonStyle recipe).
iOS iOS 14macOS macOS 11
View.navigationViewStyle(_:)
nonisolated public func navigationViewStyle<S>(_ style: S) -> some View where S : NavigationViewStyle
Dedicated UI_SEMANTIC_NAVIGATION_VIEW_STYLE; style arg lowered (buttonStyle recipe).
iOS iOS 13 (deprecated)macOS macOS 10.15 (deprecated)
View.menuButtonStyle(_:)
nonisolated public func menuButtonStyle<S>(_ style: S) -> some View where S : MenuButtonStyle
Dedicated UI_SEMANTIC_MENU_BUTTON_STYLE; style arg lowered (buttonStyle recipe).
iOSmacOS macOS 10.15 (deprecated)
Scene.menuBarExtraStyle(_:)
nonisolated public func menuBarExtraStyle<S>(_ style: S) -> some Scene where S : MenuBarExtraStyle
Dedicated UI_SEMANTIC_MENU_BAR_EXTRA_STYLE; JSON emits semantic.payload.style for menu/window/automatic tokens. MenuBarExtraStyle protocol execution remains out of scope.
iOSmacOS macOS 13
ButtonStyle
@MainActor public protocol ButtonStyle { associatedtype Body : View; func makeBody(configuration: Self.Configuration) -> Self.Body }
module protocol stub; buttonStyle(_:) preserves style tokens, but custom makeBody execution is not modeled
iOS iOS 13macOS macOS 10.15
ButtonStyle.makeBody(configuration:)
@ViewBuilder @MainActor func makeBody(configuration: Self.Configuration) -> Self.Body
Explicit makeBody calls preserve the configuration arg structurally; style runtime does not execute custom ButtonStyle bodies.
iOS iOS 13macOS macOS 10.15
ButtonStyleConfiguration
public struct ButtonStyleConfiguration { public let role: ButtonRole?; public let label: ButtonStyleConfiguration.Label; public let isPressed: Bool }
module struct stub; type metadata is preserved, but config values are not executed by a style runtime
iOS iOS 13macOS macOS 10.15
ButtonStyleConfiguration.Label
@MainActor public struct Label : View { public typealias Body = Never }
nested module struct stub; type-erased config label is not rendered as a separate view
iOS iOS 13macOS macOS 10.15
PrimitiveButtonStyle
@MainActor public protocol PrimitiveButtonStyle { associatedtype Body : View; func makeBody(configuration: Self.Configuration) -> Self.Body }
module protocol stub; style tokens/config types are preserved, but protocol execution is not modeled
iOS iOS 13macOS macOS 10.15
PrimitiveButtonStyleConfiguration
public struct PrimitiveButtonStyleConfiguration { public let role: ButtonRole?; public let label: Label; public func trigger() }
module struct stub; trigger/config execution is not modeled
iOS iOS 13macOS macOS 10.15
ToggleStyle
@MainActor public protocol ToggleStyle { associatedtype Body : View; func makeBody(configuration: Self.Configuration) -> Self.Body }
module protocol stub; toggleStyle(_:) preserves style tokens, but protocol execution is not modeled
iOS iOS 13macOS macOS 10.15
ToggleStyleConfiguration
public struct ToggleStyleConfiguration { public let label: ToggleStyleConfiguration.Label; public var isOn: Bool; public var isMixed: Bool }
module struct stub; config value behavior is not modeled
iOS iOS 13macOS macOS 10.15
PickerStyle
public protocol PickerStyle { }
module protocol stub; pickerStyle(_:) preserves style tokens, but style execution is not modeled
iOS iOS 13macOS macOS 10.15
DatePickerStyle
@MainActor public protocol DatePickerStyle { associatedtype Body : View; func makeBody(configuration: Self.Configuration) -> Self.Body }
module protocol stub; datePickerStyle(_:) preserves style tokens, but protocol execution is not modeled
iOS iOS 13macOS macOS 10.15
DatePickerStyleConfiguration
public struct DatePickerStyleConfiguration { public let label: DatePickerStyleConfiguration.Label; public var selection: Binding<Date> }
module struct stub; config binding execution is not modeled
iOS iOS 16macOS macOS 13
TextFieldStyle
public protocol TextFieldStyle { }
module protocol stub; textFieldStyle(_:) preserves style tokens, but style execution is not modeled
iOS iOS 13macOS macOS 10.15
ListStyle
public protocol ListStyle { }
module protocol stub; listStyle(_:) preserves style tokens and web handles built-in policies, but custom style execution is not modeled
iOS iOS 13macOS macOS 10.15
FormStyle
@MainActor public protocol FormStyle { associatedtype Body : View; func makeBody(configuration: Self.Configuration) -> Self.Body }
module protocol stub; formStyle(_:) preserves style tokens, but protocol execution is not modeled
iOS iOS 16macOS macOS 13
FormStyleConfiguration
public struct FormStyleConfiguration { public var content: FormStyleConfiguration.Content }
module struct stub; form config content is not executed as a style runtime
iOS iOS 16macOS macOS 13
MenuStyle
@MainActor public protocol MenuStyle { associatedtype Body : View; func makeBody(configuration: Self.Configuration) -> Self.Body }
module protocol stub; menuStyle(_:) preserves style tokens, but protocol execution is not modeled
iOS iOS 14macOS macOS 11
MenuStyleConfiguration
public struct MenuStyleConfiguration { public struct Label : View; public struct Content : View }
module struct stub; menu config label/content are not executed by a style runtime
iOS iOS 14macOS macOS 11
ControlGroupStyle
@MainActor public protocol ControlGroupStyle { associatedtype Body : View; func makeBody(configuration: Self.Configuration) -> Self.Body }
module protocol stub; controlGroupStyle(_:) preserves style tokens, but protocol execution is not modeled
iOS iOS 15macOS macOS 12
ControlGroupStyleConfiguration
public struct ControlGroupStyleConfiguration { public let content: ControlGroupStyleConfiguration.Content }
module struct stub; config content is not executed
iOS iOS 15macOS macOS 12
LabelStyle
@MainActor public protocol LabelStyle { associatedtype Body : View; func makeBody(configuration: Self.Configuration) -> Self.Body }
module protocol stub; labelStyle(_:) preserves style tokens, but protocol execution is not modeled
iOS iOS 14macOS macOS 11
LabelStyleConfiguration
public struct LabelStyleConfiguration { public var icon: LabelStyleConfiguration.Icon; public var title: LabelStyleConfiguration.Title }
module struct stub; config icon/title values are not executed
iOS iOS 14macOS macOS 11
GaugeStyle
@MainActor public protocol GaugeStyle { associatedtype Body : View; func makeBody(configuration: Self.Configuration) -> Self.Body }
module protocol stub; gaugeStyle(_:) preserves style tokens, but protocol execution is not modeled
iOS iOS 16macOS macOS 13
GaugeStyleConfiguration
public struct GaugeStyleConfiguration { public var value: Double; public var label: Label; public var currentValueLabel: CurrentValueLabel? }
module struct stub; config values are not executed by a gauge style runtime
iOS iOS 16macOS macOS 13
ProgressViewStyle
@MainActor public protocol ProgressViewStyle { associatedtype Body : View; func makeBody(configuration: Self.Configuration) -> Self.Body }
module protocol stub; progressViewStyle(_:) preserves style tokens, but protocol execution is not modeled
iOS iOS 14macOS macOS 11
ProgressViewStyleConfiguration
public struct ProgressViewStyleConfiguration { public let fractionCompleted: Double?; public var label: Label?; public var currentValueLabel: CurrentValueLabel? }
module struct stub; config values are not executed by a progress style runtime
iOS iOS 14macOS macOS 11
GroupBoxStyle
@MainActor public protocol GroupBoxStyle { associatedtype Body : View; func makeBody(configuration: Self.Configuration) -> Self.Body }
module protocol stub; groupBoxStyle(_:) preserves style tokens, but protocol execution is not modeled
iOS iOS 14macOS macOS 11
GroupBoxStyleConfiguration
public struct GroupBoxStyleConfiguration { public let label: Label; public let content: Content }
module struct stub; config label/content are not executed by a style runtime
iOS iOS 14macOS macOS 11
TableStyle
@MainActor public protocol TableStyle { associatedtype Body; func makeBody(configuration: Self.Configuration) -> Self.Body }
module protocol stub; tableStyle(_:) preserves style tokens, but protocol execution is not modeled
iOS iOS 16macOS macOS 12
TableStyleConfiguration
public struct TableStyleConfiguration { }
module struct stub; no table style runtime execution
iOS iOS 16macOS macOS 12
NavigationSplitViewStyle
@MainActor public protocol NavigationSplitViewStyle { associatedtype Body : View; func makeBody(configuration: Self.Configuration) -> Self.Body }
module protocol stub; the navigationSplitViewStyle setter is modeled, but the protocol is not executed
iOS iOS 16macOS macOS 13
NavigationSplitViewStyleConfiguration
public struct NavigationSplitViewStyleConfiguration { }
module struct stub; config execution is not modeled
iOS iOS 16macOS macOS 13
DisclosureGroupStyle
@MainActor public protocol DisclosureGroupStyle { associatedtype Body : View; func makeBody(configuration: Self.Configuration) -> Self.Body }
module protocol stub; disclosureGroupStyle(_:) preserves style tokens, but protocol execution is not modeled
iOS iOS 16macOS macOS 13
DisclosureGroupStyleConfiguration
public struct DisclosureGroupStyleConfiguration { public let label: Label; public let content: Content; public var isExpanded: Bool }
module struct stub; config label/content/expanded values are not executed by a style runtime
iOS iOS 16macOS macOS 13
IndexViewStyle
public protocol IndexViewStyle { }
module protocol stub; indexViewStyle(_:) preserves style tokens, but style execution is not modeled
iOS iOS 14macOS
TabViewStyle
@MainActor public protocol TabViewStyle { }
module protocol stub; tabViewStyle(_:) preserves style tokens, but style execution is not modeled
iOS iOS 14macOS macOS 11
NavigationViewStyle
public protocol NavigationViewStyle { }
module protocol stub; navigationViewStyle(_:) preserves style tokens, but style execution is not modeled
iOS iOS 13 (deprecated)macOS macOS 10.15 (deprecated)
MenuButtonStyle
public protocol MenuButtonStyle { }
module protocol stub; menuButtonStyle(_:) preserves style tokens, but style execution is not modeled
iOSmacOS macOS 10.15 (deprecated)
LabeledContentStyleConfiguration
public struct LabeledContentStyleConfiguration { public let label: Label; public let content: Content }
module struct stub; labeled-content config values are not executed
iOS iOS 16macOS macOS 13
TextEditorStyleConfiguration
public struct TextEditorStyleConfiguration { }
module struct stub; text-editor style config execution is not modeled
iOS iOS 17macOS macOS 14
PrimitiveButtonStyle.automatic
@MainActor public static var automatic: DefaultButtonStyle { get }
Captured as payload.style, normalized to automatic, and web ButtonView uses the default render path.
iOS iOS 13macOS macOS 10.15
PrimitiveButtonStyle.bordered
@MainActor public static var bordered: BorderedButtonStyle { get }
Captured as payload.style, normalized to bordered, and web ButtonView renders a bordered pill.
iOS iOS 15macOS macOS 12
PrimitiveButtonStyle.borderedProminent
@MainActor public static var borderedProminent: BorderedProminentButtonStyle { get }
Captured as payload.style, normalized to borderedProminent, and web ButtonView renders accent fill + white text.
iOS iOS 15macOS macOS 12
PrimitiveButtonStyle.borderless
@MainActor public static var borderless: BorderlessButtonStyle { get }
Captured as payload.style, normalized to borderless, and web ButtonView uses the text-only/default policy.
iOS iOS 13macOS macOS 10.15
PrimitiveButtonStyle.plain
@MainActor public static var plain: PlainButtonStyle { get }
Captured as payload.style, normalized to plain, and web ButtonView keeps text-only sizing.
iOS iOS 13macOS macOS 10.15
PrimitiveButtonStyle.glass
@MainActor public static var glass: GlassButtonStyle { get }
Captured as payload.style, normalized to glass, and web ButtonView applies the Liquid Glass button policy.
iOS iOS 26macOS macOS 26
PrimitiveButtonStyle.glassProminent
@MainActor public static var glassProminent: GlassProminentButtonStyle { get }
Captured as payload.style, normalized to glassProminent, and web ButtonView applies the prominent glass button policy.
iOS iOS 26macOS macOS 26
ToggleStyle.automatic
@MainActor public static var automatic: DefaultToggleStyle { get }
Captured as payload.style, normalized to automatic, and web ToggleView renders the default switch policy.
iOS iOS 14macOS macOS 11
ToggleStyle.switch
@MainActor public static var switch: SwitchToggleStyle { get }
Captured as payload.style, normalized to switch, and web ToggleView renders the switch policy.
iOS iOS 14macOS macOS 11
ToggleStyle.button
@MainActor public static var button: ButtonToggleStyle { get }
Captured as payload.style, normalized to button, and web ToggleView renders a selectable pill button.
iOS iOS 15macOS macOS 12
ToggleStyle.checkbox
public static var checkbox: CheckboxToggleStyle { get }
Captured as payload.style, normalized to checkbox, and web ToggleView renders a checked/unchecked checkbox row.
iOSmacOS macOS 10.15
PickerStyle.automatic
public static var automatic: DefaultPickerStyle { get }
Captured as payload.style, normalized to automatic, and web PickerView keeps the default menu-row policy.
iOS iOS 13macOS macOS 10.15
PickerStyle.inline
public static var inline: InlinePickerStyle { get }
Captured as payload.style, normalized to inline, and web PickerView renders inline option rows.
iOS iOS 14macOS macOS 11
PickerStyle.menu
public static var menu: MenuPickerStyle { get }
Captured as payload.style, normalized to menu, and web PickerView renders the menu-row policy.
iOS iOS 14macOS macOS 11
PickerStyle.segmented
public static var segmented: SegmentedPickerStyle { get }
Captured as payload.style, normalized to segmented, and web PickerView renders a segmented control.
iOS iOS 13macOS macOS 10.15
PickerStyle.wheel
public static var wheel: WheelPickerStyle { get }
Captured as payload.style, normalized to wheel, and web PickerView renders a wheel-style selected center row.
iOS iOS 13macOS
PickerStyle.palette
public static var palette: PalettePickerStyle { get }
Captured as payload.style, normalized to palette, and web PickerView renders a palette segmented control.
iOS iOS 17macOS macOS 14
PickerStyle.navigationLink
public static var navigationLink: NavigationLinkPickerStyle { get }
Captured as payload.style, normalized to navigationLink, and web PickerView uses the menu-row navigation policy.
iOS iOS 16macOS
PickerStyle.radioGroup
public static var radioGroup: RadioGroupPickerStyle { get }
Captured as payload.style, normalized to radioGroup, and web PickerView renders radio option rows.
iOSmacOS macOS 10.15
DatePickerStyle.automatic
@MainActor public static var automatic: DefaultDatePickerStyle { get }
Captured as payload.style, normalized to automatic, and web DatePickerView keeps the default compact row + date pill policy.
iOS iOS 13macOS macOS 10.15
DatePickerStyle.compact
@MainActor public static var compact: CompactDatePickerStyle { get }
Captured as payload.style, normalized to compact, and web DatePickerView renders the compact row + date pill policy.
iOS iOS 14macOS macOS 10.15.4
DatePickerStyle.graphical
@MainActor public static var graphical: GraphicalDatePickerStyle { get }
Captured as payload.style, normalized to graphical, and web DatePickerView renders a calendar-grid policy.
iOS iOS 14macOS macOS 10.15
DatePickerStyle.wheel
@MainActor public static var wheel: WheelDatePickerStyle { get }
Captured as payload.style, normalized to wheel, and web DatePickerView renders a wheel-style selected center row.
iOS iOS 14macOS
DatePickerStyle.field
public static var field: FieldDatePickerStyle { get }
Captured as payload.style, normalized to field, and web DatePickerView renders a bordered date field.
iOSmacOS macOS 10.15
DatePickerStyle.stepperField
public static var stepperField: StepperFieldDatePickerStyle { get }
Captured as payload.style, normalized to stepperField, and web DatePickerView renders a date field with stepper buttons.
iOSmacOS macOS 10.15
TextFieldStyle.automatic
public static var automatic: DefaultTextFieldStyle { get }
Captured as payload.style, normalized to automatic, and web TextFieldView keeps the default separator policy.
iOS iOS 13macOS macOS 10.15
TextFieldStyle.plain
public static var plain: PlainTextFieldStyle { get }
Captured as payload.style, normalized to plain, and web TextFieldView suppresses border/separator chrome.
iOS iOS 13macOS macOS 10.15
TextFieldStyle.roundedBorder
public static var roundedBorder: RoundedBorderTextFieldStyle { get }
Captured as payload.style, normalized to roundedBorder, and web TextFieldView draws rounded border chrome.
iOS iOS 13macOS macOS 10.15
TextFieldStyle.squareBorder
public static var squareBorder: SquareBorderTextFieldStyle { get }
Captured as payload.style, normalized to squareBorder, and web TextFieldView draws square border chrome.
iOSmacOS macOS 10.15
ListStyle.automatic
public static var automatic: DefaultListStyle { get }
Captured as payload.style, normalized to automatic, and web ListView uses the default inset card policy.
iOS iOS 13macOS macOS 10.15
ListStyle.plain
public static var plain: PlainListStyle { get }
Captured as payload.style, normalized to plain, and web ListView renders edge-to-edge rows.
iOS iOS 13macOS macOS 10.15
ListStyle.grouped
public static var grouped: GroupedListStyle { get }
Captured as payload.style, normalized to grouped, and web ListView renders grouped/card rows.
iOS iOS 13macOS
ListStyle.inset
public static var inset: InsetListStyle { get }
Captured as payload.style, normalized to inset, and web ListView renders inset card rows.
iOS iOS 14macOS macOS 11
ListStyle.insetGrouped
public static var insetGrouped: InsetGroupedListStyle { get }
Captured as payload.style, normalized to insetGrouped, and web ListView renders inset grouped card rows.
iOS iOS 14macOS
ListStyle.sidebar
public static var sidebar: SidebarListStyle { get }
Captured as payload.style, normalized to sidebar, and web ListView applies the sidebar card policy.
iOS iOS 14macOS macOS 11
ListStyle.bordered
public static var bordered: BorderedListStyle { get }
Captured as payload.style, normalized to bordered, and web ListView renders a rounded bordered card policy.
iOSmacOS macOS 12
FormStyle.automatic
@MainActor public static var automatic: AutomaticFormStyle { get }
Captured as payload.style, normalized to automatic, and web Form uses grouped ListView chrome.
iOS iOS 16macOS macOS 13
FormStyle.columns
@MainActor public static var columns: ColumnsFormStyle { get }
Captured as payload.style, normalized to columns, and web Form lays rows out in responsive columns when width allows.
iOS iOS 16macOS macOS 13
FormStyle.grouped
@MainActor public static var grouped: GroupedFormStyle { get }
Captured as payload.style, normalized to grouped, and web Form uses grouped ListView chrome.
iOS iOS 16macOS macOS 13
MenuStyle.automatic
@MainActor public static var automatic: DefaultMenuStyle { get }
Captured as payload.style, normalized to automatic, and web Menu renders a default trigger Button.
iOS iOS 14macOS macOS 11
MenuStyle.button
public static var button: ButtonMenuStyle { get }
Captured as payload.style, normalized to button, and web Menu maps it to bordered trigger Button chrome.
iOS iOS 16macOS macOS 13
MenuStyle.borderlessButton
public static var borderlessButton: BorderlessButtonMenuStyle { get }
Captured as payload.style, normalized to borderlessButton, and web Menu maps it to borderless trigger Button chrome.
iOS iOS 14macOS macOS 11
ControlGroupStyle.automatic
@MainActor public static var automatic: AutomaticControlGroupStyle { get }
Captured as payload.style, normalized to automatic, and web ControlGroup keeps the default horizontal control row.
iOS iOS 15macOS macOS 12
ControlGroupStyle.menu
@MainActor public static var menu: MenuControlGroupStyle { get }
Captured as payload.style, normalized to menu, and web ControlGroup renders a menu trigger Button.
iOS iOS 16.4macOS macOS 13.3
ControlGroupStyle.compactMenu
@MainActor public static var compactMenu: CompactMenuControlGroupStyle { get }
Captured as payload.style, normalized to compactMenu, and web ControlGroup renders a compact borderless trigger Button.
iOS iOS 16.4macOS macOS 13.3
ControlGroupStyle.navigation
@MainActor public static var navigation: NavigationControlGroupStyle { get }
Captured as payload.style, normalized to navigation, and web ControlGroup applies compact navigation-row chrome.
iOS iOS 15macOS
ControlGroupStyle.palette
@MainActor public static var palette: PaletteControlGroupStyle { get }
Captured as payload.style, normalized to palette, and web ControlGroup applies grouped palette chrome.
iOS iOS 17macOS macOS 14
LabelStyle.automatic
@MainActor public static var automatic: DefaultLabelStyle { get }
Captured as payload.style, normalized to automatic, and web LabelView renders the default title+icon policy.
iOS iOS 14macOS macOS 11
LabelStyle.iconOnly
@MainActor public static var iconOnly: IconOnlyLabelStyle { get }
Captured as payload.style, normalized to iconOnly, and web LabelView renders only the icon glyph.
iOS iOS 14macOS macOS 11
LabelStyle.titleOnly
@MainActor public static var titleOnly: TitleOnlyLabelStyle { get }
Captured as payload.style, normalized to titleOnly, and web LabelView renders only the title text.
iOS iOS 14macOS macOS 11
LabelStyle.titleAndIcon
@MainActor public static var titleAndIcon: TitleAndIconLabelStyle { get }
Captured as payload.style, normalized to titleAndIcon, and web LabelView renders icon + title.
iOS iOS 14macOS macOS 11
GaugeStyle.automatic
@MainActor public static var automatic: DefaultGaugeStyle { get }
Captured as payload.style, normalized to automatic, and web Gauge renders through the default linear bar policy.
iOS iOS 16macOS macOS 13
GaugeStyle.accessoryCircular
@MainActor public static var accessoryCircular: AccessoryCircularGaugeStyle { get }
Captured as payload.style, normalized to accessoryCircular, and web Gauge renders a circular value ring.
iOS iOS 16macOS macOS 13
GaugeStyle.accessoryLinear
@MainActor public static var accessoryLinear: AccessoryLinearGaugeStyle { get }
Captured as payload.style, normalized to accessoryLinear, and web Gauge renders through the linear bar policy.
iOS iOS 16macOS macOS 13
GaugeStyle.accessoryCircularCapacity
@MainActor public static var accessoryCircularCapacity: AccessoryCircularCapacityGaugeStyle { get }
Captured as payload.style, normalized to accessoryCircularCapacity, and web Gauge renders a circular capacity ring.
iOS iOS 16macOS macOS 13
GaugeStyle.accessoryLinearCapacity
@MainActor public static var accessoryLinearCapacity: AccessoryLinearCapacityGaugeStyle { get }
Captured as payload.style, normalized to accessoryLinearCapacity, and web Gauge renders through the linear bar policy.
iOS iOS 16macOS macOS 13
GaugeStyle.linearCapacity
@MainActor public static var linearCapacity: LinearCapacityGaugeStyle { get }
Captured as payload.style, normalized to linearCapacity, and web Gauge renders through the linear bar policy.
iOS iOS 16macOS macOS 13
ProgressViewStyle.automatic
@MainActor public static var automatic: DefaultProgressViewStyle { get }
Captured as payload.style, normalized to automatic, and web ProgressView uses value-driven default bar/spinner policy.
iOS iOS 14macOS macOS 11
ProgressViewStyle.circular
@MainActor public static var circular: CircularProgressViewStyle { get }
Captured as payload.style, normalized to circular, and web ProgressView forces spinner rendering.
iOS iOS 14macOS macOS 11
ProgressViewStyle.linear
@MainActor public static var linear: LinearProgressViewStyle { get }
Captured as payload.style, normalized to linear, and web ProgressView forces linear bar rendering.
iOS iOS 14macOS macOS 11
GroupBoxStyle.automatic
@MainActor public static var automatic: DefaultGroupBoxStyle { get }
Captured as payload.style, normalized to automatic, and web GroupBox keeps the default titled boxed VStack policy while preserving downstream modifiers.
iOS iOS 14macOS macOS 11
TableStyle.automatic
public static var automatic: AutomaticTableStyle { get }
Captured as payload.style, normalized to automatic, and web Table keeps the default synthesized Grid policy.
iOS iOS 16macOS macOS 12
TableStyle.inset
public static var inset: InsetTableStyle { get }
Captured as payload.style, normalized to inset, and web Table synthesizes padded rounded Grid chrome.
iOS iOS 16macOS macOS 12
TableStyle.bordered
public static var bordered: BorderedTableStyle { get }
Captured as payload.style, normalized to bordered, and web Table synthesizes bordered rounded Grid chrome.
iOSmacOS macOS 12
DisclosureGroupStyle.automatic
@MainActor public static var automatic: AutomaticDisclosureGroupStyle { get }
Captured as payload.style, normalized to automatic, and web DisclosureGroupView keeps the default expandable row policy.
iOS iOS 16macOS macOS 13
IndexViewStyle.page
public static var page: PageIndexViewStyle { get }
Captured as payload.style, normalized to page, and web page TabView uses the page index dot policy.
iOS iOS 14macOS
IndexViewStyle.page(backgroundDisplayMode:)
public static func page(backgroundDisplayMode: PageIndexViewStyle.BackgroundDisplayMode) -> PageIndexViewStyle
Captured as payload.style, parses backgroundDisplayMode, and web page TabView applies the index dot background policy.
iOS iOS 14macOS
TabViewStyle.automatic
@MainActor public static var automatic: DefaultTabViewStyle { get }
Captured as payload.style, normalized to automatic, and web TabView keeps the default tab bar policy.
iOS iOS 14macOS macOS 11
TabViewStyle.page
@MainActor public static var page: PageTabViewStyle { get }
Captured as payload.style, normalized to page, and web TabView renders the page carousel policy.
iOS iOS 14macOS
TabViewStyle.sidebarAdaptable
@MainActor public static var sidebarAdaptable: SidebarAdaptableTabViewStyle { get }
Captured as payload.style, normalized to sidebarAdaptable, and web TabView renders a regular-width sidebar rail with compact tab-bar fallback.
iOS iOS 18macOS macOS 15
TabViewStyle.tabBarOnly
@MainActor public static var tabBarOnly: TabBarOnlyTabViewStyle { get }
Captured as payload.style, normalized to tabBarOnly, and web TabView keeps bottom tab-bar rendering.
iOS iOS 18macOS macOS 15
BorderedButtonStyle
public struct BorderedButtonStyle : PrimitiveButtonStyle { public func makeBody(configuration: Configuration) -> some View }
Concrete style struct resolves as a .buttonStyle token; web ButtonView applies bordered pill rendering.
iOS iOS 15macOS macOS 12
BorderedProminentButtonStyle
public struct BorderedProminentButtonStyle : PrimitiveButtonStyle { public func makeBody(configuration: Configuration) -> some View }
Concrete style struct resolves as a .buttonStyle token; web ButtonView applies prominent filled rendering.
iOS iOS 15macOS macOS 12
BorderlessButtonStyle
public struct BorderlessButtonStyle : PrimitiveButtonStyle { public init() }
Concrete style struct resolves as a .buttonStyle token; web ButtonView applies borderless/text-only policy.
iOS iOS 13macOS macOS 10.15
PlainButtonStyle
public struct PlainButtonStyle : PrimitiveButtonStyle { public init() }
Concrete style struct resolves as a .buttonStyle token; web ButtonView applies plain text-only policy.
iOS iOS 13macOS macOS 10.15
DefaultButtonStyle
public struct DefaultButtonStyle : PrimitiveButtonStyle { public init() }
Concrete style struct resolves as a .buttonStyle token; web ButtonView uses the default render path.
iOS iOS 13macOS macOS 10.15
PlainListStyle
public struct PlainListStyle : ListStyle { public init() }
Concrete style struct resolves as a .listStyle token; web ListView applies edge-to-edge plain rows.
iOS iOS 13macOS macOS 10.15
GroupedListStyle
public struct GroupedListStyle : ListStyle { public init() }
Concrete style struct resolves as a .listStyle token; web ListView applies grouped/card rows.
iOS iOS 13macOS
InsetListStyle
public struct InsetListStyle : ListStyle { public init() }
Concrete style struct resolves as a .listStyle token; web ListView applies inset card rows.
iOS iOS 14macOS macOS 11
InsetGroupedListStyle
public struct InsetGroupedListStyle : ListStyle { public init() }
Concrete style struct resolves as a .listStyle token; web ListView applies inset grouped card rows.
iOS iOS 14macOS
SidebarListStyle
public struct SidebarListStyle : ListStyle { public init() }
Concrete style struct resolves as a .listStyle token; web ListView applies sidebar card rows.
iOS iOS 14macOS macOS 11
DefaultListStyle
public struct DefaultListStyle : ListStyle { public init() }
Concrete style struct resolves as a .listStyle token; web ListView applies the default inset card policy.
iOS iOS 13macOS macOS 10.15
SwitchToggleStyle
public struct SwitchToggleStyle : ToggleStyle { public func makeBody(configuration: Configuration) -> some View }
Concrete style struct resolves as a .toggleStyle token; web ToggleView applies switch rendering.
iOS iOS 13macOS macOS 10.15
ButtonToggleStyle
public struct ButtonToggleStyle : ToggleStyle { public func makeBody(configuration: Configuration) -> some View }
Concrete style struct resolves as a .toggleStyle token; web ToggleView applies selectable pill button rendering.
iOS iOS 15macOS macOS 12
CheckboxToggleStyle
public struct CheckboxToggleStyle : ToggleStyle { public func makeBody(configuration: Configuration) -> some View }
Concrete style struct resolves as a .toggleStyle token; web ToggleView applies checkbox row rendering.
iOSmacOS macOS 10.15
DefaultToggleStyle
public struct DefaultToggleStyle : ToggleStyle { public func makeBody(configuration: Configuration) -> some View }
Concrete style struct resolves as a .toggleStyle token; web ToggleView applies the default switch rendering.
iOS iOS 14macOS macOS 11
WheelPickerStyle
public struct WheelPickerStyle : PickerStyle { public init() }
Concrete style struct resolves as a .pickerStyle token; web PickerView renders a wheel-style selected center row.
iOS iOS 13macOS
SegmentedPickerStyle
public struct SegmentedPickerStyle : PickerStyle { public init() }
Concrete style struct resolves as a .pickerStyle token; web PickerView applies segmented rendering.
iOS iOS 13macOS macOS 10.15
MenuPickerStyle
public struct MenuPickerStyle : PickerStyle { public init() }
Concrete style struct resolves as a .pickerStyle token; web PickerView applies menu-row rendering.
iOS iOS 14macOS macOS 11
InlinePickerStyle
public struct InlinePickerStyle : PickerStyle { public init() }
Concrete style struct resolves as a .pickerStyle token; web PickerView renders inline option rows.
iOS iOS 14macOS macOS 11
PalettePickerStyle
public struct PalettePickerStyle : PickerStyle { public init() }
Concrete style struct resolves as a .pickerStyle token; web PickerView renders palette segmented controls.
iOS iOS 17macOS macOS 14
RadioGroupPickerStyle
public struct RadioGroupPickerStyle : PickerStyle { public init() }
Concrete style struct resolves as a .pickerStyle token; web PickerView renders radio option rows.
iOSmacOS macOS 10.15
PopUpButtonPickerStyle
public struct PopUpButtonPickerStyle : PickerStyle
Concrete style struct resolves as a .pickerStyle token; web PickerView uses the menu-row pop-up policy.
iOSmacOS macOS 10.15 (deprecated)
NavigationLinkPickerStyle
public struct NavigationLinkPickerStyle : PickerStyle { public init() }
Concrete style struct resolves as a .pickerStyle token; web PickerView uses the menu-row navigation policy.
iOS iOS 16macOS
GraphicalDatePickerStyle
public struct GraphicalDatePickerStyle : DatePickerStyle { public func makeBody(configuration: Configuration) -> some View }
Concrete style struct resolves as a .datePickerStyle token; web DatePickerView renders a calendar-grid policy.
iOS iOS 14macOS macOS 10.15
CompactDatePickerStyle
public struct CompactDatePickerStyle : DatePickerStyle { public func makeBody(configuration: Configuration) -> some View }
Concrete style struct resolves as a .datePickerStyle token; web DatePickerView applies the compact row + date pill policy.
iOS iOS 14macOS macOS 10.15.4
WheelDatePickerStyle
public struct WheelDatePickerStyle : DatePickerStyle { public func makeBody(configuration: Configuration) -> some View }
Concrete style struct resolves as a .datePickerStyle token; web DatePickerView renders a wheel-style selected center row.
iOS iOS 14macOS
FieldDatePickerStyle
public struct FieldDatePickerStyle : DatePickerStyle { public func makeBody(configuration: Configuration) -> some View }
Concrete style struct resolves as a .datePickerStyle token; web DatePickerView renders a bordered date field.
iOSmacOS macOS 10.15
StepperFieldDatePickerStyle
public struct StepperFieldDatePickerStyle : DatePickerStyle { public func makeBody(configuration: Configuration) -> some View }
Concrete style struct resolves as a .datePickerStyle token; web DatePickerView renders a date field with stepper buttons.
iOSmacOS macOS 10.15
RoundedBorderTextFieldStyle
public struct RoundedBorderTextFieldStyle : TextFieldStyle { public init() }
Concrete style struct resolves as a .textFieldStyle token; web TextFieldView applies rounded border chrome.
iOS iOS 13macOS macOS 10.15
PlainTextFieldStyle
public struct PlainTextFieldStyle : TextFieldStyle { public init() }
Concrete style struct resolves as a .textFieldStyle token; web TextFieldView applies plain no-chrome rendering.
iOS iOS 13macOS macOS 10.15
SquareBorderTextFieldStyle
public struct SquareBorderTextFieldStyle : TextFieldStyle { public init() }
Concrete style struct resolves as a .textFieldStyle token; web TextFieldView applies square border chrome.
iOSmacOS macOS 10.15
DefaultTextFieldStyle
public struct DefaultTextFieldStyle : TextFieldStyle { public init() }
Concrete style struct resolves as a .textFieldStyle token; web TextFieldView applies default separator rendering.
iOS iOS 13macOS macOS 10.15
CircularProgressViewStyle
public struct CircularProgressViewStyle : ProgressViewStyle { public func makeBody(configuration: Configuration) -> some View }
Concrete style struct resolves as a .progressViewStyle token; web ProgressView applies circular spinner rendering.
iOS iOS 14macOS macOS 11
LinearProgressViewStyle
public struct LinearProgressViewStyle : ProgressViewStyle { public func makeBody(configuration: Configuration) -> some View }
Concrete style struct resolves as a .progressViewStyle token; web ProgressView applies linear bar rendering.
iOS iOS 14macOS macOS 11
AccessoryCircularGaugeStyle
@MainActor public struct AccessoryCircularGaugeStyle : GaugeStyle { public func makeBody(configuration: Configuration) -> some View }
Concrete style struct resolves as a .gaugeStyle token; web Gauge applies circular value ring rendering.
iOS iOS 16macOS macOS 13
AccessoryLinearGaugeStyle
@MainActor public struct AccessoryLinearGaugeStyle : GaugeStyle { public func makeBody(configuration: Configuration) -> some View }
Concrete style struct resolves as a .gaugeStyle token; web Gauge applies the linear bar policy.
iOS iOS 16macOS macOS 13
LinearCapacityGaugeStyle
@MainActor public struct LinearCapacityGaugeStyle : GaugeStyle { public func makeBody(configuration: Configuration) -> some View }
Concrete style struct resolves as a .gaugeStyle token; web Gauge applies the linear capacity bar policy.
iOS iOS 16macOS macOS 13
DefaultGroupBoxStyle
public struct DefaultGroupBoxStyle : GroupBoxStyle { public func makeBody(configuration: Configuration) -> some View }
Concrete style struct resolves as a .groupBoxStyle token; web GroupBox applies the default titled boxed VStack policy.
iOS iOS 14macOS macOS 11
DefaultLabelStyle
public struct DefaultLabelStyle : LabelStyle { public func makeBody(configuration: Configuration) -> some View }
Concrete style struct resolves as a .labelStyle token; web LabelView applies the default title+icon policy.
iOS iOS 14macOS macOS 11
IconOnlyLabelStyle
public struct IconOnlyLabelStyle : LabelStyle { public func makeBody(configuration: Configuration) -> some View }
Concrete style struct resolves as a .labelStyle token; web LabelView applies icon-only rendering.
iOS iOS 14macOS macOS 11
TitleOnlyLabelStyle
public struct TitleOnlyLabelStyle : LabelStyle { public func makeBody(configuration: Configuration) -> some View }
Concrete style struct resolves as a .labelStyle token; web LabelView applies title-only rendering.
iOS iOS 14macOS macOS 11
TitleAndIconLabelStyle
public struct TitleAndIconLabelStyle : LabelStyle { public func makeBody(configuration: Configuration) -> some View }
Concrete style struct resolves as a .labelStyle token; web LabelView applies title+icon rendering.
iOS iOS 14macOS macOS 11
AutomaticTableStyle
public struct AutomaticTableStyle : TableStyle { public func makeBody(configuration: Configuration) -> some View }
Concrete style struct resolves as a .tableStyle token; web Table keeps the default synthesized Grid policy.
iOS iOS 16macOS macOS 12
InsetTableStyle
public struct InsetTableStyle : TableStyle { public init(); public init(alternatesRowBackgrounds: Bool) }
Concrete style struct resolves as a .tableStyle token; web Table applies padded rounded Grid chrome.
iOS iOS 16macOS macOS 12
BorderedTableStyle
public struct BorderedTableStyle : TableStyle { public init() }
Concrete style struct resolves as a .tableStyle token; web Table applies bordered rounded Grid chrome.
iOSmacOS macOS 12
AutomaticControlGroupStyle
public struct AutomaticControlGroupStyle : ControlGroupStyle { public func makeBody(configuration: Configuration) -> some View }
Concrete style struct resolves as a .controlGroupStyle token; web ControlGroup applies the default horizontal row policy.
iOS iOS 15macOS macOS 12
NavigationControlGroupStyle
public struct NavigationControlGroupStyle : ControlGroupStyle { public func makeBody(configuration: Configuration) -> some View }
Concrete style struct resolves as a .controlGroupStyle token; web ControlGroup applies compact navigation-row chrome.
iOS iOS 15macOS
MenuControlGroupStyle
public struct MenuControlGroupStyle : ControlGroupStyle { public func makeBody(configuration: Configuration) -> some View }
Concrete style struct resolves as a .controlGroupStyle token; web ControlGroup renders a menu trigger Button policy.
iOS iOS 16.4macOS macOS 13.3
PaletteControlGroupStyle
public struct PaletteControlGroupStyle : ControlGroupStyle { public func makeBody(configuration: Configuration) -> some View }
Concrete style struct resolves as a .controlGroupStyle token; web ControlGroup applies grouped palette chrome.
iOS iOS 17macOS macOS 14
AutomaticFormStyle
public struct AutomaticFormStyle : FormStyle { public func makeBody(configuration: Configuration) -> some View }
Concrete style struct resolves as a .formStyle token; web Form applies the grouped ListView policy.
iOS iOS 16macOS macOS 13
ColumnsFormStyle
public struct ColumnsFormStyle : FormStyle { public func makeBody(configuration: Configuration) -> some View }
Concrete style struct resolves as a .formStyle token; web Form uses a two-column row layout on wider proposals and falls back to one column on narrow widths.
iOS iOS 16macOS macOS 13
GroupedFormStyle
public struct GroupedFormStyle : FormStyle { public func makeBody(configuration: Configuration) -> some View }
Concrete style struct resolves as a .formStyle token; web Form applies the grouped ListView policy.
iOS iOS 16macOS macOS 13
AutomaticDisclosureGroupStyle
@MainActor public struct AutomaticDisclosureGroupStyle : DisclosureGroupStyle { public func makeBody(configuration: Configuration) -> some View }
Concrete style struct resolves as a .disclosureGroupStyle token; web DisclosureGroupView applies the default expandable row policy.
iOS iOS 16macOS macOS 13
PageIndexViewStyle
public struct PageIndexViewStyle : IndexViewStyle { public init(backgroundDisplayMode: PageIndexViewStyle.BackgroundDisplayMode = .automatic) }
Concrete style struct resolves as an .indexViewStyle token; web page TabView applies page index dot/background policy.
iOS iOS 14macOS
PageTabViewStyle
public struct PageTabViewStyle : TabViewStyle { public init(indexDisplayMode: PageTabViewStyle.IndexDisplayMode = .automatic) }
Concrete style struct resolves as a .tabViewStyle token; web TabView applies page carousel rendering.
iOS iOS 14macOS
DefaultTabViewStyle
public struct DefaultTabViewStyle : TabViewStyle { public init() }
Concrete style struct resolves as a .tabViewStyle token; web TabView applies default tab bar rendering.
iOS iOS 14macOS macOS 11
SidebarAdaptableTabViewStyle
public struct SidebarAdaptableTabViewStyle : TabViewStyle { public init() }
Concrete style struct resolves as a .tabViewStyle token; web TabView applies regular-width sidebar rail rendering.
iOS iOS 18macOS macOS 15
TabBarOnlyTabViewStyle
public struct TabBarOnlyTabViewStyle : TabViewStyle { public init() }
Concrete style struct resolves as a .tabViewStyle token; web TabView applies bottom tab-bar rendering.
iOS iOS 18macOS macOS 15
AutomaticNavigationSplitViewStyle
@MainActor public struct AutomaticNavigationSplitViewStyle : NavigationSplitViewStyle { public func makeBody(configuration: Configuration) -> some View }
Concrete style struct resolves as a navigationSplitViewStyle token; web NavigationSplitView applies the default multi-column policy.
iOS iOS 16macOS macOS 13
BalancedNavigationSplitViewStyle
@MainActor public struct BalancedNavigationSplitViewStyle : NavigationSplitViewStyle { public func makeBody(configuration: Configuration) -> some View }
Concrete style struct resolves as a navigationSplitViewStyle token; web NavigationSplitView applies balanced sidebar/content/detail widths.
iOS iOS 16macOS macOS 13
ProminentDetailNavigationSplitViewStyle
@MainActor public struct ProminentDetailNavigationSplitViewStyle : NavigationSplitViewStyle { public func makeBody(configuration: Configuration) -> some View }
Concrete style struct resolves as a navigationSplitViewStyle token; web NavigationSplitView reserves more width for the detail column.
iOS iOS 16macOS macOS 13
GlassButtonStyle
public struct GlassButtonStyle : PrimitiveButtonStyle { public func makeBody(configuration: Configuration) -> some View }
Concrete style struct resolves as a .buttonStyle token; web ButtonView applies the Liquid Glass policy.
iOS iOS 26macOS macOS 26
GlassProminentButtonStyle
public struct GlassProminentButtonStyle : PrimitiveButtonStyle { public func makeBody(configuration: Configuration) -> some View }
Concrete style struct resolves as a .buttonStyle token; web ButtonView applies the prominent glass policy.
iOS iOS 26macOS macOS 26
ColumnNavigationViewStyle
public struct ColumnNavigationViewStyle : NavigationViewStyle
Concrete style struct resolves as a .navigationViewStyle token; web NavigationView applies multi-column layout policy.
iOS iOS 13 (deprecated)macOS macOS 10.15 (deprecated)
DoubleColumnNavigationViewStyle
public struct DoubleColumnNavigationViewStyle : NavigationViewStyle { public init() }
Concrete style struct resolves as a .navigationViewStyle token; web NavigationView lays out two columns.
iOS iOS 13 (deprecated)macOS macOS 10.15 (deprecated)
StackNavigationViewStyle
public struct StackNavigationViewStyle : NavigationViewStyle { public init() }
Concrete style struct resolves as a .navigationViewStyle token; web NavigationView keeps a single active stack column.
iOS iOS 13 (deprecated)macOS
DefaultNavigationViewStyle
public struct DefaultNavigationViewStyle : NavigationViewStyle { public init() }
Concrete style struct resolves as a .navigationViewStyle token; web NavigationView uses the default column policy.
iOS iOS 13 (deprecated)macOS macOS 10.15 (deprecated)
BorderedButtonMenuStyle
public struct BorderedButtonMenuStyle : MenuStyle
Concrete style struct resolves as a .menuStyle token; web Menu maps it to bordered trigger Button chrome.
iOSmacOS macOS 11 (deprecated)
BorderlessButtonMenuStyle
public struct BorderlessButtonMenuStyle : MenuStyle { public init() }
Concrete style struct resolves as a .menuStyle token; web Menu maps it to borderless trigger Button chrome.
iOS iOS 14macOS macOS 11
ButtonMenuStyle
public struct ButtonMenuStyle : MenuStyle { public init() }
Concrete style struct resolves as a .menuStyle token; web Menu maps it to bordered trigger Button chrome.
iOS iOS 16macOS macOS 13
DefaultMenuStyle
public struct DefaultMenuStyle : MenuStyle { public init() }
Concrete style struct resolves as a .menuStyle token; web Menu applies the default trigger Button policy.
iOS iOS 14macOS macOS 11
DefaultMenuButtonStyle
public struct DefaultMenuButtonStyle : MenuButtonStyle { public init() }
Concrete style struct resolves as a .menuButtonStyle token; web MenuButton applies default bordered trigger Button chrome.
iOSmacOS macOS 10.15 (deprecated)
PullDownMenuButtonStyle
public struct PullDownMenuButtonStyle : MenuButtonStyle { public init() }
Concrete style struct resolves as a .menuButtonStyle token; web MenuButton normalizes the pull-down policy and keeps bordered trigger Button chrome.
iOSmacOS macOS 10.15 (deprecated)
BorderlessButtonMenuButtonStyle
public struct BorderlessButtonMenuButtonStyle : MenuButtonStyle { public init() }
Concrete style struct resolves as a .menuButtonStyle token; web MenuButton applies borderless trigger Button chrome.
iOSmacOS macOS 10.15 (deprecated)
BorderlessPullDownMenuButtonStyle
public struct BorderlessPullDownMenuButtonStyle : MenuButtonStyle { public init() }
Concrete style struct resolves as a .menuButtonStyle token; web MenuButton normalizes the borderless pull-down policy to borderless trigger Button chrome.
iOSmacOS macOS 10.15 (deprecated)
AccessoryBarButtonStyle
public struct AccessoryBarButtonStyle : PrimitiveButtonStyle { public init() }
Concrete style struct resolves as a .buttonStyle token; web ButtonView applies compact accessory-bar capsule rendering.
iOSmacOS macOS 14
AccessoryBarActionButtonStyle
public struct AccessoryBarActionButtonStyle : PrimitiveButtonStyle { public init() }
Concrete style struct resolves as a .buttonStyle token; web ButtonView applies compact filled accessory action rendering.
iOSmacOS macOS 14
LinkButtonStyle
public struct LinkButtonStyle : PrimitiveButtonStyle { public init() }
Concrete style struct resolves as a .buttonStyle token; web ButtonView applies link/text-only blue rendering.
iOSmacOS macOS 14
BorderedListStyle
public struct BorderedListStyle : ListStyle { public init() }
Concrete style struct resolves as a .listStyle token; web ListView applies rounded bordered card rendering.
iOSmacOS macOS 12

21. Accessibility

51·17·0
View.accessibilityLabel(_:)
nonisolated public func accessibilityLabel(_ label: Text) -> ModifiedContent<Self, AccessibilityAttachmentModifier>
dedicated accessibilityLabel metadata in typed a11y family; LocalizedStringKey/Resource/StringProtocol overloads map to same node
iOS iOS 14macOS macOS 11
View.accessibilityLabel(_:isEnabled:)
nonisolated public func accessibilityLabel(_ label: Text, isEnabled: Bool) -> ModifiedContent<Self, AccessibilityAttachmentModifier>
same accessibilityLabel typed metadata; isEnabled gate captured as arg
iOS iOS 18macOS macOS 15
View.accessibilityLabel(content:)
nonisolated public func accessibilityLabel<V>(@ViewBuilder content: (_ label: PlaceholderContentView<Self>) -> V) -> some View where V : View
ViewBuilder label form; closure lowers structurally, placeholder-content semantics not modeled
iOS iOS 18macOS macOS 15
Text.accessibilityLabel(_:)
nonisolated public func accessibilityLabel(_ label: Text) -> Text
Text-returning variant; same accessibilityLabel typed metadata family
iOS iOS 15macOS macOS 12
TabContent.accessibilityLabel(_:isEnabled:)
nonisolated public func accessibilityLabel(_ label: Text, isEnabled: Bool = true) -> some TabContent<Self.TabValue>
TabContent (not View); MiniSwift captures accessibilityLabel name generically, no TabContent semantics
iOS iOS 18macOS macOS 15
View.accessibilityHint(_:)
nonisolated public func accessibilityHint(_ hint: Text) -> ModifiedContent<Self, AccessibilityAttachmentModifier>
dedicated accessibilityHint metadata; Key/Resource/StringProtocol overloads fold to same node
iOS iOS 14macOS macOS 11
View.accessibilityHint(_:isEnabled:)
nonisolated public func accessibilityHint(_ hint: Text, isEnabled: Bool) -> ModifiedContent<Self, AccessibilityAttachmentModifier>
same accessibilityHint typed metadata; isEnabled captured as arg
iOS iOS 18macOS macOS 15
TabContent.accessibilityHint(_:isEnabled:)
nonisolated public func accessibilityHint(_ hint: Text, isEnabled: Bool = true) -> some TabContent<Self.TabValue>
TabContent variant; name captured generically, TabContent semantics absent
iOS iOS 18macOS macOS 15
View.accessibilityValue(_:)
nonisolated public func accessibilityValue(_ valueDescription: Text) -> ModifiedContent<Self, AccessibilityAttachmentModifier>
dedicated accessibilityValue metadata; Key/Resource/StringProtocol overloads fold to same node
iOS iOS 14macOS macOS 11
View.accessibilityValue(_:isEnabled:)
nonisolated public func accessibilityValue(_ valueDescription: Text, isEnabled: Bool) -> ModifiedContent<Self, AccessibilityAttachmentModifier>
same accessibilityValue typed metadata; isEnabled captured as arg
iOS iOS 18macOS macOS 15
TabContent.accessibilityValue(_:isEnabled:)
nonisolated public func accessibilityValue(_ valueDescription: Text, isEnabled: Bool = true) -> some TabContent<Self.TabValue>
TabContent variant; name captured generically, no TabContent semantics
iOS iOS 18macOS macOS 15
View.accessibilityHidden(_:)
nonisolated public func accessibilityHidden(_ hidden: Bool) -> ModifiedContent<Self, AccessibilityAttachmentModifier>
dedicated accessibilityHidden typed metadata; bool captured
iOS iOS 14macOS macOS 11
View.accessibilityHidden(_:isEnabled:)
nonisolated public func accessibilityHidden(_ hidden: Bool, isEnabled: Bool) -> ModifiedContent<Self, AccessibilityAttachmentModifier>
same accessibilityHidden metadata; isEnabled gate captured as arg
iOS iOS 18macOS macOS 15
View.accessibilityIdentifier(_:)
nonisolated public func accessibilityIdentifier(_ identifier: String) -> ModifiedContent<Self, AccessibilityAttachmentModifier>
dedicated accessibilityIdentifier typed metadata; string captured
iOS iOS 14macOS macOS 11
View.accessibilityIdentifier(_:isEnabled:)
nonisolated public func accessibilityIdentifier(_ identifier: String, isEnabled: Bool) -> ModifiedContent<Self, AccessibilityAttachmentModifier>
same accessibilityIdentifier metadata; isEnabled captured as arg
iOS iOS 18macOS macOS 15
TabContent.accessibilityIdentifier(_:isEnabled:)
nonisolated public func accessibilityIdentifier(_ identifier: String, isEnabled: Bool = true) -> some TabContent<Self.TabValue>
TabContent variant; name captured generically, no TabContent semantics
iOS iOS 18macOS macOS 15
View.accessibilityAddTraits(_:)
nonisolated public func accessibilityAddTraits(_ traits: AccessibilityTraits) -> ModifiedContent<Self, AccessibilityAttachmentModifier>
dedicated accessibilityAddTraits typed metadata; traits arg lowered (AccessibilityTraits value not enumerated)
iOS iOS 14macOS macOS 11
View.accessibilityRemoveTraits(_:)
nonisolated public func accessibilityRemoveTraits(_ traits: AccessibilityTraits) -> ModifiedContent<Self, AccessibilityAttachmentModifier>
dedicated accessibilityRemoveTraits typed metadata; traits arg lowered
iOS iOS 14macOS macOS 11
View.accessibilityElement(children:)
nonisolated public func accessibilityElement(children: AccessibilityChildBehavior = .ignore) -> some View
dedicated accessibilityElement typed metadata; children behavior enum captured as arg, no a11y-tree containment runtime
iOS allmacOS all
View.accessibilitySortPriority(_:)
nonisolated public func accessibilitySortPriority(_ sortPriority: Double) -> ModifiedContent<Self, AccessibilityAttachmentModifier>
dedicated accessibilitySortPriority typed metadata; double captured
iOS iOS 14macOS macOS 11
View.accessibilityAction(_:_:)
nonisolated public func accessibilityAction(_ actionKind: AccessibilityActionKind = .default, _ handler: @escaping () -> Void) -> ModifiedContent<Self, AccessibilityAttachmentModifier>
in a11y typed family; handler closure lowers to actionIR, kind captured; no assistive-tech dispatch
iOS allmacOS all
View.accessibilityAction(named:_:)
nonisolated public func accessibilityAction(named name: Text, _ handler: @escaping () -> Void) -> ModifiedContent<Self, AccessibilityAttachmentModifier>
named a11y action; name+handler captured (Key/Resource/StringProtocol overloads fold to same)
iOS allmacOS all
View.accessibilityAction(action:label:)
nonisolated public func accessibilityAction<Label>(action: @escaping () -> Void, @ViewBuilder label: () -> Label) -> some View where Label : View
Dedicated UI_ACCESSIBILITY_ACTION; action: lowers to actionIR and label: lowers into UI_SLOT_ACCESSIBILITY_ACTION_LABEL (modules/swiftui/compiler/lower/chain.c:3418), JSON emits labelContent (modules/swiftui/compiler/uiir/json_node.c:340) plus accessibility.payload.hasLabelSlot/labelSlot (modules/swiftui/compiler/uiir/json_modifier.c:744).
iOS iOS 15macOS macOS 12
View.accessibilityActions(_:)
nonisolated public func accessibilityActions<Content>(@ViewBuilder _ content: () -> Content) -> some View where Content : View
Dedicated UI_ACCESSIBILITY_ACTIONS; lowering maps it in modules/swiftui/compiler/lower/chain.c:162, captures the ViewBuilder body as UI_SLOT_ACCESSIBILITY_ACTIONS content in chain.c:3379, stores slot metadata in UIAccessibility.has_content_slot/content_slot (include/internal/uiir.h:622), and JSON emits accessibility.payload.hasContentSlot/contentSlot (modules/swiftui/compiler/uiir/json_modifier.c:923).
iOS iOS 16macOS macOS 13
View.accessibilityActions(category:_:)
nonisolated public func accessibilityActions<Content>(category: AccessibilityActionCategory, @ViewBuilder _ content: () -> Content) -> some View where Content : View
Same UI_ACCESSIBILITY_ACTIONS metadata; category: remains a lowered arg and JSON decomposes it to accessibility.payload.category while the ViewBuilder body is captured as the accessibility-actions content slot (chain.c:3379, json_modifier.c:931).
iOS iOS 18macOS macOS 15
View.accessibilityChildren(children:)
nonisolated public func accessibilityChildren<V>(@ViewBuilder children: () -> V) -> some View where V : View
Dedicated UI_ACCESSIBILITY_CHILDREN; lowering maps it in chain.c:164, captures the children ViewBuilder into UI_SLOT_ACCESSIBILITY_CHILDREN (chain.c:3382), and JSON emits the accessibility content-slot payload (json_modifier.c:936). Platform a11y tree synthesis remains renderer policy.
iOS iOS 15macOS macOS 12
View.accessibilityRepresentation(representation:)
nonisolated public func accessibilityRepresentation<V>(@ViewBuilder representation: () -> V) -> some View where V : View
Dedicated UI_ACCESSIBILITY_REPRESENTATION; lowering maps it in chain.c:166, captures the replacement ViewBuilder into UI_SLOT_ACCESSIBILITY_REPRESENTATION (chain.c:3386), and JSON emits accessibility.payload.contentSlot (json_modifier.c:936). Platform replacement behavior remains renderer policy.
iOS iOS 15macOS macOS 12
View.accessibilityShowsLargeContentViewer(_:)
nonisolated public func accessibilityShowsLargeContentViewer<V>(@ViewBuilder _ largeContentView: () -> V) -> some View where V : View
Dedicated UI_ACCESSIBILITY_LARGE_CONTENT_VIEWER; lowering maps it in chain.c:168, captures the large-content ViewBuilder into UI_SLOT_LARGE_CONTENT (chain.c:3390), stores marker/content-slot metadata (include/internal/uiir.h:624), and JSON emits enabled, hasContentSlot, and contentSlot (json_modifier.c:946). Runtime large-content presentation remains renderer/platform policy.
iOS iOS 15macOS macOS 12
View.accessibilityShowsLargeContentViewer()
nonisolated public func accessibilityShowsLargeContentViewer() -> some View
Same UI_ACCESSIBILITY_LARGE_CONTENT_VIEWER metadata; no-arg form stores the typed marker in UIAccessibility.has_large_content_viewer (chain.c:307, include/internal/uiir.h:624) and JSON emits accessibility.payload.enabled=true with hasContentSlot=false (json_modifier.c:946).
iOS iOS 15macOS macOS 12
View.accessibilityRespondsToUserInteraction(_:)
nonisolated public func accessibilityRespondsToUserInteraction(_ respondsToUserInteraction: Bool = true) -> ModifiedContent<Self, AccessibilityAttachmentModifier>
Dedicated UI_ACCESSIBILITY_RESPONDS_TO_USER_INTERACTION; lowering maps it in modules/swiftui/compiler/lower/chain.c:133, stores default/literal bool in UIAccessibility (include/internal/uiir.h:591), and JSON emits accessibility.payload.respondsToUserInteraction (modules/swiftui/compiler/uiir/json_modifier.c:600).
iOS iOS 14macOS macOS 11
View.accessibilityRespondsToUserInteraction(_:isEnabled:)
nonisolated public func accessibilityRespondsToUserInteraction(_ respondsToUserInteraction: Bool, isEnabled: Bool) -> ModifiedContent<Self, AccessibilityAttachmentModifier>
Same UI_ACCESSIBILITY_RESPONDS_TO_USER_INTERACTION metadata; lowering decomposes literal isEnabled in chain.c:219, stores it in UIAccessibility.responds_to_user_interaction_enabled (include/internal/uiir.h:593), and JSON emits accessibility.payload.isEnabled (modules/swiftui/compiler/uiir/json_modifier.c:609).
iOS iOS 18macOS macOS 15
View.accessibilityRotor(_:entries:)
nonisolated public func accessibilityRotor<Content>(_ label: Text, @AccessibilityRotorContentBuilder entries: @escaping () -> Content) -> some View where Content : AccessibilityRotorContent
Dedicated UI_ACCESSIBILITY_ROTOR; lowering maps accessibilityRotor in modules/swiftui/compiler/lower/chain.c:170, captures the builder as UI_SLOT_ACCESSIBILITY_ROTOR_ENTRIES (chain.c:3395), and JSON emits accessibility.payload.label, hasContentSlot, and contentSlot (modules/swiftui/compiler/uiir/json_modifier.c:957). Rotor navigation runtime remains platform policy.
iOS iOS 15macOS macOS 12
View.accessibilityRotor(_:entries:entryLabel:)
nonisolated public func accessibilityRotor<EntryModel>(_ rotorLabel: Text, entries: [EntryModel], entryLabel: KeyPath<EntryModel, String>) -> some View where EntryModel : Identifiable
Same UI_ACCESSIBILITY_ROTOR metadata; JSON decomposes label, entries, and entryLabel into typed rotor payload fields (json_modifier.c:957).
iOS iOS 15macOS macOS 12
View.accessibilityRotor(_:entries:entryID:entryLabel:)
nonisolated public func accessibilityRotor<EntryModel, ID>(_ rotorLabel: Text, entries: [EntryModel], entryID: KeyPath<EntryModel, ID>, entryLabel: KeyPath<EntryModel, String>) -> some View where ID : Hashable
Same typed rotor metadata; JSON emits separate entries, entryID, and entryLabel payload fields (json_modifier.c:964).
iOS iOS 15macOS macOS 12
View.accessibilityRotor(_:textRanges:)
nonisolated public func accessibilityRotor(_ label: Text, textRanges: [Range<String.Index>]) -> some View
Same typed rotor metadata; JSON emits accessibility.payload.label plus textRanges (json_modifier.c:976).
iOS iOS 15macOS macOS 12
View.accessibilityRotor(_:systemRotor entries:)
nonisolated public func accessibilityRotor<Content>(_ systemRotor: AccessibilitySystemRotor, @AccessibilityRotorContentBuilder entries: @escaping () -> Content) -> some View where Content : AccessibilityRotorContent
Same typed rotor metadata; enum/member first arg is serialized as accessibility.payload.systemRotor, and the builder lowers into UI_SLOT_ACCESSIBILITY_ROTOR_ENTRIES (chain.c:3395, json_modifier.c:958).
iOS iOS 15macOS macOS 12
View.accessibilityRotorEntry(id:in:)
nonisolated public func accessibilityRotorEntry<ID>(id: ID, in namespace: Namespace.ID) -> some View where ID : Hashable
Dedicated UI_ACCESSIBILITY_ROTOR_ENTRY; lowering maps it in modules/swiftui/compiler/lower/chain.c:143, and JSON emits accessibility.payload.id plus namespace (modules/swiftui/compiler/uiir/json_modifier.c:705). Rotor navigation runtime remains platform policy.
iOS iOS 15macOS macOS 12
View.accessibilityFocused(_:equals:)
nonisolated public func accessibilityFocused<Value>(_ binding: AccessibilityFocusState<Value>.Binding, equals value: Value) -> some View where Value : Hashable
Dedicated UI_ACCESSIBILITY_FOCUSED; lowering maps accessibilityFocused in modules/swiftui/compiler/lower/chain.c:141, and JSON emits accessibility.payload.binding plus equals (modules/swiftui/compiler/uiir/json_modifier.c:698).
iOS iOS 15macOS macOS 12
View.accessibilityFocused(_:)
nonisolated public func accessibilityFocused(_ condition: AccessibilityFocusState<Bool>.Binding) -> some View
Same UI_ACCESSIBILITY_FOCUSED metadata; bool-binding form emits accessibility.payload.binding without equals (modules/swiftui/compiler/uiir/json_modifier.c:698).
iOS iOS 15macOS macOS 12
Text.accessibilityHeading(_:)
nonisolated public func accessibilityHeading(_ level: AccessibilityHeadingLevel) -> Text
Dedicated UI_ACCESSIBILITY_HEADING; level token decomposes to accessibility.payload.headingLevel (modules/swiftui/compiler/lower/chain.c:153, modules/swiftui/compiler/uiir/json_modifier.c:544).
iOS iOS 15macOS macOS 12
View.accessibilityHeading(_:)
nonisolated public func accessibilityHeading(_ level: AccessibilityHeadingLevel) -> ModifiedContent<Self, AccessibilityAttachmentModifier>
Dedicated UI_ACCESSIBILITY_HEADING; View form uses the same modifier lowering and JSON accessibility.payload.headingLevel as Text.
iOS iOS 15macOS macOS 12
Text.accessibilityTextContentType(_:)
nonisolated public func accessibilityTextContentType(_ value: AccessibilityTextContentType) -> Text
Dedicated UI_ACCESSIBILITY_TEXT_CONTENT_TYPE; content-type token decomposes to accessibility.payload.textContentType (modules/swiftui/compiler/lower/chain.c:156, modules/swiftui/compiler/uiir/json_modifier.c:553).
iOS iOS 15macOS macOS 12
View.accessibilityTextContentType(_:)
nonisolated public func accessibilityTextContentType(_ textContentType: AccessibilityTextContentType) -> ModifiedContent<Self, AccessibilityAttachmentModifier>
Dedicated UI_ACCESSIBILITY_TEXT_CONTENT_TYPE; View form uses the same modifier lowering and JSON accessibility.payload.textContentType as Text.
iOS iOS 15macOS macOS 12
View.accessibilityLabeledPair(role:id:in:)
nonisolated public func accessibilityLabeledPair<ID>(role: AccessibilityLabeledPairRole, id: ID, in namespace: Namespace.ID) -> some View where ID : Hashable
Dedicated UI_ACCESSIBILITY_LABELED_PAIR; lowering maps it in modules/swiftui/compiler/lower/chain.c:139, and JSON emits separate accessibility.payload.role, id, and namespace fields (modules/swiftui/compiler/uiir/json_modifier.c:672). Pairing runtime remains renderer/platform policy.
iOS iOS 14macOS macOS 11
View.accessibility(label:)
nonisolated public func accessibility(label: Text) -> ModifiedContent<Self, AccessibilityAttachmentModifier>
Deprecated alias now resolves by arg label to UI_ACCESSIBILITY_LABEL; lowering maps accessibility(label:) in modules/swiftui/compiler/lower/chain.c:150, and JSON emits the existing accessibility.payload.label field (modules/swiftui/compiler/uiir/json_modifier.c:503).
iOS iOS 13 deprecatedmacOS macOS 10.15 deprecated
View.accessibility(value:)
nonisolated public func accessibility(value: Text) -> ModifiedContent<Self, AccessibilityAttachmentModifier>
Deprecated alias resolves to UI_ACCESSIBILITY_VALUE; lowering maps label value in modules/swiftui/compiler/lower/chain.c:152, and JSON emits accessibility.payload.value (modules/swiftui/compiler/uiir/json_modifier.c:512).
iOS iOS 13 deprecatedmacOS macOS 10.15 deprecated
View.accessibility(hint:)
nonisolated public func accessibility(hint: Text) -> ModifiedContent<Self, AccessibilityAttachmentModifier>
Deprecated alias resolves to UI_ACCESSIBILITY_HINT; lowering maps label hint in modules/swiftui/compiler/lower/chain.c:154, and JSON emits accessibility.payload.hint (modules/swiftui/compiler/uiir/json_modifier.c:506).
iOS iOS 13 deprecatedmacOS macOS 10.15 deprecated
View.accessibility(hidden:)
nonisolated public func accessibility(hidden: Bool) -> ModifiedContent<Self, AccessibilityAttachmentModifier>
Deprecated alias resolves to UI_ACCESSIBILITY_HIDDEN; lowering maps label hidden in modules/swiftui/compiler/lower/chain.c:156, and JSON emits accessibility.payload.hidden (modules/swiftui/compiler/uiir/json_modifier.c:509).
iOS iOS 13 deprecatedmacOS macOS 10.15 deprecated
View.accessibility(identifier:)
nonisolated public func accessibility(identifier: String) -> ModifiedContent<Self, AccessibilityAttachmentModifier>
Deprecated alias resolves to UI_ACCESSIBILITY_IDENTIFIER; lowering maps label identifier in modules/swiftui/compiler/lower/chain.c:158, and JSON emits accessibility.payload.identifier (modules/swiftui/compiler/uiir/json_modifier.c:515).
iOS iOS 13 deprecatedmacOS macOS 10.15 deprecated
View.accessibility(inputLabels:)
nonisolated public func accessibility(inputLabels: [Text]) -> ModifiedContent<Self, AccessibilityAttachmentModifier>
Deprecated alias resolves to UI_ACCESSIBILITY_INPUT_LABELS; modern accessibilityInputLabels maps in modules/swiftui/compiler/lower/chain.c:135, the legacy label maps in chain.c:162, literal isEnabled stores in UIAccessibility.input_labels_enabled (include/internal/uiir.h:596), and JSON emits accessibility.payload.inputLabels/isEnabled (modules/swiftui/compiler/uiir/json_modifier.c:620).
iOS iOS 13 deprecatedmacOS macOS 10.15 deprecated
View.accessibility(selectionIdentifier:)
nonisolated public func accessibility(selectionIdentifier: AnyHashable) -> ModifiedContent<Self, AccessibilityAttachmentModifier>
Dedicated UI_ACCESSIBILITY_SELECTION_IDENTIFIER; legacy accessibility(...) resolves the label in modules/swiftui/compiler/lower/chain.c:168, and JSON emits accessibility.payload.selectionIdentifier (modules/swiftui/compiler/uiir/json_modifier.c:662).
iOS iOS 13 deprecatedmacOS macOS 10.15 deprecated
View.accessibility(sortPriority:)
nonisolated public func accessibility(sortPriority: Double) -> ModifiedContent<Self, AccessibilityAttachmentModifier>
Deprecated alias resolves to UI_ACCESSIBILITY_SORT_PRIORITY; lowering maps label sortPriority in modules/swiftui/compiler/lower/chain.c:160, and JSON emits accessibility.payload.priority (modules/swiftui/compiler/uiir/json_modifier.c:533).
iOS iOS 13 deprecatedmacOS macOS 10.15 deprecated
View.accessibility(activationPoint:)
nonisolated public func accessibility(activationPoint: CGPoint) -> ModifiedContent<Self, AccessibilityAttachmentModifier>
Deprecated alias resolves to UI_ACCESSIBILITY_ACTIVATION_POINT; modern accessibilityActivationPoint maps in modules/swiftui/compiler/lower/chain.c:137, the legacy label maps in chain.c:166, literal isEnabled stores in UIAccessibility.activation_point_enabled (include/internal/uiir.h:599), and JSON emits accessibility.payload.activationPoint/isEnabled (modules/swiftui/compiler/uiir/json_modifier.c:644).
iOS iOS 13 deprecatedmacOS macOS 10.15 deprecated
View.accessibility(addTraits:)
nonisolated public func accessibility(addTraits traits: AccessibilityTraits) -> ModifiedContent<Self, AccessibilityAttachmentModifier>
Deprecated alias resolves to UI_ACCESSIBILITY_ADD_TRAITS; lowering maps label addTraits in modules/swiftui/compiler/lower/chain.c:162, and JSON emits accessibility.payload.traits (modules/swiftui/compiler/uiir/json_modifier.c:521).
iOS iOS 13 deprecatedmacOS macOS 10.15 deprecated
View.accessibility(removeTraits:)
nonisolated public func accessibility(removeTraits traits: AccessibilityTraits) -> ModifiedContent<Self, AccessibilityAttachmentModifier>
Deprecated alias resolves to UI_ACCESSIBILITY_REMOVE_TRAITS; lowering maps label removeTraits in modules/swiftui/compiler/lower/chain.c:164, and JSON emits accessibility.payload.traits (modules/swiftui/compiler/uiir/json_modifier.c:522).
iOS iOS 13 deprecatedmacOS macOS 10.15 deprecated
AccessibilityTraits
public struct AccessibilityTraits : SetAlgebra, Sendable
Contextual value token: add/remove trait modifiers preserve common trait members in accessibility.payload.traits; standalone OptionSet operations remain unmodeled.
iOS allmacOS all
AccessibilityChildBehavior
public struct AccessibilityChildBehavior : Hashable
Contextual value token: accessibilityElement(children:) preserves behavior members such as .combine in accessibility.payload.children.
iOS allmacOS all
AccessibilityActionKind
public struct AccessibilityActionKind : Equatable, Sendable
Contextual value token: accessibilityAction(_:) preserves action kind members such as .default in accessibility.payload.name.
iOS allmacOS all
AccessibilityActionCategory
public struct AccessibilityActionCategory : Equatable, Sendable
Contextual value token: accessibilityActions(category:) preserves category members such as .edit in accessibility.payload.category; no standalone value runtime.
iOS iOS 18macOS macOS 15
AccessibilityAttachmentModifier
public struct AccessibilityAttachmentModifier : ViewModifier
module struct stub preserves the wrapper type metadata; MiniSwift still lowers accessibility APIs directly to UIMod nodes, not this internal ViewModifier wrapper
iOS allmacOS all
AccessibilityRotorContent
@MainActor @preconcurrency public protocol AccessibilityRotorContent
Rotor content is not executed as a protocol, but accessibilityRotor captures the builder subtree as an accessibility-rotor content slot.
iOS iOS 15macOS macOS 12
AccessibilityRotorContentBuilder
@resultBuilder public struct AccessibilityRotorContentBuilder
Builder body lowers structurally into UI_SLOT_ACCESSIBILITY_ROTOR_ENTRIES; full rotor runtime/navigation remains renderer policy.
iOS iOS 15macOS macOS 12
AccessibilitySystemRotor
public struct AccessibilitySystemRotor : Sendable
Contextual value token: accessibilityRotor(.links) serializes the system rotor member into accessibility.payload.systemRotor.
iOS iOS 15macOS macOS 12
AccessibilityHeadingLevel
public enum AccessibilityHeadingLevel : Equatable
Contextual value type: accessibilityHeading decomposes h1/h2/etc. tokens into accessibility.payload.headingLevel; the standalone enum type is not catalogued.
iOS iOS 15macOS macOS 12
AccessibilityTextContentType
public struct AccessibilityTextContentType : Equatable, Sendable
Contextual value type: accessibilityTextContentType decomposes member/factory tokens into accessibility.payload.textContentType; the standalone value type is not catalogued.
iOS iOS 15macOS macOS 12
AccessibilityLabeledPairRole
@frozen public enum AccessibilityLabeledPairRole
Contextual value token: accessibilityLabeledPair(role:) preserves .label/.content in accessibility.payload.role; no standalone enum runtime.
iOS iOS 14macOS macOS 11
AccessibilityFocusState
@propertyWrapper @frozen public struct AccessibilityFocusState<Value> : DynamicProperty where Value : Hashable
@AccessibilityFocusState wrapper fully parsed/lowered/modeled as property-wrapper binding source per coverage; focus runtime is renderer
iOS iOS 15macOS macOS 12
AccessibilityFocusState.Binding
public struct Binding
projected binding used by accessibilityFocused; modeled via wrapper binding source, but no a11y focus runtime
iOS iOS 15macOS macOS 12

22. Geometry values + utility views

59·140·0
Edge
@frozen public enum Edge : Int8, CaseIterable
Contextual value token: edge-taking modifiers preserve enum args and safeAreaInset(edge:) decomposes common cases into semantic payload fields.
iOS allmacOS all
Edge.top
case top
Contextually lowered by edge-taking modifiers; e.g. safeAreaInset(edge: .top) emits semantic.payload.edge="top".
iOS allmacOS all
Edge.leading
case leading
Contextually lowered as an edge token on edge-taking modifiers; standalone enum runtime remains unmodeled.
iOS allmacOS all
Edge.bottom
case bottom
Contextually lowered as an edge token on edge-taking modifiers; standalone enum runtime remains unmodeled.
iOS allmacOS all
Edge.trailing
case trailing
Contextually lowered as an edge token on edge-taking modifiers; standalone enum runtime remains unmodeled.
iOS allmacOS all
Edge.allCases
public static var allCases: [Edge]
Static member survives as a structured expression and Edge has a module enum stub; CaseIterable collection materialization is not evaluated.
iOS allmacOS all
Edge.Set
@frozen public struct Set : OptionSet
Contextual option-set token: padding/safe-area/content-margin style modifiers decompose common .top/.horizontal/.all tokens into typed layout fields.
iOS allmacOS all
Edge.Set.top
public static let top: Edge.Set
Contextually lowered by edge-set modifiers; standalone OptionSet operations remain unmodeled.
iOS allmacOS all
Edge.Set.leading
public static let leading: Edge.Set
Contextually lowered by edge-set modifiers; standalone OptionSet operations remain unmodeled.
iOS allmacOS all
Edge.Set.bottom
public static let bottom: Edge.Set
Contextually lowered by edge-set modifiers; standalone OptionSet operations remain unmodeled.
iOS allmacOS all
Edge.Set.trailing
public static let trailing: Edge.Set
Contextually lowered by edge-set modifiers; standalone OptionSet operations remain unmodeled.
iOS allmacOS all
Edge.Set.all
public static let all: Edge.Set
Contextually lowered by edge-set modifiers; default/all-edge layout paths map to concrete side fields.
iOS allmacOS all
Edge.Set.horizontal
public static let horizontal: Edge.Set
Contextually lowered by padding-style modifiers; .padding(.horizontal, 10) emits left/right layout padding.
iOS allmacOS all
Edge.Set.vertical
public static let vertical: Edge.Set
Contextually lowered by padding-style modifiers; standalone OptionSet operations remain unmodeled.
iOS allmacOS all
Edge.Set.init(_:)
public init(_ e: Edge)
Edge.Set(.top) survives as a structured call expression; OptionSet bit math is not evaluated outside contextual modifiers.
iOS allmacOS all
EdgeInsets
@frozen public struct EdgeInsets : Equatable, Sendable
No standalone value-type catalog, but padding, safeAreaPadding, and listRowInsets(_:) contextually decompose literal EdgeInsets into typed side fields (layout.c:178, chain.c:2051, json_modifier.c:240). Other contexts remain raw source.
iOS allmacOS all
EdgeInsets.init(top:leading:bottom:trailing:)
public init(top: CGFloat, leading: CGFloat, bottom: CGFloat, trailing: CGFloat)
Contextually decoded when used by layout modifiers/list row insets: layout.c:178 handles layout hoists and chain.c:2051 decomposes listRowInsets into payload.insets (json_modifier.c:240). Standalone values remain raw source.
iOS allmacOS all
EdgeInsets.init()
public init()
Contextually decoded as zero-valued EdgeInsets for layout/list-row inset modifiers (layout.c:178, chain.c:2051); no standalone value model.
iOS allmacOS all
EdgeInsets.init(_ nsEdgeInsets:)
public init(_ nsEdgeInsets: NSDirectionalEdgeInsets)
Bridge ctor call survives structurally as EdgeInsets(NSDirectionalEdgeInsets()); UIKit/AppKit bridge conversion is not evaluated.
iOS allmacOS all
EdgeInsets.top
public var top: CGFloat
Member read survives as a structured expression on EdgeInsets; standalone numeric value evaluation is not implemented.
iOS allmacOS all
EdgeInsets.leading
public var leading: CGFloat
Member read survives as a structured expression on EdgeInsets; standalone numeric value evaluation is not implemented.
iOS allmacOS all
EdgeInsets.bottom
public var bottom: CGFloat
Member read survives as a structured expression on EdgeInsets; standalone numeric value evaluation is not implemented.
iOS allmacOS all
EdgeInsets.trailing
public var trailing: CGFloat
Member read survives as a structured expression on EdgeInsets; standalone numeric value evaluation is not implemented.
iOS allmacOS all
Alignment
@frozen public struct Alignment : Equatable
Contextual value token: stack/frame/grid alignment args decompose common static presets into layout metadata; standalone value operations remain unmodeled.
iOS allmacOS all
Alignment.init(horizontal:vertical:)
public init(horizontal: HorizontalAlignment, vertical: VerticalAlignment)
Constructor survives as a structured call expression; custom alignment semantics remain uninterpreted.
iOS allmacOS all
Alignment.horizontal
public var horizontal: HorizontalAlignment
Member read survives as a structured expression on Alignment; custom axis semantics are not evaluated.
iOS allmacOS all
Alignment.vertical
public var vertical: VerticalAlignment
Member read survives as a structured expression on Alignment; custom axis semantics are not evaluated.
iOS allmacOS all
Alignment.center
public static let center: Alignment
stack/frame alignment honored by web renderer as layout arg, but Alignment is not a typed value; survives as .center literal
iOS allmacOS all
Alignment.leading
public static let leading: Alignment
stack alignment honored as layout metadata; value type itself unmodeled, .leading literal
iOS allmacOS all
Alignment.trailing
public static let trailing: Alignment
stack alignment honored as layout metadata; .trailing literal, no Alignment value model
iOS allmacOS all
Alignment.top
public static let top: Alignment
ZStack alignment honored as layout metadata; .top literal only
iOS allmacOS all
Alignment.bottom
public static let bottom: Alignment
ZStack alignment honored as layout metadata; .bottom literal only
iOS allmacOS all
Alignment.topLeading
public static let topLeading: Alignment
ZStack corner alignment honored; .topLeading literal, no value model
iOS allmacOS all
Alignment.topTrailing
public static let topTrailing: Alignment
ZStack corner alignment honored; .topTrailing literal
iOS allmacOS all
Alignment.bottomLeading
public static let bottomLeading: Alignment
ZStack corner alignment honored; .bottomLeading literal
iOS allmacOS all
Alignment.bottomTrailing
public static let bottomTrailing: Alignment
ZStack corner alignment honored; .bottomTrailing literal
iOS allmacOS all
Alignment.leadingFirstTextBaseline
public static let leadingFirstTextBaseline: Alignment
Static token survives structurally; renderer still lacks baseline metrics.
iOS iOS 16macOS macOS 13
Alignment.trailingFirstTextBaseline
public static let trailingFirstTextBaseline: Alignment
Static token survives structurally; renderer still lacks baseline metrics.
iOS iOS 16macOS macOS 13
Alignment.centerFirstTextBaseline
public static let centerFirstTextBaseline: Alignment
Static token survives structurally; renderer still lacks baseline metrics.
iOS iOS 16macOS macOS 13
Alignment.centerLastTextBaseline
public static let centerLastTextBaseline: Alignment
Static token survives structurally; renderer still lacks baseline metrics.
iOS iOS 16macOS macOS 13
HorizontalAlignment
@frozen public struct HorizontalAlignment : Equatable
Contextual value token: VStack(alignment:) and grid-column alignment args lower common presets into layout metadata.
iOS allmacOS all
HorizontalAlignment.init(_:)
public init(_ id: AlignmentID.Type)
Custom AlignmentID constructor calls preserve the AlignmentID.self token structurally; guide resolution/defaultValue execution is not modeled.
iOS allmacOS all
HorizontalAlignment.leading
public static let leading: HorizontalAlignment
VStack alignment honored as layout metadata; .leading literal, value type unmodeled
iOS allmacOS all
HorizontalAlignment.center
public static let center: HorizontalAlignment
VStack alignment honored as layout metadata; .center literal
iOS allmacOS all
HorizontalAlignment.trailing
public static let trailing: HorizontalAlignment
VStack alignment honored as layout metadata; .trailing literal
iOS allmacOS all
HorizontalAlignment.listRowSeparatorLeading
public static let listRowSeparatorLeading: HorizontalAlignment
Static token survives structurally; list separator guide layout is not evaluated.
iOS iOS 16macOS macOS 13
HorizontalAlignment.listRowSeparatorTrailing
public static let listRowSeparatorTrailing: HorizontalAlignment
Static token survives structurally; list separator guide layout is not evaluated.
iOS iOS 16macOS macOS 13
VerticalAlignment
@frozen public struct VerticalAlignment : Equatable
Contextual value token: HStack(alignment:), GridRow alignment, and safe-area inset alignment args lower common presets into layout/semantic metadata.
iOS allmacOS all
VerticalAlignment.init(_:)
public init(_ id: AlignmentID.Type)
Custom AlignmentID constructor calls preserve the AlignmentID.self token structurally; guide resolution/defaultValue execution is not modeled.
iOS allmacOS all
VerticalAlignment.top
public static let top: VerticalAlignment
HStack alignment honored as layout metadata; .top literal
iOS allmacOS all
VerticalAlignment.center
public static let center: VerticalAlignment
HStack alignment honored as layout metadata; .center literal
iOS allmacOS all
VerticalAlignment.bottom
public static let bottom: VerticalAlignment
HStack alignment honored as layout metadata; .bottom literal
iOS allmacOS all
VerticalAlignment.firstTextBaseline
public static let firstTextBaseline: VerticalAlignment
Static token survives structurally; renderer still lacks baseline metrics.
iOS allmacOS all
VerticalAlignment.lastTextBaseline
public static let lastTextBaseline: VerticalAlignment
Static token survives structurally; renderer still lacks baseline metrics.
iOS allmacOS all
UnitPoint
@frozen public struct UnitPoint : Hashable
Contextual anchor token: common presets survive as structured args for rotation/scale/scroll/gradient anchor payloads; no standalone value runtime.
iOS allmacOS all
UnitPoint.init(x:y:)
public init(x: CGFloat, y: CGFloat)
Constructor survives as structured call expression in anchor/gradient contexts; renderer-specific coordinate semantics remain partial.
iOS allmacOS all
UnitPoint.x
public var x: CGFloat
Member read survives as a structured expression on UnitPoint; coordinate math is not evaluated standalone.
iOS allmacOS all
UnitPoint.y
public var y: CGFloat
Member read survives as a structured expression on UnitPoint; coordinate math is not evaluated standalone.
iOS allmacOS all
UnitPoint.zero
public static let zero: UnitPoint
Static preset survives as structured anchor token in supported modifier payloads; standalone value runtime remains unmodeled.
iOS allmacOS all
UnitPoint.center
public static let center: UnitPoint
Static preset survives as structured anchor token in supported modifier payloads.
iOS allmacOS all
UnitPoint.leading
public static let leading: UnitPoint
Static preset survives as structured anchor token in supported modifier payloads.
iOS allmacOS all
UnitPoint.trailing
public static let trailing: UnitPoint
Static preset survives as structured anchor token in supported modifier payloads.
iOS allmacOS all
UnitPoint.top
public static let top: UnitPoint
Static preset survives as structured anchor token in supported modifier payloads.
iOS allmacOS all
UnitPoint.bottom
public static let bottom: UnitPoint
Static preset survives as structured anchor token in supported modifier payloads.
iOS allmacOS all
UnitPoint.topLeading
public static let topLeading: UnitPoint
Static preset survives as structured anchor token; regression covers rotationEffect(..., anchor: UnitPoint.topLeading).
iOS allmacOS all
UnitPoint.topTrailing
public static let topTrailing: UnitPoint
Static preset survives as structured anchor token in supported modifier payloads.
iOS allmacOS all
UnitPoint.bottomLeading
public static let bottomLeading: UnitPoint
Static preset survives as structured anchor token in supported modifier payloads.
iOS allmacOS all
UnitPoint.bottomTrailing
public static let bottomTrailing: UnitPoint
Static preset survives as structured anchor token in supported modifier payloads.
iOS allmacOS all
Angle
@frozen public struct Angle : Equatable, Comparable, Sendable
Contextual angle token: rotation/gradient angle factories and constructors survive as structured expression payloads; no standalone Angle arithmetic/runtime.
iOS allmacOS all
Angle.init()
public init()
Zero-angle constructor survives as structured call expression in angle-taking contexts; no standalone value runtime.
iOS allmacOS all
Angle.init(radians:)
public init(radians: Double)
Constructor survives as structured call expression in angle-taking contexts.
iOS allmacOS all
Angle.init(degrees:)
public init(degrees: Double)
Constructor survives as structured call expression in angle-taking contexts.
iOS allmacOS all
Angle.radians
public var radians: Double
Member read survives as a structured expression on Angle; angle conversion math is not evaluated standalone.
iOS allmacOS all
Angle.degrees
public var degrees: Double
Member read survives as a structured expression on Angle; angle conversion math is not evaluated standalone.
iOS allmacOS all
Angle.radians(_:)
public static func radians(_ radians: Double) -> Angle
Factory survives as structured member-call expression in angle-taking contexts.
iOS allmacOS all
Angle.degrees(_:)
public static func degrees(_ degrees: Double) -> Angle
Factory survives as structured member-call expression; regression covers Angle.degrees(12) in rotationEffect.
iOS allmacOS all
Angle.zero
public static let zero: Angle
Static preset survives as a structured token in angle-taking contexts; no standalone value runtime.
iOS allmacOS all
Axis
@frozen public enum Axis : Int8, CaseIterable
Standalone value type is not catalogued, but ScrollView/containerRelativeFrame/grid unsized-axes contexts decompose .horizontal/.vertical into UIAxisSet layout metadata (view.c:241, layout.c:261).
iOS allmacOS all
Axis.horizontal
case horizontal
Contextually lowered as UI_AXIS_SET_HORIZONTAL for ScrollView and layout modifiers (view.c:263, layout.c:268); standalone enum use remains structural.
iOS allmacOS all
Axis.vertical
case vertical
Contextually lowered as UI_AXIS_SET_VERTICAL for ScrollView and layout modifiers (view.c:265, layout.c:270); standalone enum use remains structural.
iOS allmacOS all
Axis.Set
@frozen public struct Set : OptionSet
Option-set arrays and member literals decompose to UIAxisSet in ScrollView, containerRelativeFrame, and gridCellUnsizedAxes contexts (view.c:249, layout.c:276).
iOS allmacOS all
Axis.Set.horizontal
public static let horizontal: Axis.Set
Contextually lowered as the horizontal bit in UIAxisSet (view.c:263, layout.c:268); standalone static member remains unmodeled.
iOS allmacOS all
Axis.Set.vertical
public static let vertical: Axis.Set
Contextually lowered as the vertical bit in UIAxisSet (view.c:265, layout.c:270); standalone static member remains unmodeled.
iOS allmacOS all
CoordinateSpace
@frozen public enum CoordinateSpace
Standalone enum is not catalogued, but coordinateSpace(_:) now contextually decomposes .global, .local, and .named("...") into UISemantic.coordinate_space_kind/name (chain.c:2857, json_modifier.c:1550). Gesture/geometry runtime remains absent.
iOS allmacOS all
CoordinateSpace.global
case global
Contextually lowered by coordinateSpace(_:) as payload.kind=global (chain.c:2877, json_modifier.c:1550); standalone enum use and coordinate lookup remain unmodeled.
iOS allmacOS all
CoordinateSpace.local
case local
Contextually lowered by coordinateSpace(_:) as payload.kind=local (chain.c:2877, json_modifier.c:1550); standalone enum use and coordinate lookup remain unmodeled.
iOS allmacOS all
CoordinateSpace.named(_:)
case named(AnyHashable)
Contextually lowered by coordinateSpace(_:); literal .named("...") calls become payload.kind=named and payload.name (chain.c:2839, json_modifier.c:1550). Named-space lookup runtime remains absent.
iOS allmacOS all
CoordinateSpace.isGlobal
public var isGlobal: Bool
Member read survives as a structured expression on CoordinateSpace; introspection result is not evaluated.
iOS allmacOS all
CoordinateSpace.isLocal
public var isLocal: Bool
Member read survives as a structured expression on CoordinateSpace; introspection result is not evaluated.
iOS allmacOS all
CoordinateSpaceProtocol
public protocol CoordinateSpaceProtocol
module protocol stub exists and coordinateSpace(_:) captures typed space args structurally; protocol requirements are not executed.
iOS iOS 17macOS macOS 14
CoordinateSpaceProtocol.coordinateSpace
var coordinateSpace: CoordinateSpace { get }
Concrete Local/Global/NamedCoordinateSpace .coordinateSpace member reads survive structurally; coordinate lookup/runtime is not evaluated.
iOS iOS 17macOS macOS 14
CoordinateSpaceProtocol.named(_:)
public static func named(_ name: some Hashable) -> NamedCoordinateSpace
Factory is not executed standalone, but .coordinateSpace(.named("...")) contextually recognizes the named call and decomposes the literal name into payload.name (chain.c:2839, json_modifier.c:1550).
iOS iOS 17macOS macOS 14
CoordinateSpaceProtocol.scrollView
public static var scrollView: NamedCoordinateSpace { get }
Static scroll-space member token survives structurally; scroll coordinate runtime is not modeled.
iOS iOS 17macOS macOS 14
CoordinateSpaceProtocol.scrollView(axis:)
public static func scrollView(axis: Axis) -> NamedCoordinateSpace
Axis-specific scroll-space call preserves the Axis arg structurally; scroll coordinate runtime is not modeled.
iOS iOS 17macOS macOS 14
LocalCoordinateSpace
public struct LocalCoordinateSpace : CoordinateSpaceProtocol
module struct stub preserves type metadata; coordinate lookup/runtime remains absent.
iOS iOS 17macOS macOS 14
GlobalCoordinateSpace
public struct GlobalCoordinateSpace : CoordinateSpaceProtocol
module struct stub preserves type metadata; coordinate lookup/runtime remains absent.
iOS iOS 17macOS macOS 14
NamedCoordinateSpace
public struct NamedCoordinateSpace : CoordinateSpaceProtocol, Equatable
Standalone value type is not catalogued, but coordinateSpace(_:) contextually captures .named("...") as typed coordinate-space kind/name payloads (chain.c:2839, json_modifier.c:1550).
iOS iOS 17macOS macOS 14
GeometryProxy
public struct GeometryProxy
GeometryReader closure param is available in web runtime for size and basic frame metadata, but coordinate-space queries, anchors, and safe-area semantics remain partial.
iOS allmacOS
GeometryProxy.size
public var size: CGSize
geo.size.width/height resolve against the live measured GeometryReader size in web runtime child content.
iOS allmacOS
GeometryProxy.safeAreaInsets
public var safeAreaInsets: EdgeInsets
Web GeometryReader proxy exposes zero-valued EdgeInsets through member expressions; real browser/device safe-area feedback remains absent.
iOS allmacOS
GeometryProxy.frame(in:)
public func frame(in coordinateSpace: some CoordinateSpaceProtocol) -> CGRect
Web GeometryReader expression evaluator resolves geo.frame(in:) to the live measured frame rect (interaction.js:_swiftCall); named-space transforms remain partial on CoordinateSpace itself.
iOS iOS 17macOS
GeometryProxy.frame(in:) (legacy)
public func frame(in coordinateSpace: CoordinateSpace) -> CGRect
Legacy geo.frame(in:) calls resolve to the same live measured frame rect in web runtime; named-space transforms remain partial on CoordinateSpace itself.
iOS allmacOS
GeometryProxy.bounds(of:)
public func bounds(of coordinateSpace: NamedCoordinateSpace) -> CGRect?
Named-space bounds call survives structurally; no named-space resolver/runtime.
iOS iOS 17macOS
GeometryProxy.subscript(_:)
public subscript<T>(anchor: Anchor<T>) -> T { get }
Anchor subscript survives as a structured subscript expression; Anchor/preference resolution remains absent.
iOS allmacOS
SafeAreaRegions
public struct SafeAreaRegions : OptionSet
No standalone value-type catalog, but ignoresSafeArea(_:edges:) lowers region options to UISemantic.safe_area_regions (uiir.h:127, chain.c:1384). Other contexts remain raw enum/member args.
iOS allmacOS all
SafeAreaRegions.all
public static let all: SafeAreaRegions
Contextually lowered for ignoresSafeArea to payload.regions=["container","keyboard"]; web renderer stores the explicit region list in styles.safeAreaRegions.
iOS allmacOS all
SafeAreaRegions.container
public static let container: SafeAreaRegions
Contextually lowered for ignoresSafeArea to payload.regions=["container"]; web renderer preserves the container-only region policy.
iOS allmacOS all
SafeAreaRegions.keyboard
public static let keyboard: SafeAreaRegions
Contextually lowered for ignoresSafeArea to payload.regions=["keyboard"]; web renderer preserves the keyboard-only region policy.
iOS allmacOS all
ColorScheme
public enum ColorScheme : CaseIterable, Sendable
used via environment(\\.colorScheme); web renderer flips fg/bg subtree on .dark/.light, enum value itself not typed-modeled
iOS allmacOS all
ColorScheme.light
case light
Contextually lowered by colorScheme(_:), preferredColorScheme(_:), and environment(\\.colorScheme, .light); web renderer applies light subtree fg/bg defaults.
iOS allmacOS all
ColorScheme.dark
case dark
Contextually lowered by colorScheme(_:), preferredColorScheme(_:), and environment(\\.colorScheme, .dark); web renderer applies dark subtree fg/bg defaults.
iOS allmacOS all
ColorSchemeContrast
public enum ColorSchemeContrast : CaseIterable, Sendable
Module enum stub preserves contrast type metadata; .standard/.increased are handled contextually through environment writes, but standalone enum value semantics remain partial.
iOS allmacOS
ColorSchemeContrast.standard
case standard
Contextually lowered by environment(\\.colorSchemeContrast, .standard); web renderer stores standard contrast state and keeps contrast filter at 1.0.
iOS allmacOS
ColorSchemeContrast.increased
case increased
Contextually lowered by environment(\\.colorSchemeContrast, .increased); web renderer stores increased contrast state and raises the contrast filter.
iOS allmacOS
ContentMode
@frozen public enum ContentMode : Hashable, CaseIterable
No standalone value-type catalog, but aspectRatio lowers fit/fill into UILayout.aspect_content_mode (layout.c:201, json_node.c:445). Other contexts remain enum-case args.
iOS allmacOS all
ContentMode.fit
case fit
Contextually lowered by aspectRatio(..., contentMode: .fit) to layout.aspectContentMode="fit"; web aspect-ratio layout fits inside the frame.
iOS allmacOS all
ContentMode.fill
case fill
Contextually lowered by aspectRatio(..., contentMode: .fill) to layout.aspectContentMode="fill"; web aspect-ratio layout expands to cover the frame.
iOS allmacOS all
ControlSize
public enum ControlSize : CaseIterable, Sendable
No standalone value-type catalog, but controlSize(_:) contextually lowers enum/member tokens to UISemantic.control_size (chain.c:1946, json_modifier.c:1572). Other contexts remain raw args.
iOS allmacOS all
ControlSize.mini
case mini
Contextually lowered by controlSize(_:) to payload.size="mini"; web Button/Toggle/TextField renderers apply compact mini sizing.
iOS allmacOS all
ControlSize.small
case small
Contextually lowered by controlSize(_:) to payload.size="small"; web Button/Toggle/TextField renderers apply small sizing.
iOS allmacOS all
ControlSize.regular
case regular
Contextually lowered by controlSize(_:) to payload.size="regular"; web Button/Toggle/TextField renderers keep regular sizing.
iOS allmacOS all
ControlSize.large
case large
Contextually lowered by controlSize(_:) to payload.size="large"; web Button/Toggle/TextField renderers apply larger control chrome.
iOS allmacOS all
ControlSize.extraLarge
case extraLarge
Contextually lowered by controlSize(_:) to payload.size="extraLarge"; web Button/Toggle/TextField renderers apply the largest control chrome.
iOS iOS 17macOS macOS 14
AnyView
@frozen public struct AnyView : View
leaf view in catalog with UINodeKind; web renders, Compose dispatch pending; custom struct callsites also lower as AnyView nodes
iOS allmacOS all
AnyView.init(_:)
public init<V>(_ view: V) where V : View
wraps a view; lowered as AnyView node with child UIIR
iOS allmacOS all
AnyView.init(erasing:)
public init<V>(erasing view: V) where V : View
type-erasing init; lowered as AnyView node wrapping child
iOS iOS 15.3macOS macOS 12.3
EmptyView
@frozen public struct EmptyView : View
leaf view in catalog with UINodeKind; web renders nothing; Compose render-nothing pending per android matrix
iOS allmacOS all
EmptyView.init()
@inlinable public init()
trivial ctor; lowered as EmptyView node
iOS allmacOS all
TupleView
@frozen public struct TupleView<T> : View
ViewBuilder tuple result; catalogued long-tail wrapper, but builder children are lowered directly by compiler, no tuple semantics
iOS allmacOS all
TupleView.init(_:)
public init(_ value: T)
ctor; compiler lowers builder children directly rather than via tuple value
iOS allmacOS all
TupleView.value
public var value: T
Stored tuple member read survives structurally on explicit TupleView values; normal ViewBuilder lowering still bypasses TupleView semantics.
iOS allmacOS all
ViewBuilder
@resultBuilder public struct ViewBuilder
result builder; compiler lowers if/else/switch/for-in/ForEach/let into semantic conditional/local UIIR per coverage.md
iOS allmacOS all
ViewBuilder.buildBlock()
public static func buildBlock() -> EmptyView
empty block; compiler handles builder block lowering directly
iOS allmacOS all
ViewBuilder.buildBlock(_:)
public static func buildBlock<Content>(_ content: Content) -> Content where Content : View
single-content block; lowered directly to child node
iOS allmacOS all
ViewBuilder.buildIf(_:)
public static func buildIf<Content>(_ content: Content?) -> Content? where Content : View
optional if; lowered to conditional UIIR (UIVIEW_CONDITIONAL)
iOS allmacOS all
ViewBuilder.buildEither(first:)
public static func buildEither<TrueContent, FalseContent>(first: TrueContent) -> _ConditionalContent<...>
if/else branch; lowered to conditional UIIR
iOS allmacOS all
ViewBuilder.buildEither(second:)
public static func buildEither<TrueContent, FalseContent>(second: FalseContent) -> _ConditionalContent<...>
else branch; lowered to conditional UIIR
iOS allmacOS all
ViewBuilder.buildLimitedAvailability(_:)
public static func buildLimitedAvailability<Content>(_ content: Content) -> AnyView where Content : View
if #available; lowered to availability conditional UIIR
iOS allmacOS all
ViewBuilder.buildArray(_:)
public static func buildArray(_ components: [some View]) -> some View
for-in array build; lowered via loop/ForEach UIIR per coverage.md
iOS allmacOS all
ViewModifier
public protocol ViewModifier
module protocol stub preserves custom modifier metadata; custom body execution remains unmodeled.
iOS allmacOS all
ViewModifier.body(content:)
func body(content: Self.Content) -> Self.Body
Explicit body(content:) calls preserve the content arg structurally; custom modifier body expansion is not modeled.
iOS allmacOS all
ViewModifier.Body
associatedtype Body : View
Associated type references such as MyModifier.Body.self survive structurally; associated-type witness/runtime metadata is not modeled.
iOS allmacOS all
ViewModifier.concat(_:)
public func concat<T>(_ modifier: T) -> ModifiedContent<Self, T>
Explicit modifier composition calls preserve the nested modifier arg structurally; composed modifier body execution is not modeled.
iOS allmacOS all
View.modifier(_:)
@inlinable nonisolated public func modifier<T>(_ modifier: T) -> ModifiedContent<Self, T>
applies a custom ViewModifier; call captured as generic UIMod but custom modifier body is not expanded
iOS allmacOS all
ModifiedContent
@frozen public struct ModifiedContent<Content, Modifier>
catalogued long-tail view wrapper; compiler lowers modifier chains directly into UIMod lists, ModifiedContent itself structural only
iOS allmacOS all
ModifiedContent.init(content:modifier:)
@inlinable public init(content: Content, modifier: Modifier)
ctor; chain lowering bypasses explicit ModifiedContent construction
iOS allmacOS all
ModifiedContent.content
public var content: Content
Stored content member read survives structurally on explicit ModifiedContent values; normal chain lowering still bypasses the wrapper.
iOS allmacOS all
ModifiedContent.modifier
public var modifier: Modifier
Stored modifier member read survives structurally on explicit ModifiedContent values; custom modifier execution remains absent.
iOS allmacOS all
ModifiedContent : View
extension ModifiedContent : View where Content : View, Modifier : ViewModifier
View conformance; 36 conditional extensions in dump, only View shape captured generically
iOS allmacOS all
EquatableView
@frozen public struct EquatableView<Content> : View where Content : Equatable, Content : View
catalogued long-tail view wrapper; structural capture only, no equality-diff update optimization (no SwiftUI update runtime)
iOS allmacOS all
EquatableView.init(content:)
@inlinable public init(content: Content)
ctor; lowered structurally, content child preserved
iOS allmacOS all
EquatableView.content
public var content: Content
Stored content member read survives structurally on explicit EquatableView values; equality-diff runtime remains absent.
iOS allmacOS all
View.equatable()
@inlinable nonisolated public func equatable() -> EquatableView<Self>
in catalog as 'equatable' generic modifier; captured as UIMod, no diff-skip semantics
iOS allmacOS all
View.id(_:)
@inlinable nonisolated public func id<ID>(_ id: ID) -> some View where ID : Hashable
Identity family; emits static or dynamic identity metadata per coverage.md; absent from dump (SwiftUICore)
iOS allmacOS all
View.tag(_:)
@inlinable nonisolated public func tag<V>(_ tag: V) -> some View where V : Hashable
Dedicated UI_SEMANTIC_TAG; JSON emits payload.value from the first arg (json_modifier.c:1511). Ties Picker/TabView selection; SwiftUICore decl not in dump.
iOS allmacOS all
View.tag(_:includeOptional:)
nonisolated public func tag<V>(_ tag: V, includeOptional: Bool) -> some View where V : Hashable
Dedicated UI_SEMANTIC_TAG; chain.c:1851 decomposes literal includeOptional into UISemantic.tag_include_optional (uiir.h:888) while preserving payload.value, and JSON emits payload.includeOptional (json_modifier.c:1511).
iOS iOS 26macOS macOS 26
View.hidden()
@inlinable nonisolated public func hidden() -> some View
dedicated semantic kind; web renderer honors hidden (in honored list); SwiftUICore decl not in dump
iOS allmacOS all
View.disabled(_:)
@inlinable nonisolated public func disabled(_ disabled: Bool) -> some View
Dedicated UI_SEMANTIC_DISABLED; chain.c:1753 decomposes literal Bool into UISemantic.disabled (uiir.h:872) and JSON emits payload.isDisabled (json_modifier.c:1427).
iOS allmacOS all
View.allowsHitTesting(_:)
@inlinable nonisolated public func allowsHitTesting(_ enabled: Bool) -> some View
Dedicated UI_SEMANTIC_ALLOWS_HIT_TESTING; chain.c:1753 decomposes literal Bool into UISemantic.allows_hit_testing_enabled (uiir.h:870) and JSON emits payload.enabled (json_modifier.c:1417).
iOS allmacOS all
View.contentShape(_:eoFill:)
@inlinable nonisolated public func contentShape<S>(_ shape: S, eoFill: Bool = false) -> some View where S : Shape
Dedicated UI_SEMANTIC_CONTENT_SHAPE; chain.c:1826 defaults/decomposes eoFill into UISemantic.content_shape_eo_fill (uiir.h:886) and JSON emits payload.shape + payload.eoFill (json_modifier.c:1452).
iOS allmacOS all
View.contentShape(_:_:eoFill:)
nonisolated public func contentShape<S>(_ kind: ContentShapeKinds, _ shape: S, eoFill: Bool = false) -> some View where S : Shape
Dedicated UI_SEMANTIC_CONTENT_SHAPE; chain.c:1436 maps ContentShapeKinds to a UIContentShapeKindSet (uiir.h:134), chain.c:1826 keeps shape as the second arg and decomposes eoFill, and JSON emits payload.kinds/shape/eoFill (json_modifier.c:261, json_modifier.c:1452).
iOS iOS 15macOS macOS 12
View.zIndex(_:)
@inlinable nonisolated public func zIndex(_ value: Double) -> some View
dedicated semantic kind; web renderer reorders container draw via _zOrder (higher on top), verified; SwiftUICore decl not in dump
iOS allmacOS all
View.redacted(reason:)
nonisolated public func redacted(reason: RedactionReasons) -> some View
Dedicated semantic kind; JSON carries payload.reason, and web renderer honors redacted with normalized reason state.
iOS iOS 14macOS macOS 11
View.unredacted()
nonisolated public func unredacted() -> some View
Dedicated UI_SEMANTIC_UNREDACTED; zero-arg flag clears web renderer redaction state.
iOS iOS 14macOS macOS 11
RedactionReasons
public struct RedactionReasons : OptionSet
module struct stub preserves option-set type metadata, and redacted(reason:) is a dedicated semantic modifier; full OptionSet operations remain unmodeled.
iOS iOS 14macOS macOS 11
RedactionReasons.placeholder
public static let placeholder: RedactionReasons
Contextually lowered by redacted(reason:) to JSON payload.reason="placeholder"; web renderer stores styles.redactionReason="placeholder" and applies redaction chrome.
iOS iOS 14macOS macOS 11
RedactionReasons.privacy
public static let privacy: RedactionReasons
Contextually lowered by redacted(reason:) and privacySensitive(true) to web privacy redaction state.
iOS iOS 15macOS macOS 12
RedactionReasons.invalidated
public static let invalidated: RedactionReasons
Contextually lowered by redacted(reason:) to JSON payload.reason="invalidated"; web renderer stores the invalidated reason while applying redaction chrome.
iOS iOS 16macOS macOS 13
View.coordinateSpace(_:)
nonisolated public func coordinateSpace(_ name: NamedCoordinateSpace) -> some View
Dedicated UI_SEMANTIC_COORDINATE_SPACE; .named("..."), .local, and .global args decompose to payload.kind/payload.name while preserving raw payload.space (chain.c:2857, json_modifier.c:1550). No named-space resolver/runtime is implied.
iOS iOS 17macOS macOS 14
View.coordinateSpace(name:)
@inlinable nonisolated public func coordinateSpace<T>(name: T) -> some View where T : Hashable
Deprecated overload shares UI_SEMANTIC_COORDINATE_SPACE; literal/interpolated name: args lower to payload.kind=named and payload.name, dynamic names remain raw payload.space (chain.c:2861, json_modifier.c:1550).
iOS all (deprecated)macOS all (deprecated)
View.containerRelativeFrame(_:alignment:)
nonisolated public func containerRelativeFrame(_ axes: Axis.Set, alignment: Alignment = .center) -> some View
Layout-hoisted; axes/alignment args decompose to UILayout.container_relative_axes/alignment (layout.c:574) and JSON emits containerRelativeAxes/containerRelativeAlignment (json_node.c:474).
iOS iOS 17macOS macOS 14
View.containerRelativeFrame(_:count:span:spacing:alignment:)
nonisolated public func containerRelativeFrame(_ axes: Axis.Set, count: Int, span: Int = 1, spacing: CGFloat, alignment: Alignment = .center) -> some View
Layout-hoisted; count/span/spacing fields decompose to UILayout.container_relative_count/span/spacing (layout.c:622) with typed JSON fields (json_node.c:486).
iOS iOS 17macOS macOS 14
View.containerRelativeFrame(_:alignment:_:)
nonisolated public func containerRelativeFrame(_ axes: Axis.Set, alignment: Alignment = .center, _ length: @escaping (CGFloat, Axis) -> CGFloat) -> some View
closure-length variant; generic UIMod, closure not evaluated
iOS iOS 17macOS macOS 14
View.containerShape(_:)
@inlinable nonisolated public func containerShape<T>(_ shape: T) -> some View where T : InsettableShape
Dedicated UI_SEMANTIC_CONTAINER_SHAPE; lowering maps containerShape in modules/swiftui/compiler/lower/chain.c:675, and JSON preserves the shape expression as semantic.payload.shape (modules/swiftui/compiler/uiir/json_modifier.c:1960). ContainerRelativeShape resolution remains renderer/runtime policy.
iOS iOS 15macOS macOS 12
ContainerRelativeShape
@frozen public struct ContainerRelativeShape : Shape
catalogued view/shape wrapper (long-tail); structural capture, no container-inset resolution by renderer
iOS iOS 14macOS macOS 11
ContainerRelativeShape.init()
@inlinable public init()
ctor; structural shape node only
iOS iOS 14macOS macOS 11
View.preferredColorScheme(_:)
nonisolated public func preferredColorScheme(_ colorScheme: ColorScheme?) -> some View
Dedicated UI_SEMANTIC_PREFERRED_COLOR_SCHEME; JSON emits tokenized semantic.payload.colorScheme and nil as null (modules/swiftui/compiler/uiir/json_modifier.c:2818).
iOS iOS 13macOS macOS 11
View.colorScheme(_:)
@inlinable nonisolated public func colorScheme(_ colorScheme: ColorScheme) -> some View
Dedicated UI_SEMANTIC_COLOR_SCHEME; JSON emits tokenized semantic.payload.colorScheme (modules/swiftui/compiler/uiir/json_modifier.c:2818). Deprecated API, but capture is typed.
iOS all (deprecated)macOS all (deprecated)
View.aspectRatio(_:contentMode:)
@inlinable nonisolated public func aspectRatio(_ aspectRatio: CGFloat? = nil, contentMode: ContentMode) -> some View
layout-hoisted family; web renderer honors aspectRatio; SwiftUICore decl not in dump
iOS allmacOS all
View.aspectRatio(_:contentMode:) (CGSize)
@inlinable nonisolated public func aspectRatio(_ aspectRatio: CGSize, contentMode: ContentMode) -> some View
CGSize ratio overload; layout-hoisted, web renderer honors aspectRatio
iOS allmacOS all
View.scaledToFit()
@inlinable nonisolated public func scaledToFit() -> some View
Dedicated UI_SEMANTIC_SCALED_TO_FIT; zero-arg flag; aspectRatio(.fit) sugar.
iOS allmacOS all
View.scaledToFill()
@inlinable nonisolated public func scaledToFill() -> some View
Dedicated UI_SEMANTIC_SCALED_TO_FILL; zero-arg flag; aspectRatio(.fill) sugar.
iOS allmacOS all
PreviewProvider
@MainActor @preconcurrency public protocol PreviewProvider : _PreviewProvider
module protocol stub preserves preview entry type surface; Xcode preview execution remains outside UIIR lowering.
iOS allmacOS all
PreviewProvider.previews
@ViewBuilder static var previews: Self.Previews { get }
Static previews member references survive structurally; PreviewProvider is not executed as an Xcode preview entry point.
iOS allmacOS all
PreviewProvider.Previews
associatedtype Previews : View
Associated type references such as MyPreview.Previews.self survive structurally; Xcode preview execution remains outside MiniSwift.
iOS allmacOS all
PreviewProvider.platform
static var platform: PreviewPlatform? { get }
Static platform member references survive structurally; preview platform routing is not modeled.
iOS allmacOS all
PreviewLayout
public enum PreviewLayout
module enum stub preserves preview layout type metadata; preview modifiers are still dev-tooling/source-level only.
iOS allmacOS all
PreviewLayout.device
case device
Static case survives structurally; Xcode preview layout execution is not modeled.
iOS allmacOS all
PreviewLayout.sizeThatFits
case sizeThatFits
Static case survives structurally; Xcode preview layout execution is not modeled.
iOS allmacOS all
PreviewLayout.fixed(width:height:)
case fixed(width: CGFloat, height: CGFloat)
Fixed-size call preserves width/height structurally; Xcode preview layout execution is not modeled.
iOS allmacOS all
View.previewLayout(_:)
@inlinable nonisolated public func previewLayout(_ value: PreviewLayout) -> some View
Preview modifier is catalogued and preserves PreviewLayout args structurally; Xcode preview sizing is not executed.
iOS allmacOS all
View.previewDevice(_:)
@inlinable nonisolated public func previewDevice(_ value: PreviewDevice?) -> some View
Preview modifier is catalogued and preserves device args structurally; Xcode preview device selection is not executed.
iOS allmacOS all
View.previewDisplayName(_:)
@inlinable nonisolated public func previewDisplayName(_ value: String?) -> some View
Preview modifier is catalogued and preserves display-name args structurally; Xcode preview UI is not modeled.
iOS allmacOS all
View.previewContext(_:)
@inlinable nonisolated public func previewContext<C>(_ value: C) -> some View where C : PreviewContext
Preview modifier is catalogued and preserves context args structurally; PreviewContext runtime is not modeled.
iOS allmacOS all
View.previewInterfaceOrientation(_:)
nonisolated public func previewInterfaceOrientation(_ value: InterfaceOrientation) -> some View
Preview modifier is catalogued and preserves orientation args structurally; Xcode preview orientation is not executed.
iOS iOS 15macOS macOS 12
View
@MainActor @preconcurrency public protocol View
core protocol; struct X: View bodies are the lowering entry point, body parsed into UIIR; full builder/modifier capture
iOS allmacOS all
View.body
@ViewBuilder @MainActor var body: Self.Body { get }
primary requirement; body ViewBuilder lowered into UIIR tree (the central capture target)
iOS allmacOS all
View.Body
associatedtype Body : View
associated type resolved by compiler during lowering of body
iOS allmacOS all
ViewBuilder (as @ViewBuilder on body)
@resultBuilder attribute on View.body
body builder fully lowered: if/else/switch/for-in/ForEach/let-var/availability per coverage.md
iOS allmacOS all