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.

857
Full — dedicated UIIR semantics
784
Partial — generic / structural capture
1095
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

47·51·26
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 (passthrough); web→GroupView, android passthrough. SwiftUICore type; no dedicated layout semantics, structural only.
iOS allmacOS all
Group.init(content:)
@inlinable public init(@ViewBuilder content: () -> Content) where Content : View
Children lowered as group node; transparent container, no own metadata.
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; web treats as pass-through GroupView (proxy dropped); scrollTo not wired.
iOS iOS 14macOS macOS 11
ScrollViewReader.init(content:)
@inlinable public init(@ViewBuilder content: @escaping (ScrollViewProxy) -> Content)
Content closure lowered; ScrollViewProxy param not bound to a runtime.
iOS iOS 14macOS macOS 11
ScrollViewProxy
public struct ScrollViewProxy
not modeled; runtime proxy object, no UIIR kind; survives as closure param name only.
iOS iOS 14macOS macOS 11
ScrollViewProxy.scrollTo(_:anchor:)
public func scrollTo<ID>(_ id: ID, anchor: UnitPoint? = nil) where ID : Hashable
not modeled; imperative scroll API, no action lowering; survives as source text only.
iOS iOS 14macOS macOS 11
Form
public struct Form<Content> : View where Content : View
Catalog view; web renders grouped form; FormStyle not executed. Captured structurally.
iOS allmacOS all
Form.init(content:)
public init(@ViewBuilder content: () -> Content)
Children lowered as form node; section grouping/insets renderer-led.
iOS allmacOS all
Form.init(_:configuration:) (FormStyle)
public init(_ configuration: FormStyleConfiguration)
not modeled; FormStyleConfiguration is a style-protocol config object, styles not executed.
iOS iOS 16macOS macOS 13
Section
public struct Section<Parent, Content, Footer>
Catalog view; web renders Section header/content; many table-row overloads not modeled. Structural capture.
iOS allmacOS all
Section.init(content:header:footer:)
public init(@ViewBuilder content: () -> Content, @ViewBuilder header: () -> Parent, @ViewBuilder footer: () -> Footer)
header/footer/content closures lowered as child nodes; no list-section runtime.
iOS allmacOS all
Section.init(_:content:) (titleKey)
public init(_ titleKey: LocalizedStringKey, @ViewBuilder content: () -> Content) where Parent == Text, Footer == EmptyView
Title string + content captured; renderer synthesizes header Text.
iOS iOS 15macOS macOS 12
Section.init(_:isExpanded:content:)
public init(_ titleKey: LocalizedStringKey, isExpanded: Binding<Bool>, @ViewBuilder content: () -> Content)
Collapsible binding captured as control-binding metadata; expand/collapse behavior renderer-led.
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>
not modeled; Table-section row builder; TableRowBuilder content not lowered, survives as source.
iOS iOS 16macOS macOS 13
LazyVStack
public struct LazyVStack<Content> : View where Content : View
Catalog view; web renders like VStack (no virtualization); android pending (→LazyColumn). SwiftUICore type (not in dump).
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; pinnedViews not honored; no lazy materialization.
iOS iOS 14macOS macOS 11
LazyHStack
public struct LazyHStack<Content> : View where Content : View
Catalog view; web renders like HStack; android pending (→LazyRow). SwiftUICore type (not in dump).
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; pinnedViews ignored; not virtualized.
iOS iOS 14macOS macOS 11
LazyVGrid
public struct LazyVGrid<Content> : View where Content : View
Catalog view; web renders grid; columns [GridItem] captured only as init-arg exprs, not laid out by GridItem sizing.
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 arg exprs; adaptive/flexible GridItem.Size sizing not implemented.
iOS iOS 14macOS macOS 11
LazyHGrid
public struct LazyHGrid<Content> : View where Content : View
Catalog view; web renders; rows [GridItem] arg captured structurally, no real grid sizing.
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 arg exprs; GridItem.Size not resolved.
iOS iOS 14macOS macOS 11
GridItem
public struct GridItem : Sendable
not modeled; not in catalog. Survives as init-arg expression text inside columns/rows; sizing ignored.
iOS iOS 14macOS macOS 11
GridItem.init(_:spacing:alignment:)
public init(_ size: GridItem.Size = .flexible(), spacing: CGFloat? = nil, alignment: Alignment? = nil)
not modeled; constructor call survives as source expr only, no sizing semantics.
iOS iOS 14macOS macOS 11
GridItem.Size
public enum Size : Sendable { case fixed(CGFloat); case flexible(...); case adaptive(...) }
not modeled; enum cases survive as raw enum-case args; no fixed/flexible/adaptive layout.
iOS iOS 14macOS macOS 11
GridItem.size
public var size: GridItem.Size
not modeled; value-type property, survives as source text only.
iOS iOS 14macOS macOS 11
GridItem.spacing
public var spacing: CGFloat?
not modeled; value-type property, survives as source text only.
iOS iOS 14macOS macOS 11
GridItem.alignment
public var alignment: Alignment?
not modeled; value-type property, survives as source text only.
iOS iOS 14macOS macOS 11
Grid
@frozen public struct Grid<Content> where Content : View
Catalog view; web→VStack of rows; alignment/spacing args captured; no real grid alignment engine.
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)
spacing/alignment captured as args; GridRow children rendered as HStacks, no column sizing.
iOS iOS 16macOS macOS 13
GridRow
@frozen public struct GridRow<Content> where Content : View
Catalog view; web→HStack of cells; alignment arg captured; no grid-column alignment.
iOS iOS 16macOS macOS 13
GridRow.init(alignment:content:)
@inlinable public init(alignment: VerticalAlignment? = nil, @ViewBuilder content: () -> Content)
alignment captured; cells lowered as children; rendered as plain HStack.
iOS iOS 16macOS macOS 13
GeometryReader
@frozen public struct GeometryReader<Content> : View where Content : View
Catalog view but no GeometryProxy runtime; web/android both gap (BoxWithConstraints pending). SwiftUICore type (not in dump).
iOS allmacOS all
GeometryReader.init(content:)
@inlinable public init(@ViewBuilder content: @escaping (GeometryProxy) -> Content)
Content closure lowered; GeometryProxy param not bound to measured geometry; no size feedback.
iOS allmacOS all
ViewThatFits
@frozen public struct ViewThatFits<Content> : View where Content : View
Catalog view; web renders first (preferred) candidate child only; no real fit measurement; android low-priority gap.
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 picks first, ignores axes-based fit logic.
iOS iOS 16macOS macOS 13
ControlGroup
public struct ControlGroup<Content> : View where Content : View
Catalog view; web→HStack of controls; ControlGroupStyle not executed. watchOS unavailable.
iOS iOS 15macOS macOS 12
ControlGroup.init(content:)
public init(@ViewBuilder content: () -> Content)
Children lowered; rendered as horizontal control row.
iOS iOS 15macOS macOS 12
ControlGroup.init(content:label:)
public init<C, L>(@ViewBuilder content: () -> C, @ViewBuilder label: () -> L) where Content == LabeledControlGroupContent<C, L>
LabeledControlGroupContent in catalog as stub; label+content lowered; structural only.
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 structurally; no label runtime.
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; synthesized label not rendered specially.
iOS iOS 16macOS macOS 13
ControlGroup.init(_:configuration:) (style)
public init(_ configuration: ControlGroupStyleConfiguration)
not modeled; style-protocol config object; styles not executed as protocols.
iOS iOS 15macOS macOS 12
LabeledContent
public struct LabeledContent<Label, Content>
Catalog view; web synthesizes HStack{Text(label); Spacer; Text(value)}; android cheap gap. Structural.
iOS iOS 16macOS macOS 13
LabeledContent.init(content:label:)
public init(@ViewBuilder content: () -> Content, @ViewBuilder label: () -> Label)
label+content closures lowered; rendered as labeled row.
iOS iOS 16macOS macOS 13
LabeledContent.init(_:content:) (titleKey)
public init(_ titleKey: LocalizedStringKey, @ViewBuilder content: () -> Content) where Label == Text
Title string + content captured; label Text synthesized at render.
iOS iOS 16macOS macOS 13
LabeledContent.init(_:value:) (StringProtocol)
public init<S>(_ titleKey: LocalizedStringKey, value: S) where Content == Text, S : StringProtocol
Title+value strings captured as args; renders label/value Texts.
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)
not modeled; style-protocol config object; styles not executed.
iOS iOS 16macOS macOS 13
GroupBox
public struct GroupBox<Label, Content> : View where Label : View, Content : View
Catalog view; web synthesizes titled boxed VStack (bg #7676801f, r10). GroupBoxStyle not executed. tvOS/watchOS unavailable.
iOS iOS 14macOS macOS 10.15
GroupBox.init(content:label:)
public init(@ViewBuilder content: () -> Content, @ViewBuilder label: () -> Label)
label+content lowered; rendered as titled box.
iOS iOS 14macOS macOS 10.15
GroupBox.init(_:content:) (Label==Text)
public init(_ titleKey: LocalizedStringKey, @ViewBuilder content: () -> Content) where Label == Text
Title string + content captured; bold title synthesized at render.
iOS iOS 15macOS macOS 12
GroupBox.init(content:) (Label==EmptyView)
public init(@ViewBuilder content: () -> Content) where Label == EmptyView
Content-only form; rendered as untitled box.
iOS iOS 14macOS macOS 10.15
GroupBox.init(_:configuration:) (style)
public init(_ configuration: GroupBoxStyleConfiguration) where Label == ..., Content == ...
not modeled; style-protocol config object; styles not executed.
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 modeled; minLength arg captured but renderer uses flex-expand, minLength not strictly enforced.
iOS allmacOS all
Spacer.minLength
public var minLength: CGFloat?
Property captured as arg; not enforced as a minimum in the flex layout.
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
not modeled; custom-layout protocol not in catalog. coverage: full layout algorithms do not exist. Survives as conformance text only. SwiftUICore.
iOS iOS 16macOS macOS 13
Layout.sizeThatFits(proposal:subviews:cache:)
func sizeThatFits(proposal: ProposedViewSize, subviews: Self.Subviews, cache: inout Self.Cache) -> CGSize
not modeled; protocol requirement executed as a method, never invoked by a layout engine. Source text only.
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)
not modeled; placement requirement never invoked; no UIIR for custom placement. Source text only.
iOS iOS 16macOS macOS 13
Layout.makeCache(subviews:)
func makeCache(subviews: Self.Subviews) -> Self.Cache
not modeled; layout cache requirement, no runtime; survives as source text only.
iOS iOS 16macOS macOS 13
Layout.callAsFunction(_:)
public func callAsFunction<V>(@ViewBuilder _ content: () -> V) -> some View where V : View
not modeled; custom-layout invocation sugar; content closure not attached to a layout node.
iOS iOS 16macOS macOS 13
ProposedViewSize
@frozen public struct ProposedViewSize : Equatable, Sendable
not modeled; not in catalog; value-type used only inside Layout protocol sigs. Source text only. SwiftUICore.
iOS iOS 16macOS macOS 13
ProposedViewSize.init(_:)
@inlinable public init(_ size: CGSize)
not modeled; constructor survives as source expr only.
iOS iOS 16macOS macOS 13
ProposedViewSize.zero/unspecified/infinity
public static let zero / unspecified / infinity : ProposedViewSize
not modeled; static value constants survive as source text only.
iOS iOS 16macOS macOS 13
ProposedViewSize.replacingUnspecifiedDimensions(by:)
public func replacingUnspecifiedDimensions(by size: CGSize = ...) -> CGSize
not modeled; value-type method, no runtime; source text only.
iOS iOS 16macOS macOS 13
ViewDimensions
public struct ViewDimensions : Equatable
not modeled; not in catalog; alignment-guide dimensions value type. Source text only. SwiftUICore.
iOS iOS 13macOS macOS 10.15
ViewDimensions.width / height
public var width: CGFloat { get } / public var height: CGFloat { get }
not modeled; value-type properties used in alignmentGuide closures; survive as source only.
iOS iOS 13macOS macOS 10.15
ViewDimensions[_:] (HorizontalAlignment)
public subscript(guide: HorizontalAlignment) -> CGFloat { get }
not modeled; alignment-guide subscript; no UIIR; source text only.
iOS iOS 13macOS macOS 10.15
ViewDimensions[explicit:]
public subscript(explicit guide: VerticalAlignment) -> CGFloat? { get }
not modeled; explicit alignment subscript; source text only.
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 (swiftui_stubs.h:65); MapKit view, not in SwiftUI dumps. Captured structurally as generic container, no dedicated Map-specific UIIR semantics in lower/*.c.
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 (swiftui_stubs.h:108); macOS-only. ViewBuilder content captured; split layout not modeled in UIIR, rendered as generic container node.
iOSmacOS macOS 10.15
HSplitView.init(content:)
public init(@ViewBuilder content: () -> Content)
ViewBuilder closure lowered as child nodes; split pane layout and divider behavior not modeled.
iOSmacOS macOS 10.15
VSplitView
public struct VSplitView<Content> : View where Content : View
Catalogued container (swiftui_stubs.h:141); macOS-only. ViewBuilder content captured; split layout not modeled in UIIR, rendered as generic container node.
iOSmacOS macOS 10.15
VSplitView.init(content:)
public init(@ViewBuilder content: () -> Content)
ViewBuilder closure lowered as child nodes; split pane layout and divider behavior not modeled.
iOSmacOS macOS 10.15

2. Text / Image / Label views

77·42·20
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 arg survives structurally; no resource resolution at lowering.
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 captured generically; no date formatting at lowering.
iOS allmacOS all
Text.init(_:)
public init(_ dates: ClosedRange<Date>)
Date-range Text arg survives as expr; not formatted.
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 Text args carried generically; no live timer at lowering.
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)
Image-in-Text captured; inline-image text composition not modeled distinctly.
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
Value type; not modeled; survives as source text only.
iOS allmacOS all
Text.LineStyle
@frozen public struct LineStyle : Equatable, Sendable
Value type; not modeled; survives as source text only.
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 name now decomposes into imageValue, but the Text label/a11y composition is still carried structurally rather than as dedicated Image 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 survives as expr; no resource catalog resolution.
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
Nested enum; not modeled; survives as source text only.
iOS allmacOS all
Image.TemplateRenderingMode
public enum TemplateRenderingMode : Sendable
Nested enum; not modeled; survives as source text only.
iOS allmacOS all
Image.Interpolation
public enum Interpolation : Sendable
Nested enum; not modeled; survives as source text only.
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
Nested enum; not modeled; survives as source text only.
iOS allmacOS all
Image.DynamicRange
public enum DynamicRange : Hashable, Sendable
Nested enum; not modeled; survives as source text only.
iOS iOS 17macOS macOS 14
Image: Transferable
extension Image : Transferable
Transferable conformance; not modeled; no transfer pipeline.
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)
ImageResource overload captured; resource not resolved at lowering.
iOS iOS 17macOS macOS 14
Label.init(_:) (configuration)
nonisolated public init(_ configuration: LabelStyleConfiguration)
Style-config init; LabelStyleConfiguration not executed; survives as source text.
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
Style protocol; captured only as a styleref, not executed as a protocol.
iOS iOS 14macOS macOS 11
LabelStyleConfiguration
public struct LabelStyleConfiguration
Style config object; not modeled; survives as source text only.
iOS iOS 14macOS macOS 11
DefaultLabelStyle
public struct DefaultLabelStyle : LabelStyle
Concrete style; not executed; survives as styleref/source text.
iOS iOS 14macOS macOS 11
IconOnlyLabelStyle
public struct IconOnlyLabelStyle : LabelStyle
Concrete style; not executed; survives as styleref/source text.
iOS iOS 14macOS macOS 11
TitleOnlyLabelStyle
public struct TitleOnlyLabelStyle : LabelStyle
Concrete style; not executed; survives as styleref/source text.
iOS iOS 14macOS macOS 11
TitleAndIconLabelStyle
public struct TitleAndIconLabelStyle : LabelStyle
Concrete style; not executed; survives as styleref/source text.
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.
iOS iOS 14macOS macOS 11
Link.init(_:destination:) (LocalizedStringKey)
nonisolated public init(_ titleKey: LocalizedStringKey, destination: URL)
Title key + destination captured; Label==Text variant.
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.
iOS iOS 14macOS macOS 11
Link.init(_:destination:) (LocalizedStringResource)
nonisolated public init(_ titleResource: LocalizedStringResource, destination: URL)
Resource title overload captured; resource not resolved at lowering.
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-item overload; label child lowers, item/preview captured generically.
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 lowers, items captured generically.
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 share variant; title captured, share/preview not driven.
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 variant; item captured generically, no share sheet.
iOS iOS 16macOS macOS 13
SharePreview
public struct SharePreview<Image, Icon> where Image : Transferable, Icon : Transferable
Value type used only by ShareLink; not modeled; survives as source text.
iOS iOS 16macOS macOS 13
SharePreview.init(_:image:icon:)
public init(_ titleKey: LocalizedStringKey, image: Image, icon: Icon)
Preview-config init; not modeled; survives as source text in ShareLink arg.
iOS iOS 16macOS macOS 13
SharePreview.init(_:icon:)
public init(_ titleKey: LocalizedStringKey, icon: Icon)
Image==Never variant; not modeled; survives as source text only.
iOS iOS 16macOS macOS 13
SharePreview.init(_:image:)
public init(_ titleKey: LocalizedStringKey, image: Image)
Icon==Never variant; not modeled; survives as source text only.
iOS iOS 16macOS macOS 13
SharePreview.init(_:)
public init(_ titleKey: LocalizedStringKey)
Title-only variant; not modeled; survives as source text only.
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 arg decomposes to UISemantic.dynamic_type_size (uiir.h:649, chain.c:722) and JSON payload.size string (json_modifier.c:869).
iOS iOS 15macOS macOS 12
View.privacySensitive(_:)
nonisolated public func privacySensitive(_ sensitive: Bool = true) -> some View
Dedicated UI_SEMANTIC_PRIVACY_SENSITIVE; sensitive bool lowered (rides redacted).
iOS iOS 15macOS macOS 12
View.redacted(reason:)
nonisolated public func redacted(reason: RedactionReasons) -> some View
Dedicated semantic metadata kind (redacted); reason carried.
iOS iOS 14macOS macOS 11
View.unredacted()
nonisolated public func unredacted() -> some View
Dedicated UI_SEMANTIC_UNREDACTED; zero-arg flag; clears redaction.
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. No ViewBuilder; button-like, action-carrying view. Captured structurally; Help action/URL/anchor not driven at lowering.
iOSmacOS macOS 14.0
HelpLink.init(action:)
public init(action: @escaping () -> Void)
Action closure captured as generic callback; standard help button appearance not specially rendered.
iOSmacOS macOS 14.0
HelpLink.init(destination:)
public init(destination: URL)
Destination URL captured as arg; openURL environment value respected, but Help-specific appearance not modeled.
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

83·53·38
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; action lowered
iOS iOS 14macOS macOS 11
Button.init(_:image:action:)
public init(_ titleKey: LocalizedStringKey, image: ImageResource, action: @escaping @MainActor () -> Void)
captured as Button; ImageResource label arg not specially modeled
iOS iOS 17macOS macOS 14
Button.init(_:action:) [resource]
public init(_ titleResource: LocalizedStringResource, action: @escaping @MainActor () -> Void)
captured; LocalizedStringResource not resolved, label text approximate
iOS iOS 16macOS macOS 13
Button.init(role:action:label:)
public init(role: ButtonRole?, action: @escaping @MainActor () -> Void, @ViewBuilder label: () -> Label)
Button+action captured; role enum arg survives as text, web reads .destructive for context-menu red only
iOS iOS 15macOS macOS 12
Button.init(_:role:action:)
public init(_ titleKey: LocalizedStringKey, role: ButtonRole?, action: @escaping @MainActor () -> Void)
title+action lowered; role mostly unmodeled
iOS iOS 15macOS macOS 12
Button.init(role:action:) [default label]
public init(role: ButtonRole, action: @escaping @MainActor () -> Void)
captured; DefaultButtonLabel synthesis and role not modeled
iOS iOS 26macOS macOS 26
Button.init(_:) [config]
public init(_ configuration: PrimitiveButtonStyleConfiguration)
style-config init; PrimitiveButtonStyleConfiguration not modeled; not modeled; survives as source text only
iOS allmacOS all
ButtonRole
public struct ButtonRole : Equatable, Sendable
value type; .destructive read heuristically by web context-menu only; otherwise not modeled, survives as source text
iOS iOS 15macOS macOS 12
ButtonRole.destructive / .cancel / .confirm
public static let destructive: ButtonRole
enum-like cases not modeled as typed values; survive as source text only
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
buttonStyle is a dedicated semantic mod; web honors .bordered/.borderedProminent, others collapse to default
iOS allmacOS all
View.buttonStyle(_:) [ButtonStyle]
public func buttonStyle<S>(_ style: S) -> some View where S : ButtonStyle
captured as semantic buttonStyle mod; concrete style protocol not executed
iOS allmacOS all
View.buttonBorderShape(_:)
public func buttonBorderShape(_ shape: ButtonBorderShape) -> some View
Dedicated UI_SEMANTIC_BUTTON_BORDER_SHAPE; chain.c:497 maps the modifier and chain.c:1946 decomposes static/factory shape tokens into UISemantic.button_border_shape (uiir.h:924), with JSON literal payload.shape (json_modifier.c:1608). Renderer behavior remains separate.
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
style protocol; not executed as a protocol; not modeled; survives as source text only
iOS allmacOS all
PrimitiveButtonStyle (protocol)
public protocol PrimitiveButtonStyle
style protocol; not executed; not modeled; survives as source text only
iOS allmacOS all
BorderedButtonStyle
public struct BorderedButtonStyle : PrimitiveButtonStyle
.bordered value recognized by web buttonStyle path (pill bg); struct itself not modeled
iOS allmacOS all
BorderedProminentButtonStyle
public struct BorderedProminentButtonStyle : PrimitiveButtonStyle
.borderedProminent honored by web (accent bg, white text); struct not modeled
iOS allmacOS all
BorderlessButtonStyle
public struct BorderlessButtonStyle : PrimitiveButtonStyle
.borderless collapses to plain text in web; style struct not modeled
iOS allmacOS all
PlainButtonStyle
public struct PlainButtonStyle : PrimitiveButtonStyle
.plain collapses to plain text; style struct not modeled
iOS allmacOS all
DefaultButtonStyle
public struct DefaultButtonStyle : PrimitiveButtonStyle
.automatic/default look; style struct not modeled, default render path
iOS allmacOS all
GlassButtonStyle / GlassProminentButtonStyle
public struct GlassButtonStyle : PrimitiveButtonStyle
Liquid Glass style struct; not modeled; survives as source text only
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
iOS iOS 17macOS macOS 14
Toggle.init(_:image:isOn:)
public init(_ titleKey: LocalizedStringKey, image: ImageResource, isOn: Binding<Bool>)
binding captured; ImageResource label not specially modeled
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)
style-config init; ToggleStyleConfiguration not modeled; survives as source text only
iOS allmacOS all
View.toggleStyle(_:)
public func toggleStyle<S>(_ style: S) -> some View where S : ToggleStyle
Dedicated UI_SEMANTIC_TOGGLE_STYLE; style arg lowered (buttonStyle recipe).
iOS allmacOS all
ToggleStyle (protocol)
public protocol ToggleStyle
style protocol; not executed; survives as source text only
iOS allmacOS all
SwitchToggleStyle
public struct SwitchToggleStyle : ToggleStyle
.switch style struct; not modeled; renders as default toggle; survives as source text
iOS allmacOS all
ButtonToggleStyle
public struct ButtonToggleStyle : ToggleStyle
.button style struct; not modeled; survives as source text only
iOS iOS 15macOS macOS 12
DefaultToggleStyle
public struct DefaultToggleStyle : ToggleStyle
style struct; not modeled; default render path
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
tick content value; not modeled; survives as source text only
iOS iOS 26macOS macOS 26
SliderTickContent (protocol)
public protocol SliderTickContent<Value>
tick content protocol; not modeled; survives as source text only
iOS iOS 26macOS macOS 26
SliderTickBuilder
@resultBuilder public struct SliderTickBuilder<V> where V : BinaryFloatingPoint
result builder for ticks; not modeled; survives as source text only
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 captured; axis (multiline-vertical) arg not modeled
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 binding captured; selection binding + axis not modeled
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 lowered (buttonStyle recipe).
iOS allmacOS all
TextFieldStyle (protocol)
public protocol TextFieldStyle
style protocol; not executed; survives as source text only
iOS allmacOS all
RoundedBorderTextFieldStyle
public struct RoundedBorderTextFieldStyle : TextFieldStyle
.roundedBorder style struct; not modeled; survives as source text only
iOS allmacOS all
PlainTextFieldStyle / DefaultTextFieldStyle
public struct PlainTextFieldStyle : TextFieldStyle
style struct; not modeled; survives as source text only
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
.done/.go/.send/.search etc value; not modeled; survives as source text only
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 binding captured; selection binding not modeled
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
style protocol; not executed; survives as source text only
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
style protocol; not executed; survives as source text only
iOS allmacOS all
SegmentedPickerStyle
public struct SegmentedPickerStyle : PickerStyle
.segmented style struct; not modeled; survives as source text only
iOS allmacOS all
WheelPickerStyle
public struct WheelPickerStyle : PickerStyle
.wheel style struct; not modeled; survives as source text only
iOS iOS 13macOS
MenuPickerStyle
public struct MenuPickerStyle : PickerStyle
.menu style struct; not modeled; survives as source text only
iOS iOS 14macOS macOS 11
InlinePickerStyle / PalettePickerStyle / NavigationLinkPickerStyle / DefaultPickerStyle
public struct InlinePickerStyle : PickerStyle
picker style structs; not modeled; survive as source text only
iOS iOS 14macOS macOS 11
RadioGroupPickerStyle
public struct RadioGroupPickerStyle : PickerStyle
macOS-only .radioGroup style struct; not modeled; survives as source text only
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, 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; displayedComponents OptionSet not modeled
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
iOS allmacOS all
DatePicker.init(_:selection:in:displayedComponents:)
public init(_ titleKey: LocalizedStringKey, selection: Binding<Date>, in range: ClosedRange<Date>, displayedComponents: ...)
date binding captured; in: ClosedRange<Date> bounds not modeled
iOS allmacOS all
DatePicker.init(_:selection:in:...) [PartialRange]
public init(_ titleKey: LocalizedStringKey, selection: Binding<Date>, in range: PartialRangeFrom<Date>, displayedComponents: ...)
date binding captured; partial-range bounds not modeled
iOS allmacOS all
DatePickerComponents
public struct DatePickerComponents : OptionSet, Sendable
.date/.hourAndMinute OptionSet; not modeled; survives as source text only
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
style protocol; not executed; survives as source text only
iOS allmacOS all
CompactDatePickerStyle / GraphicalDatePickerStyle / WheelDatePickerStyle / DefaultDatePickerStyle
public struct CompactDatePickerStyle : DatePickerStyle
date picker style structs; not modeled; survive as source text only
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 ColorPicker
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; supportsOpacity flag not modeled
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
iOS iOS 14macOS macOS 11
ColorPicker.init(selection:supportsOpacity:label:) [CGColor]
public init(selection: Binding<CGColor>, supportsOpacity: Bool = true, @ViewBuilder label: () -> Label)
captured; CGColor binding variant not specially modeled
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 draws value 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 lowered (buttonStyle recipe).
iOS iOS 14macOS macOS 11
ProgressViewStyle (protocol)
public protocol ProgressViewStyle
style protocol; not executed; survives as source text only
iOS iOS 14macOS macOS 11
LinearProgressViewStyle / CircularProgressViewStyle / DefaultProgressViewStyle
public struct LinearProgressViewStyle : ProgressViewStyle
.linear/.circular style structs; not modeled; survive as source text only
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 draws value 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
style protocol; not executed; survives as source text only
iOS iOS 16macOS macOS 13
AccessoryCircularGaugeStyle / AccessoryLinearGaugeStyle / LinearCapacityGaugeStyle / DefaultGaugeStyle
public struct AccessoryCircularGaugeStyle : GaugeStyle
gauge style structs; not modeled; survive as source text only
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)
style-config init; MenuStyleConfiguration not modeled; survives as source text only
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
style protocol; not executed; survives as source text only
iOS iOS 14macOS macOS 11
ButtonMenuStyle / BorderlessButtonMenuStyle / DefaultMenuStyle
public struct ButtonMenuStyle : MenuStyle
menu style structs; not modeled; survive as source text only
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; in catalog as stub view; web reuses ButtonView/GroupView; no real semantics
iOSmacOS macOS 10.15
MenuButtonStyle (protocol, macOS)
public protocol MenuButtonStyle
macOS-only deprecated style protocol; not executed; survives as source text only
iOSmacOS macOS 10.15
PullDownMenuButtonStyle (macOS)
public struct PullDownMenuButtonStyle : MenuButtonStyle
macOS-only deprecated style struct; not modeled; survives as source text only
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
in catalog as stub view; web renders -> ButtonView 'Rename'; pairs with .renameAction, no rename runtime
iOS iOS 16macOS macOS 13
RenameButton.init()
public init() where Label == Label<Text, Image>
captured as RenameButton view node; default label synthesized by web
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; chain.c:1946 decomposes the enum/member token into UISemantic.control_size (uiir.h:919) and JSON emits literal payload.size (json_modifier.c:1572). Renderer behavior remains separate.
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
absent from both SwiftUI dumps (AuthenticationServices framework); not modeled; survives as source text only
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

38·42·15
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-driven List == ForEach; ForEach lowering captures it; web resolves data arg, compose eager Column not LazyColumn.
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 lowered as ForEach identity; structural capture, renderer iterates.
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 captured as control-binding metadata; no multi-select edit/selection runtime in renderers.
iOS allmacOS all
List.init(_:selection:rowContent:) [single]
init<Data, RowContent>(_ data: Data, selection: Binding<SelectionValue?>?, @ViewBuilder rowContent: @escaping (Data.Element) -> RowContent)
single-row selection Binding captured structurally; selection behavior is renderer/runtime, not implemented.
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, ...>
constant-range List == ForEach over range; web resolves range bounds per-pass; structural.
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; isExpanded Binding captured as control binding; expand/collapse runtime renderer-led.
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 + control-binding view; isExpanded binding captured; web reuses Group (Menu/Disclosure/Outline->Group), compose pending.
iOS iOS 14macOS all
DisclosureGroup.init(content:label:)
init(@ViewBuilder content: @escaping () -> Content, @ViewBuilder label: () -> Label)
content+label slots lowered as children; collapse/expand state not driven, renders as group.
iOS iOS 14macOS all
DisclosureGroup.init(isExpanded:content:label:)
init(isExpanded: Binding<Bool>, @ViewBuilder content: @escaping () -> Content, @ViewBuilder label: () -> Label)
isExpanded Binding lowered as typed control binding; toggling runtime is renderer-led.
iOS iOS 14macOS all
DisclosureGroup.init(_:content:)
init(_ titleKey: LocalizedStringKey, @ViewBuilder content: @escaping () -> Content) where Label == Text
string-title form; label becomes Text; structural capture only.
iOS iOS 14macOS all
DisclosureGroup.init(_:isExpanded:content:)
init(_ titleKey: LocalizedStringKey, isExpanded: Binding<Bool>, @ViewBuilder content: @escaping () -> Content)
title+binding form; binding captured, expand behavior not implemented.
iOS iOS 14macOS all
OutlineGroup
public struct OutlineGroup<Data, ID, Parent, Leaf, Subgroup> where Data : RandomAccessCollection, ID : Hashable
Catalog view (UINodeKind) but only structural; recursive children: tree not expanded; web reuses Group, compose pending (niche).
iOS iOS 14macOS all
OutlineGroup.init(_:children:content:)
init<DataElement>(_ root: DataElement, children: KeyPath<DataElement, Data?>, @ViewBuilder content: @escaping (DataElement) -> Leaf)
children keypath captured structurally; recursive disclosure tree not materialized by renderers.
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 keypaths captured; tree recursion is runtime, not lowered.
iOS iOS 14macOS all
OutlineGroup.init(_:children:) [TableRow]
init<DataElement>(_ data: Data, children: KeyPath<DataElement, Data?>) where Parent == TableRow<DataElement>
OutlineGroup producing TableRow content for Table; TableRow not in catalog; not modeled, source text 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 header-row preview (bold column titles + divider) only, no data-bound rows; compose missing.
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-driven Table; data arg + columns builder; only header titles rendered, no data binding into rows.
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 keypath text column; keypath captured structurally; not resolved against row data.
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
Dynamic columns; NOT in catalog (no UINodeKind); not modeled, survives as source text 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
not modeled; survives as source text only.
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)
not modeled; survives as source text only.
iOS iOS 17.4macOS macOS 14.4
TableRow
public struct TableRow<Value> : TableRowContent where Value : Identifiable
TableRow not in catalog (only TableRowContent stub); the concrete row view not modeled; source text only.
iOS iOS 16macOS macOS 12
TableRow.init(_:)
public init(_ value: Value)
not modeled; survives as source text only.
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
not modeled; survives as source text only.
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
not modeled; survives as source text only.
iOS iOS 18macOS macOS 15
TableColumnBuilder
@resultBuilder public struct TableColumnBuilder<RowValue, Sort>
result builder for Table columns; not lowered as a builder; survives as source text only.
iOS iOS 16macOS macOS 12
TableRowBuilder
@resultBuilder public struct TableRowBuilder<Value>
result builder for Table rows; not lowered; survives as source text only.
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 }
environment edit-mode enum; no environment resolver runtime; not modeled.
iOS iOS 13macOS
EditActions
public struct EditActions<Data> : OptionSet, Sendable
OptionSet of .delete/.move; passed to ForEach/List editActions; value type not modeled, source text only.
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:) }
Style protocol not executed; makeBody never run; not modeled beyond modifier name capture.
iOS iOS 16macOS macOS 12
DisclosureGroupStyle
@MainActor public protocol DisclosureGroupStyle { func makeBody(configuration:) }
Style protocol not executed; makeBody never run; not modeled beyond modifier name capture.
iOS iOS 16macOS macOS 13
DisclosureGroupStyleConfiguration
public struct DisclosureGroupStyleConfiguration
style configuration object; not modeled; source text only.
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

41·23·38
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; NavigationSplitViewVisibility value/runtime not modeled as enum semantics.
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; NavigationSplitViewColumn semantics not modeled.
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
bindings captured structurally; visibility/column value semantics not modeled.
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-based link; label captured, value routing to navigationDestination is runtime, not modeled.
iOS iOS 16macOS macOS 13
NavigationLink.init(_:value:)
public init<P>(_ titleKey: LocalizedStringKey, value: P?) where Label == Text, P : Hashable
Text label captured; value-route dispatch not modeled.
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-titled value link; label captured, routing runtime only.
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 }
value-type member; not modeled, survives as source text only.
iOS iOS 16macOS macOS 13
NavigationPath.isEmpty
public var isEmpty: Bool { get }
value-type member; not modeled, source text only.
iOS iOS 16macOS macOS 13
NavigationPath.codable
public var codable: NavigationPath.CodableRepresentation? { get }
value-type member; not modeled, source text only.
iOS iOS 16macOS macOS 13
NavigationPath.init()
public init()
value-type ctor; not modeled, source text only.
iOS iOS 16macOS macOS 13
NavigationPath.init(_:)
public init<S>(_ elements: S) where S : Sequence, S.Element : Hashable
value-type ctor; not modeled, source text only.
iOS iOS 16macOS macOS 13
NavigationPath.append(_:)
public mutating func append<V>(_ value: V) where V : Hashable
mutating method; no path runtime, source text only.
iOS iOS 16macOS macOS 13
NavigationPath.removeLast(_:)
public mutating func removeLast(_ k: Int = 1)
mutating method; no path runtime, source text only.
iOS iOS 16macOS macOS 13
NavigationPath.CodableRepresentation
public struct CodableRepresentation : Codable
nested Codable type; not modeled, source text only.
iOS iOS 16macOS macOS 13
NavigationSplitViewVisibility
public struct NavigationSplitViewVisibility : Equatable, Codable, Sendable
Listed in coverage Navigation value/runtime APIs; captured structurally, not in view catalog. Enum-value semantics not executed.
iOS iOS 16macOS macOS 13
NavigationSplitViewVisibility.automatic
public static var automatic: NavigationSplitViewVisibility { get }
static value member; not modeled, source text only.
iOS iOS 16macOS macOS 13
NavigationSplitViewVisibility.all
public static var all: NavigationSplitViewVisibility { get }
static value member; not modeled, source text only.
iOS iOS 16macOS macOS 13
NavigationSplitViewVisibility.doubleColumn
public static var doubleColumn: NavigationSplitViewVisibility { get }
static value member; not modeled, source text only.
iOS iOS 16macOS macOS 13
NavigationSplitViewVisibility.detailOnly
public static var detailOnly: NavigationSplitViewVisibility { get }
static value member; not modeled, source text only.
iOS iOS 16macOS macOS 13
NavigationSplitViewColumn
public struct NavigationSplitViewColumn : Hashable, Sendable
Listed in coverage Navigation value/runtime APIs; captured structurally, not in view catalog. Column semantics not executed.
iOS iOS 17macOS macOS 14
NavigationSplitViewColumn.sidebar
public static var sidebar: NavigationSplitViewColumn { get }
static value member; not modeled, source text only.
iOS iOS 17macOS macOS 14
NavigationSplitViewColumn.content
public static var content: NavigationSplitViewColumn { get }
static value member; not modeled, source text only.
iOS iOS 17macOS macOS 14
NavigationSplitViewColumn.detail
public static var detail: NavigationSplitViewColumn { get }
static value member; not modeled, source text only.
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
enum-case arg captured by navigationBarTitleDisplayMode metadata.
iOS iOS 13macOS
NavigationBarItem.TitleDisplayMode.inline
case inline
enum-case arg captured by navigationBarTitleDisplayMode metadata.
iOS iOS 13macOS
NavigationBarItem.TitleDisplayMode.large
case large
enum-case arg captured by navigationBarTitleDisplayMode metadata.
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>
TabContent value type; not in view catalog, not in coverage. Survives as source text only.
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
not modeled; survives as source text only.
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
not modeled; survives as source text only.
iOS iOS 18macOS macOS 15
Tab.init(value:role:content:label:)
public init(value: Value, role: TabRole?, @ViewBuilder content: () -> Content, @ViewBuilder label: () -> Label)
not modeled; survives as source text only.
iOS iOS 18macOS macOS 15
Tab.init(content:) (Never value)
public init(@ViewBuilder content: () -> Content) where Value == Never, Label == EmptyView
not modeled; survives as source text only.
iOS iOS 18macOS macOS 15
Tab.body
@MainActor public var body: Tab<Value, Content, Label> { get }
TabContent body; not modeled, source text only.
iOS iOS 18macOS macOS 15
TabRole
public struct TabRole : Hashable, Sendable
value type; not catalogued, not in coverage. Survives as source/arg text only.
iOS iOS 18macOS macOS 15
TabRole.search
public static var search: TabRole { get }
static value member; not modeled, source text only.
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 lowered (buttonStyle recipe).
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
style protocol; not in view catalog, not executed as protocol. Only the style modifier is captured.
iOS iOS 14macOS macOS 11
PageTabViewStyle
public struct PageTabViewStyle : TabViewStyle
concrete style; macOS-unavailable. Not modeled, survives as source/arg text only.
iOS iOS 14macOS
DefaultTabViewStyle
public struct DefaultTabViewStyle : TabViewStyle
concrete style; not modeled, source/arg text only.
iOS iOS 14macOS macOS 11
SidebarAdaptableTabViewStyle
public struct SidebarAdaptableTabViewStyle : TabViewStyle
concrete style; not modeled, source/arg text only.
iOS iOS 18macOS macOS 15
NavigationSplitViewStyle
@MainActor public protocol NavigationSplitViewStyle
style protocol; not catalogued, not executed. Only navigationSplitViewStyle modifier captures the arg.
iOS iOS 16macOS macOS 13
NavigationSplitViewStyle.balanced
@MainActor public static var balanced: BalancedNavigationSplitViewStyle { get }
concrete style accessor; not modeled, source/arg text only.
iOS iOS 16macOS macOS 13
NavigationSplitViewStyle.prominentDetail
@MainActor public static var prominentDetail: ProminentDetailNavigationSplitViewStyle { get }
concrete style accessor; not modeled, source/arg text only.
iOS iOS 16macOS macOS 13
NavigationViewStyle
public protocol NavigationViewStyle
deprecated style protocol; not catalogued, not executed. Only the modifier captures arg.
iOS all (dep)macOS all (dep)
ToolbarRole
public struct ToolbarRole : Sendable
value type not catalogued as its own UIIR model; toolbarRole(_:) now captures role tokens as dedicated navigation payload.
iOS iOS 16macOS macOS 13
ToolbarRole.automatic
public static var automatic: ToolbarRole { get }
static value member not catalogued; preserved as token payload when used in typed toolbarRole(_:).
iOS iOS 16macOS macOS 13
ToolbarRole.navigationStack
public static var navigationStack: ToolbarRole { get }
static value member not catalogued; macOS-unavailable; preserved as token payload when used in typed toolbarRole(_:).
iOS iOS 16macOS
ToolbarRole.browser
public static var browser: ToolbarRole { get }
static value member not catalogued; preserved as token payload when used in typed toolbarRole(_:).
iOS iOS 16macOS
ToolbarRole.editor
public static var editor: ToolbarRole { get }
static value member not catalogued; preserved as token payload when used in typed toolbarRole(_:).
iOS iOS 16macOS macOS 13
TabContent
@MainActor public protocol TabContent<TabValue>
tab content protocol; not catalogued, not executed. Source text only.
iOS iOS 18macOS macOS 15
TabContentBuilder
@resultBuilder public struct TabContentBuilder<TabValue> where TabValue : Hashable
result builder for Tab; not modeled as a builder. Source text only.
iOS iOS 18macOS macOS 15

6. Presentation / modals / toolbar

55·18·83
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
not modeled; survives as source text only. Value type, no UIIR kind.
iOS iOS 13 depmacOS macOS 10.15 dep
Alert.init(title:message:dismissButton:)
public init(title: Text, message: Text? = nil, dismissButton: Alert.Button? = nil)
not modeled; survives as source text only.
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)
not modeled; survives as source text only.
iOS iOS 13 depmacOS macOS 10.15 dep
Alert.Button.default(_:action:)
public static func `default`(_ label: Text, action: (() -> Void)? = {}) -> Alert.Button
not modeled; survives as source text only.
iOS iOS 13 depmacOS macOS 10.15 dep
Alert.Button.cancel(_:action:)
public static func cancel(_ label: Text, action: (() -> Void)? = {}) -> Alert.Button
not modeled; survives as source text only.
iOS iOS 13 depmacOS macOS 10.15 dep
Alert.Button.destructive(_:action:)
public static func destructive(_ label: Text, action: (() -> Void)? = {}) -> Alert.Button
not modeled; survives as source text only.
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
not modeled; survives as source text only. iOS-only deprecated value type.
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
not modeled; survives as source text only. Type present in both dumps.
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
not modeled; survives as source text only. Not in view catalog; no UINodeKind.
iOS iOS 14macOS macOS 11
ToolbarItem.init(placement:content:)
nonisolated public init(placement: ToolbarItemPlacement = .automatic, @ViewBuilder content: () -> Content)
not modeled; survives as source text only. Toolbar content nodes not lowered individually.
iOS iOS 14macOS macOS 11
ToolbarItem.init(id:placement:content:)
nonisolated public init(id: String, placement: ToolbarItemPlacement = .automatic, @ViewBuilder content: () -> Content)
not modeled; survives as source text only. Customizable toolbar item not a UIIR node.
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)
not modeled; survives as source text only. Deprecated; use defaultCustomization.
iOS iOS 14 depmacOS macOS 11 dep
ToolbarItem.id (Identifiable)
public var id: ID { get }
not modeled; survives as source text only.
iOS iOS 14macOS macOS 11
ToolbarItemGroup
public struct ToolbarItemGroup<Content> : ToolbarContent where Content : View
not modeled; survives as source text only. No view/UINodeKind entry.
iOS iOS 14macOS macOS 11
ToolbarItemGroup.init(placement:content:)
public init(placement: ToolbarItemPlacement = .automatic, @ViewBuilder content: () -> Content)
not modeled; survives as source text only.
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
not modeled; survives as source text only. LabeledToolbarItemGroupContent is a catalog view stub but group ctor not lowered.
iOS iOS 16macOS macOS 13
ToolbarItemPlacement
public struct ToolbarItemPlacement
not modeled; survives as source text only. Placement value type, no metadata enum.
iOS iOS 14macOS macOS 11
ToolbarItemPlacement.automatic
public static let automatic: ToolbarItemPlacement
not modeled; survives as source text only.
iOS iOS 14macOS macOS 11
ToolbarItemPlacement.principal
public static let principal: ToolbarItemPlacement
not modeled; survives as source text only. watchOS unavailable.
iOS iOS 14macOS macOS 11
ToolbarItemPlacement.navigation
public static let navigation: ToolbarItemPlacement
not modeled; survives as source text only.
iOS iOS 14macOS macOS 11
ToolbarItemPlacement.primaryAction
public static let primaryAction: ToolbarItemPlacement
not modeled; survives as source text only.
iOS iOS 14macOS macOS 11
ToolbarItemPlacement.secondaryAction
public static let secondaryAction: ToolbarItemPlacement
not modeled; survives as source text only.
iOS iOS 16macOS macOS 13
ToolbarItemPlacement.status
public static let status: ToolbarItemPlacement
not modeled; survives as source text only.
iOS iOS 14macOS macOS 11
ToolbarItemPlacement.confirmationAction
public static let confirmationAction: ToolbarItemPlacement
not modeled; survives as source text only.
iOS iOS 14macOS macOS 11
ToolbarItemPlacement.cancellationAction
public static let cancellationAction: ToolbarItemPlacement
not modeled; survives as source text only.
iOS iOS 14macOS macOS 11
ToolbarItemPlacement.destructiveAction
public static let destructiveAction: ToolbarItemPlacement
not modeled; survives as source text only.
iOS iOS 14macOS macOS 11
ToolbarItemPlacement.keyboard
public static let keyboard: ToolbarItemPlacement
not modeled; survives as source text only. tvOS/watchOS/visionOS unavailable.
iOS iOS 15macOS macOS 12
ToolbarItemPlacement.topBarLeading
public static var topBarLeading: ToolbarItemPlacement { get }
not modeled; survives as source text only. iOS-only positional placement.
iOS iOS 14macOS
ToolbarItemPlacement.topBarTrailing
public static var topBarTrailing: ToolbarItemPlacement { get }
not modeled; survives as source text only. iOS-only positional placement.
iOS iOS 14macOS
ToolbarItemPlacement.navigationBarLeading [deprecated]
public static let navigationBarLeading: ToolbarItemPlacement
not modeled; survives as source text only. Deprecated, use topBarLeading.
iOS iOS 14 depmacOS
ToolbarItemPlacement.navigationBarTrailing [deprecated]
public static let navigationBarTrailing: ToolbarItemPlacement
not modeled; survives as source text only. Deprecated, use topBarTrailing.
iOS iOS 14 depmacOS
ToolbarItemPlacement.bottomBar
public static let bottomBar: ToolbarItemPlacement
not modeled; survives as source text only. macOS unavailable.
iOS iOS 14macOS
ToolbarItemPlacement.largeTitle
public static let largeTitle: ToolbarItemPlacement
not modeled; survives as source text only. iOS-only.
iOS iOS 26macOS
ToolbarItemPlacement.subtitle
public static let subtitle: ToolbarItemPlacement
not modeled; survives as source text only. iOS-only.
iOS iOS 26macOS
ToolbarItemPlacement.largeSubtitle
public static let largeSubtitle: ToolbarItemPlacement
not modeled; survives as source text only. iOS-only.
iOS iOS 26macOS
ToolbarItemPlacement.accessoryBar(id:)
public static func accessoryBar<ID>(id: ID) -> ToolbarItemPlacement where ID : Hashable
not modeled; survives as source text only. macOS-only.
iOSmacOS macOS 14
ToolbarContent
@MainActor @preconcurrency public protocol ToolbarContent
not modeled; survives as source text only. Protocol not executed; no UIIR body.
iOS iOS 14macOS macOS 11
ToolbarContent.body
@ToolbarContentBuilder @MainActor @preconcurrency var body: Self.Body { get }
not modeled; survives as source text only. Toolbar content body not lowered.
iOS iOS 14macOS macOS 11
ToolbarContent.sharedBackgroundVisibility(_:)
nonisolated public func sharedBackgroundVisibility(_ visibility: Visibility) -> some ToolbarContent
not modeled; survives as source text only. ToolbarContent-level modifier.
iOS iOS 26macOS macOS 26
ToolbarContent.matchedTransitionSource(id:in:)
nonisolated public func matchedTransitionSource(id: some Hashable, in namespace: Namespace.ID) -> some ToolbarContent
not modeled; survives as source text only. iOS-only ToolbarContent modifier.
iOS iOS 26macOS
CustomizableToolbarContent
public protocol CustomizableToolbarContent : ToolbarContent where Self.Body : CustomizableToolbarContent
not modeled; survives as source text only. Customization protocol not executed.
iOS iOS 16macOS macOS 13
CustomizableToolbarContent.defaultCustomization(_:options:)
public func defaultCustomization(_ defaultVisibility: Visibility = .automatic, options: ToolbarCustomizationOptions = []) -> some CustomizableToolbarContent
not modeled; survives as source text only.
iOS iOS 16macOS macOS 13
CustomizableToolbarContent.customizationBehavior(_:)
nonisolated public func customizationBehavior(_ behavior: ToolbarCustomizationBehavior) -> some CustomizableToolbarContent
not modeled; survives as source text only.
iOS iOS 16macOS macOS 13
ToolbarContentBuilder
@resultBuilder public struct ToolbarContentBuilder
not modeled; survives as source text only. Result builder not interpreted as a UIIR builder.
iOS iOS 14macOS macOS 11
ToolbarContentBuilder.buildBlock(_:)
public static func buildBlock<Content>(_ content: Content) -> some ToolbarContent where Content : ToolbarContent
not modeled; survives as source text only.
iOS iOS 14macOS macOS 11
ToolbarContentBuilder.buildExpression(_:)
public static func buildExpression<Content>(_ content: Content) -> Content where Content : ToolbarContent
not modeled; survives as source text only.
iOS iOS 14macOS macOS 11
ToolbarContentBuilder.buildIf(_:)
public static func buildIf<Content>(_ content: Content?) -> Content? where Content : ToolbarContent
not modeled; survives as source text only.
iOS iOS 16macOS macOS 13
ToolbarContentBuilder.buildEither(first:)
public static func buildEither<TrueContent, FalseContent>(first: TrueContent) -> _ConditionalContent<TrueContent, FalseContent> where TrueContent : ToolbarContent, FalseContent : ToolbarContent
not modeled; survives as source text only.
iOS iOS 16macOS macOS 13
ToolbarContentBuilder.buildEither(second:)
public static func buildEither<TrueContent, FalseContent>(second: FalseContent) -> _ConditionalContent<TrueContent, FalseContent> where TrueContent : ToolbarContent, FalseContent : ToolbarContent
not modeled; survives as source text only.
iOS iOS 16macOS macOS 13
ToolbarContentBuilder.buildLimitedAvailability(_:)
public static func buildLimitedAvailability(_ content: any ToolbarContent) -> some ToolbarContent
not modeled; survives as source text only.
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
not modeled; survives as source text only. Value type members not lowered (only the modifier policy is).
iOS iOS 16macOS macOS 13
PresentationDetent.medium
public static let medium: PresentationDetent
not modeled; survives as source text only.
iOS iOS 16macOS macOS 13
PresentationDetent.large
public static let large: PresentationDetent
not modeled; survives as source text only.
iOS iOS 16macOS macOS 13
PresentationDetent.fraction(_:)
public static func fraction(_ fraction: CGFloat) -> PresentationDetent
not modeled; survives as source text only.
iOS iOS 16macOS macOS 13
PresentationDetent.height(_:)
public static func height(_ height: CGFloat) -> PresentationDetent
not modeled; survives as source text only.
iOS iOS 16macOS macOS 13
PresentationDetent.custom(_:)
public static func custom<D>(_ type: D.Type) -> PresentationDetent where D : CustomPresentationDetent
not modeled; survives as source text only.
iOS iOS 16macOS macOS 13
PresentationDetent.Context
@dynamicMemberLookup public struct Context
not modeled; survives as source text only.
iOS iOS 16macOS macOS 13
CustomPresentationDetent
public protocol CustomPresentationDetent
not modeled; survives as source text only. Protocol 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
not modeled; survives as source text only. Value type; only the modifier policy is captured.
iOS iOS 16.4macOS macOS 13.3
PresentationAdaptation.automatic
public static var automatic: PresentationAdaptation { get }
not modeled; survives as source text only.
iOS iOS 16.4macOS macOS 13.3
PresentationAdaptation.popover
public static var popover: PresentationAdaptation { get }
not modeled; survives as source text only.
iOS iOS 16.4macOS macOS 13.3
PresentationAdaptation.sheet
public static var sheet: PresentationAdaptation { get }
not modeled; survives as source text only.
iOS iOS 16.4macOS macOS 13.3
PresentationAdaptation.fullScreenCover
public static var fullScreenCover: PresentationAdaptation { get }
not modeled; survives as source text only.
iOS iOS 16.4macOS macOS 13.3
PresentationBackgroundInteraction
public struct PresentationBackgroundInteraction : Sendable
not modeled; survives as source text only. Value type, only modifier policy captured.
iOS iOS 16.4macOS macOS 13.3
PresentationBackgroundInteraction.enabled(upThrough:)
public static func enabled(upThrough detent: PresentationDetent) -> PresentationBackgroundInteraction
not modeled; survives as source text only.
iOS iOS 16.4macOS macOS 13.3
PresentationContentInteraction
public struct PresentationContentInteraction : Equatable, Sendable
not modeled; survives as source text only. Value type, only modifier policy captured.
iOS iOS 16.4macOS macOS 13.3
PresentationContentInteraction.resizes
public static var resizes: PresentationContentInteraction { get }
not modeled; survives as source text only.
iOS iOS 16.4macOS macOS 13.3
PresentationContentInteraction.scrolls
public static var scrolls: PresentationContentInteraction { get }
not modeled; survives as source text only.
iOS iOS 16.4macOS macOS 13.3
PopoverAttachmentAnchor
public enum PopoverAttachmentAnchor
not modeled; survives as source text only. Popover anchor enum not lowered.
iOS allmacOS all
PopoverAttachmentAnchor.rect(_:)
case rect(Anchor<CGRect>.Source)
not modeled; survives as source text only.
iOS allmacOS all
PopoverAttachmentAnchor.point(_:)
case point(UnitPoint)
not modeled; survives as source text only.
iOS allmacOS all
DismissAction
@MainActor @preconcurrency public struct DismissAction
not modeled; survives as source text only. Runtime action object; no dismissal runtime.
iOS iOS 15macOS macOS 12
DismissAction.callAsFunction()
@MainActor @preconcurrency public func callAsFunction()
not modeled; survives as source text only. dismiss() call not executed.
iOS iOS 15macOS macOS 12
EnvironmentValues.dismiss
public var dismiss: DismissAction { get }
not modeled; survives as source text only. @Environment(\\.dismiss) lookup not resolved to a runtime action.
iOS iOS 15macOS macOS 12
DismissBehavior
public struct DismissBehavior : Sendable
not modeled; survives as source text only.
iOS iOS 17macOS macOS 14
DismissBehavior.interactive
public static let interactive: DismissBehavior
not modeled; survives as source text only.
iOS iOS 17macOS macOS 14
DismissBehavior.destructive
public static let destructive: DismissBehavior
not modeled; survives as source text only.
iOS iOS 17macOS macOS 14
PresentationMode [deprecated]
public struct PresentationMode
not modeled; survives as source text only. Deprecated; use dismiss.
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
not modeled; survives as source text only. Bar-placement value type, no metadata enum.
iOS iOS 16macOS macOS 13
ToolbarRole
public struct ToolbarRole : Sendable
value type not modeled as its own UIIR type; toolbarRole(_:) captures role tokens as dedicated navigation payload.
iOS iOS 16macOS macOS 13
ToolbarTitleDisplayMode
public struct ToolbarTitleDisplayMode
not modeled; survives as source text only.
iOS iOS 17macOS macOS 14
ToolbarDefaultItemKind
public struct ToolbarDefaultItemKind
not modeled; survives as source text only.
iOS iOS 17macOS macOS 14
ToolbarLabelStyle
public struct ToolbarLabelStyle : Sendable, Equatable
not modeled; survives as source text only.
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

28·49·31
protocol Shape
public protocol Shape : Animatable, View, Sendable { func path(in rect: CGRect) -> Path }
SwiftUICore decl (only seen via ButtonBorderShape:Shape). Not a catalog view/mod; styles not run as protocols. not modeled; source text only
iOS allmacOS all
Shape.path(in:)
nonisolated public func path(in rect: CGRect) -> Path
Shape requirement (on ButtonBorderShape:Shape, iOS 3986). Custom-shape path body not lowered. not modeled; survives as source text only
iOS allmacOS all
Shape.fill(_:style:)
public func fill<S>(_ content: S, style: FillStyle = FillStyle()) -> some View where S : ShapeStyle
SwiftUICore Shape method; absent from both dumps and not a catalog modifier. not modeled; survives as source text only
iOS allmacOS all
Shape.fill(style:)
public func fill(style: FillStyle = FillStyle()) -> some View
SwiftUICore; uses foreground style. not in catalog. not modeled; survives as source text only
iOS allmacOS all
Shape.stroke(_:style:)
public func stroke<S>(_ content: S, style: StrokeStyle) -> some View where S : ShapeStyle
SwiftUICore Shape method; not a catalog modifier, no stroke semantics. not modeled; survives as source text only
iOS allmacOS all
Shape.stroke(_:lineWidth:)
public func stroke<S>(_ content: S, lineWidth: CGFloat = 1) -> some View where S : ShapeStyle
SwiftUICore convenience; absent from dumps, not catalogued. not modeled; survives as source text only
iOS allmacOS all
Shape.stroke(style:)
public func stroke(style: StrokeStyle) -> Self.StrokeShape
SwiftUICore (Swift 5.9 stroke-returns-Shape). not catalogued. not modeled; survives as source text only
iOS iOS 17macOS macOS 14
Shape.trim(from:to:)
public func trim(from startFraction: CGFloat = 0, to endFraction: CGFloat = 1) -> some Shape
SwiftUICore Shape method; absent from dumps (iOS has 0 hits for trim(from). not catalogued. not modeled; survives as source text only
iOS allmacOS all
Shape.fillStyle
public func fill(_ content:, style: FillStyle) (FillStyle: eoFill/antialiased)
FillStyle value type (eoFill,isAntialiased); SwiftUICore, not catalogued. not modeled; survives as source text only
iOS allmacOS all
Shape.size(_:)
public func size(_ size: CGSize) -> some Shape
SwiftUICore Shape sizing; absent, not catalogued. not modeled; survives as source text only
iOS allmacOS all
Shape.size(width:height:)
public func size(width: CGFloat, height: CGFloat) -> some Shape
SwiftUICore; not catalogued. not modeled; survives as source text only
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 }
SwiftUICore protocol; only seen via ButtonBorderShape:InsettableShape (iOS 4001). not catalogued. not modeled; survives as source text only
iOS allmacOS all
InsettableShape.inset(by:)
@inlinable nonisolated public func inset(by amount: CGFloat) -> some InsettableShape
real decl on ButtonBorderShape:InsettableShape (iOS 4004); not catalogued. not modeled; survives as source text only
iOS iOS 17macOS macOS 14
InsettableShape.strokeBorder(_:style:)
public func strokeBorder<S>(_ content: S, style: StrokeStyle, antialiased: Bool = true) -> some View where S : ShapeStyle
SwiftUICore InsettableShape method; absent from dumps, not catalogued. not modeled; survives as source text only
iOS allmacOS all
InsettableShape.strokeBorder(_:lineWidth:)
public func strokeBorder<S>(_ content: S, lineWidth: CGFloat = 1, antialiased: Bool = true) -> some View where S : ShapeStyle
SwiftUICore convenience; not catalogued, no stroke-border semantics. not modeled; survives as source text only
iOS allmacOS all
InsettableShape.strokeBorder(style:)
public func strokeBorder(style: StrokeStyle, antialiased: Bool = true) -> some View
SwiftUICore; uses foreground style. not catalogued. not modeled; survives as source text only
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 }
catalog UnevenRoundedRectangle view; web → ShapeView('rectangle') UNIFORM corners (per-corner radii lost). android pending. partial
iOS iOS 16macOS macOS 13
UnevenRoundedRectangle.init(cornerRadii:style:)
public init(cornerRadii: RectangleCornerRadii, style: RoundedCornerStyle = .continuous)
catalogued but per-corner RectangleCornerRadii collapses to uniform in web renderer. partial
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)
per-corner radii not honored individually by renderer (uniform). partial
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)
rect path lowered into typed path commands. full
iOS allmacOS all
Path.init(roundedRect:cornerRadius:style:)
public init(roundedRect rect: CGRect, cornerRadius: CGFloat, style: RoundedCornerStyle = .continuous)
rounded-rect path init; captured into path command arena (richer schemas demand-driven per coverage). partial
iOS allmacOS all
Path.init(roundedRect:cornerSize:style:)
public init(roundedRect rect: CGRect, cornerSize: CGSize, style: RoundedCornerStyle = .continuous)
cornerSize variant; less common path schema, demand-driven capture. partial
iOS allmacOS all
Path.init(ellipseIn:)
public init(ellipseIn rect: CGRect)
ellipse path init; lowered as a path command (graphics arena). full
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)
rounded-rect subpath; richer schema, demand-driven capture into arena. partial
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 }
SwiftUICore enum; arg may be captured but circular vs continuous not distinguished by renderer. not modeled; survives as source text only
iOS allmacOS all
RoundedCornerStyle.circular
case circular
enum case carried as an arg token only; no distinct rendering. not modeled; survives as source text only
iOS allmacOS all
RoundedCornerStyle.continuous
case continuous
enum case carried as an arg token only; no distinct rendering. not modeled; survives as source text only
iOS allmacOS all
struct StrokeStyle
public struct StrokeStyle : Equatable { var lineWidth, lineCap, lineJoin, miterLimit, dash, dashPhase }
SwiftUICore value type; not in catalog, no stroke pipeline. not modeled; survives as source text only
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)
stroke configuration; absent from dumps and catalog. not modeled; survives as source text only
iOS allmacOS all
StrokeStyle.lineWidth
public var lineWidth: CGFloat
stored property of StrokeStyle; not modeled. not modeled; survives as source text only
iOS allmacOS all
StrokeStyle.lineCap
public var lineCap: CGLineCap
line-cap property; not modeled. not modeled; survives as source text only
iOS allmacOS all
StrokeStyle.lineJoin
public var lineJoin: CGLineJoin
line-join property; not modeled. not modeled; survives as source text only
iOS allmacOS all
StrokeStyle.dash
public var dash: [CGFloat]
dash pattern; not modeled. not modeled; survives as source text only
iOS allmacOS all
StrokeStyle.dashPhase
public var dashPhase: CGFloat
dash phase; not modeled. not modeled; survives as source text only
iOS allmacOS all
struct FillStyle
@frozen public struct FillStyle : Equatable { public var isEOFilled: Bool; public var isAntialiased: Bool }
SwiftUICore value type; not in catalog, no fill pipeline. not modeled; survives as source text only
iOS allmacOS all
FillStyle.init(eoFill:antialiased:)
public init(eoFill: Bool = false, antialiased: Bool = true)
fill configuration; absent from dumps and catalog. not modeled; survives as source text only
iOS allmacOS all
FillStyle.isEOFilled
public var isEOFilled: Bool
even-odd fill flag; not modeled. not modeled; survives as source text only
iOS allmacOS all
FillStyle.isAntialiased
public var isAntialiased: Bool
antialias flag; not modeled. not modeled; survives as source text only
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"; standalone value remains structural.
iOS iOS 15macOS macOS 12
ButtonBorderShape.capsule
public static let capsule: ButtonBorderShape
Contextually lowered by buttonBorderShape(_:) to payload.shape="capsule"; standalone value remains structural.
iOS iOS 17macOS macOS 14
ButtonBorderShape.roundedRectangle
public static let roundedRectangle: ButtonBorderShape
Contextually lowered by buttonBorderShape(_:) to payload.shape="roundedRectangle"; standalone value remains structural.
iOS iOS 15macOS macOS 12
ButtonBorderShape.roundedRectangle(radius:)
public static func roundedRectangle(radius: CGFloat) -> ButtonBorderShape
Contextually lowered by buttonBorderShape(_:) to payload.shape="roundedRectangle" while preserving the radius call arg; standalone value remains structural.
iOS iOS 15macOS macOS 14
ButtonBorderShape.circle
public static let circle: ButtonBorderShape
Contextually lowered by buttonBorderShape(_:) to payload.shape="circle"; standalone value remains structural.
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; chain.c:497 maps the modifier and chain.c:1946 decomposes static/factory shape tokens into UISemantic.button_border_shape (uiir.h:924), with JSON literal payload.shape (json_modifier.c:1608). Renderer behavior remains separate.
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
real in-dump clipShape overload (iOS 18865/macOS 19593) on a transition config, not View; not a UIIR target. not modeled; source text only
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·33·78
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 }
not modeled; BlendMode value type absent. Survives as source text only inside the Canvas closure.
iOSmacOS
GraphicsContext.environment
public var environment: EnvironmentValues { get }
not modeled; survives as source text only.
iOSmacOS
GraphicsContext.transform
public var transform: CGAffineTransform { get set }
not modeled; survives as source text only.
iOSmacOS
GraphicsContext.clipBoundingRect
public var clipBoundingRect: CGRect { get }
not modeled; survives as source text only.
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
not modeled as a type; survives as source text only inside the Canvas closure.
iOSmacOS
GraphicsContext.Shading.backdrop
public static var backdrop: GraphicsContext.Shading { get }
not modeled; survives as source text only.
iOSmacOS
GraphicsContext.Shading.foreground
public static var foreground: GraphicsContext.Shading { get }
not modeled; survives as source text only.
iOSmacOS
GraphicsContext.Shading.color(_:)
public static func color(_ color: Color) -> GraphicsContext.Shading
not modeled; survives as source text only (renderer may parse Color arg of a FILL command).
iOSmacOS
GraphicsContext.Shading.color(_:_:_:opacity:)
public static func color(_ colorSpace: Color.RGBColorSpace = .sRGB, red: Double, green: Double, blue: Double, opacity: Double = 1) -> GraphicsContext.Shading
not modeled; survives as source text only.
iOSmacOS
GraphicsContext.Shading.style(_:)
public static func style<S>(_ style: S) -> GraphicsContext.Shading where S : ShapeStyle
not modeled; ShapeStyle not executed. Survives as source text only.
iOSmacOS
GraphicsContext.Shading.linearGradient(_:startPoint:endPoint:options:)
public static func linearGradient(_ gradient: Gradient, startPoint: CGPoint, endPoint: CGPoint, options: GraphicsContext.GradientOptions = GradientOptions()) -> GraphicsContext.Shading
not modeled; survives as source text only (web may approximate gradient fills).
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
not modeled; survives as source text only.
iOSmacOS
GraphicsContext.Shading.conicGradient(_:center:angle:options:)
public static func conicGradient(_ gradient: Gradient, center: CGPoint, angle: Angle = Angle(), options: GraphicsContext.GradientOptions = GradientOptions()) -> GraphicsContext.Shading
not modeled; survives as source text only.
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
not modeled; survives as source text only.
iOSmacOS
GraphicsContext.Shading.palette(_:)
public static func palette(_ array: [GraphicsContext.Shading]) -> GraphicsContext.Shading
not modeled; survives as source text only.
iOSmacOS
GraphicsContext.Filter
public struct Filter
not modeled as a type; survives as source text only.
iOSmacOS
GraphicsContext.Filter.projectionTransform(_:)
public static func projectionTransform(_ matrix: ProjectionTransform) -> GraphicsContext.Filter
not modeled; survives as source text only.
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
not modeled; survives as source text only.
iOSmacOS
GraphicsContext.Filter.colorMultiply(_:)
public static func colorMultiply(_ color: Color) -> GraphicsContext.Filter
not modeled; survives as source text only.
iOSmacOS
GraphicsContext.Filter.colorMatrix(_:)
public static func colorMatrix(_ matrix: ColorMatrix) -> GraphicsContext.Filter
not modeled; survives as source text only.
iOSmacOS
GraphicsContext.Filter.hueRotation(_:)
public static func hueRotation(_ angle: Angle) -> GraphicsContext.Filter
not modeled; survives as source text only.
iOSmacOS
GraphicsContext.Filter.saturation(_:)
public static func saturation(_ amount: Double) -> GraphicsContext.Filter
not modeled; survives as source text only.
iOSmacOS
GraphicsContext.Filter.brightness(_:)
public static func brightness(_ amount: Double) -> GraphicsContext.Filter
not modeled; survives as source text only.
iOSmacOS
GraphicsContext.Filter.contrast(_:)
public static func contrast(_ amount: Double) -> GraphicsContext.Filter
not modeled; survives as source text only.
iOSmacOS
GraphicsContext.Filter.grayscale(_:)
public static func grayscale(_ amount: Double) -> GraphicsContext.Filter
not modeled; survives as source text only.
iOSmacOS
GraphicsContext.Filter.luminanceToAlpha
public static var luminanceToAlpha: GraphicsContext.Filter { get }
not modeled; survives as source text only.
iOSmacOS
GraphicsContext.Filter.blur(radius:options:)
public static func blur(radius: CGFloat, options: GraphicsContext.BlurOptions = BlurOptions()) -> GraphicsContext.Filter
not modeled; survives as source text only.
iOSmacOS
GraphicsContext.Filter.alphaThreshold(min:max:color:)
public static func alphaThreshold(min: Double, max: Double = 1, color: Color = Color.black) -> GraphicsContext.Filter
not modeled; survives as source text only.
iOSmacOS
GraphicsContext.BlendMode
@frozen public struct BlendMode : RawRepresentable, Equatable
not modeled as a type; survives as source text only inside the Canvas closure.
iOSmacOS
GraphicsContext.BlendMode.normal
public static var normal: GraphicsContext.BlendMode { get }
not modeled; survives as source text only.
iOSmacOS
GraphicsContext.BlendMode.multiply
public static var multiply: GraphicsContext.BlendMode { get }
not modeled; survives as source text only.
iOSmacOS
GraphicsContext.BlendMode.screen
public static var screen: GraphicsContext.BlendMode { get }
not modeled; survives as source text only.
iOSmacOS
GraphicsContext.BlendMode.overlay
public static var overlay: GraphicsContext.BlendMode { get }
not modeled; survives as source text only.
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 }
full Porter-Duff/separable set not modeled; survives as source text only.
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 }
compositing blend-mode set not modeled; survives as source text only.
iOSmacOS
GraphicsContext.ResolvedSymbol
public struct ResolvedSymbol
not modeled; symbol resolution is renderer-side. Survives as source text only.
iOSmacOS
GraphicsContext.ResolvedSymbol.size
public var size: CGSize { get }
not modeled; survives as source text only.
iOSmacOS
GraphicsContext.ResolvedText
public struct ResolvedText
not modeled; survives as source text only.
iOSmacOS
GraphicsContext.ResolvedText.measure(in:)
public func measure(in size: CGSize) -> CGSize
not modeled; survives as source text only.
iOSmacOS
GraphicsContext.ResolvedImage
public struct ResolvedImage
not modeled; survives as source text only.
iOSmacOS
GraphicsContext.ResolvedImage.size
public var size: CGSize { get }
not modeled; survives as source text only.
iOSmacOS
GraphicsContext.ClipOptions
@frozen public struct ClipOptions : OptionSet
not modeled; survives as source text only (clip command keeps raw args).
iOSmacOS
GraphicsContext.BlurOptions
@frozen public struct BlurOptions : OptionSet
not modeled; survives as source text only.
iOSmacOS
GraphicsContext.GradientOptions
@frozen public struct GradientOptions : OptionSet
not modeled; survives as source text only.
iOSmacOS
GraphicsContext.ShadowOptions
@frozen public struct ShadowOptions : OptionSet
not modeled; survives as source text only.
iOSmacOS
GraphicsContext.FilterOptions
@frozen public struct FilterOptions : OptionSet
not modeled; survives as source text only.
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 }
enum not modeled; comparisons inside the closure survive as source text only.
iOS iOS 15macOS macOS 12
TimelineView.Context.invalidateTimelineContent()
public func invalidateTimelineContent()
iOS-only (macOS/tvOS unavailable); Always-On-Display reset. Not modeled; survives as source text only.
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
protocol used only as a generic constraint in the dump (no decl body); not executed/modeled. Schedule arg captured as source.
iOS iOS 15macOS macOS 12
TimelineSchedule.entries(from:mode:)
func entries(from startDate: Date, mode: TimelineScheduleMode) -> Self.Entries
protocol requirement; not executed (no scheduler runtime). The web ticker drives updates itself. Survives as source text.
iOS iOS 15macOS macOS 12
TimelineSchedule.Entries (assoc type)
associatedtype Entries : Sequence where Self.Entries.Element == Date
associated type; not modeled. Survives as source text only.
iOS iOS 15macOS macOS 12
TimelineScheduleMode
public enum TimelineScheduleMode { case normal, lowFrequency }
not modeled; only referenced in the dump, no decl. Survives as source text only.
iOSmacOS
TimelineSchedule.everyMinute
public static var everyMinute: EveryMinuteTimelineSchedule { get }
static factory absent from both dumps (refs only); not modeled. Survives as source text only.
iOSmacOS
TimelineSchedule.periodic(from:by:)
public static func periodic(from startDate: Date, by interval: TimeInterval) -> PeriodicTimelineSchedule
absent from both dumps (refs only); not modeled. Schedule arg survives as source text only.
iOSmacOS
TimelineSchedule.explicit(_:)
public static func explicit<S>(_ dates: S) -> ExplicitTimelineSchedule<S> where S : Sequence, S.Element == Date
absent from both dumps (refs only); not modeled. Survives as source text only.
iOSmacOS
TimelineSchedule.animation (static var)
extension TimelineSchedule where Self == AnimationTimelineSchedule { public static var animation: AnimationTimelineSchedule { get } }
static schedule accessor; not modeled (no scheduler runtime). Survives as source text; 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
schedule factory; not modeled. The interval/paused args don't drive the web ticker. Survives as source text only.
iOS iOS 15macOS macOS 12
AnimationTimelineSchedule
@available(iOS 15.0, macOS 12.0, *) public struct AnimationTimelineSchedule : TimelineSchedule, Sendable
concrete schedule type; not modeled. Used only as a TimelineView arg, captured as source text only.
iOS iOS 15macOS macOS 12
AnimationTimelineSchedule.init(minimumInterval:paused:)
public init(minimumInterval: Double? = nil, paused: Bool = false)
not modeled; survives as source text only.
iOS iOS 15macOS macOS 12
AnimationTimelineSchedule.entries(from:mode:)
public func entries(from start: Date, mode: TimelineScheduleMode) -> AnimationTimelineSchedule.Entries
not modeled; no scheduler runtime. Survives as source text only.
iOS iOS 15macOS macOS 12
AnimationTimelineSchedule.Entries
public struct Entries : Sequence, IteratorProtocol, Sendable
not modeled; survives as source text only.
iOS iOS 15macOS macOS 12
AnimationTimelineSchedule.Entries.next()
public mutating func next() -> Date?
not modeled; survives as source text only.
iOS iOS 15macOS macOS 12
EveryMinuteTimelineSchedule
@available(iOS 15.0, macOS 12.0, *) public struct EveryMinuteTimelineSchedule : TimelineSchedule
absent from both dumps (only in TimelineViewDefaultContext alias); not modeled. Survives as source text only.
iOSmacOS
PeriodicTimelineSchedule
@available(iOS 15.0, macOS 12.0, *) public struct PeriodicTimelineSchedule : TimelineSchedule
absent from both dumps (refs only); not modeled. Survives as source text only.
iOSmacOS
ExplicitTimelineSchedule
@available(iOS 15.0, macOS 12.0, *) public struct ExplicitTimelineSchedule<Entries> : TimelineSchedule where Entries : Sequence, Entries.Element == Date
absent from both dumps (refs only); not modeled. Survives as source text only.
iOSmacOS
ImageRenderer
@available(iOS 16.0, macOS 13.0, *) @MainActor final public class ImageRenderer<Content> : ObservableObject where Content : View
class decl absent from both dumps (only extensions present); runtime rasterizer, not a View. Not modeled; survives as source text only.
iOSmacOS
ImageRenderer.init(content:)
@MainActor public init(content: Content)
ctor absent from dumps; runtime object, not modeled. Survives as source text only.
iOSmacOS
ImageRenderer.uiImage
@MainActor final public var uiImage: UIImage? { get }
iOS extension property (no macOS); runtime rasterization, not a UIIR concept. Not modeled.
iOS iOS 16macOS
ImageRenderer.nsImage
@MainActor final public var nsImage: NSImage? { get }
macOS extension property (no iOS); runtime rasterization. Not modeled.
iOSmacOS macOS 13
ImageRenderer.cgImage
@MainActor final public var cgImage: CGImage? { get }
absent from both dumps; runtime rasterizer property. Not modeled; survives as source text only.
iOSmacOS
ImageRenderer.scale
@MainActor final public var scale: CGFloat
absent from both dumps; runtime config. Not modeled; survives as source text only.
iOSmacOS
ImageRenderer.isOpaque
@MainActor final public var isOpaque: Bool
absent from both dumps; runtime config. Not modeled; survives as source text only.
iOSmacOS
ImageRenderer.colorMode
@MainActor final public var colorMode: ColorRenderingMode
absent from both dumps; runtime config. Not modeled; survives as source text only.
iOSmacOS
ImageRenderer.proposedSize
@MainActor final public var proposedSize: ProposedViewSize
absent from both dumps; runtime config. Not modeled; survives as source text only.
iOSmacOS
ImageRenderer.content
@MainActor final public var content: Content
absent from both dumps; runtime config. Not modeled; survives as source text only.
iOSmacOS
ImageRenderer.render(rasterizationScale:renderer:)
@MainActor final public func render(rasterizationScale: CGFloat = 1, renderer: (CGSize, (CGContext) -> Void) -> Void)
absent from both dumps; CoreGraphics render callback. Not modeled; survives as source text only.
iOSmacOS
ImageRenderer.objectWillChange
nonisolated public var objectWillChange: ObservableObjectPublisher { get }
ObservableObject publisher of the renderer; runtime, not modeled. Survives as source text only.
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 }
the View.blendMode enum is not modeled as a typed value; cases survive as source text only. Absent from both dumps.
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

32·28·42
ShapeStyle (protocol)
public protocol ShapeStyle : Sendable
SwiftUICore type; absent from both dumps. Not modeled as a protocol; conforming style values survive as source/arg text only.
iOS iOS 13macOS macOS 10.15
ShapeStyle.resolve(in:)
func resolve(in environment: EnvironmentValues) -> Self.Resolved
protocol requirement; styles are never executed as ShapeStyle. not modeled; survives as source text only.
iOS iOS 17macOS macOS 14
ShapeStyle._apply(to:) / Resolved
associatedtype Resolved : ShapeStyle = Never
protocol assoc type / internal apply hooks. not modeled; survives as source text only.
iOS iOS 13macOS macOS 10.15
ShapeStyle.opacity(_:)
func opacity(_ opacity: Double) -> some ShapeStyle
style combinator (returns opacity(_:) style). not executed; survives as source text only.
iOS iOS 13macOS macOS 10.15
ShapeStyle.blendMode(_:)
func blendMode(_ mode: BlendMode) -> some ShapeStyle
style combinator. not modeled; survives as source text only.
iOS iOS 13macOS macOS 10.15
ShapeStyle.shadow(_:)
func shadow(_ style: ShadowStyle) -> some ShapeStyle
drop/inner shadow style combinator. not modeled; survives as source text only.
iOS iOS 16macOS macOS 13
AnyShapeStyle
@frozen public struct AnyShapeStyle : ShapeStyle
type-erased style wrapper; SwiftUICore, absent from dumps. not modeled; survives as source text only.
iOS iOS 15macOS macOS 12
AnyShapeStyle.init(_:)
public init<S>(_ style: S) where S : ShapeStyle
erases any ShapeStyle. not modeled; survives as source text only.
iOS iOS 15macOS macOS 12
HierarchicalShapeStyle
@frozen public struct HierarchicalShapeStyle : ShapeStyle
primary/secondary/tertiary/quaternary/quinary base type; SwiftUICore. not modeled; survives as source text only.
iOS iOS 15macOS macOS 12
ShapeStyle.primary (HierarchicalShapeStyle)
public static var primary: HierarchicalShapeStyle { get }
static accessor lives in SwiftUICore, absent from dumps. renderer may parse .primary from arg text; no UIIR payload.
iOS iOS 15macOS macOS 12
ShapeStyle.secondary (HierarchicalShapeStyle)
public static var secondary: HierarchicalShapeStyle { get }
SwiftUICore accessor, absent from dumps. renderer may parse from arg text; no dedicated UIIR payload.
iOS iOS 15macOS macOS 12
ShapeStyle.tertiary (HierarchicalShapeStyle)
public static var tertiary: HierarchicalShapeStyle { get }
SwiftUICore accessor, absent from dumps. not modeled; survives as source text only.
iOS iOS 15macOS macOS 12
ShapeStyle.quaternary (HierarchicalShapeStyle)
public static var quaternary: HierarchicalShapeStyle { get }
SwiftUICore accessor, absent from dumps. not modeled; survives as source text only.
iOS iOS 15macOS macOS 12
ShapeStyle.quinary (HierarchicalShapeStyle)
public static var quinary: HierarchicalShapeStyle { get }
SwiftUICore accessor, absent from dumps. not modeled; survives as source text only.
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 }
SwiftUICore property, absent from dumps. derives a subtle gradient from a color. not modeled; survives as source text.
iOS iOS 16macOS macOS 13
Color.resolve(in:)
public func resolve(in environment: EnvironmentValues) -> Color.Resolved
SwiftUICore; resolves to concrete RGBA. not executed; survives as source text only.
iOS iOS 17macOS macOS 14
Color.Resolved
@frozen public struct Color.Resolved : Hashable, ShapeStyle, Animatable
concrete linear-RGBA value type; SwiftUICore, absent from dumps. not modeled; survives as source text only.
iOS iOS 17macOS macOS 14
Color.RGBColorSpace
public enum Color.RGBColorSpace : Hashable, Sendable
nested enum (sRGB, sRGBLinear, displayP3); SwiftUICore, absent from dumps. not modeled; survives as source text only.
iOS iOS 13macOS macOS 10.15
Color.RGBColorSpace.sRGB / sRGBLinear / displayP3
case sRGB / case sRGBLinear / case displayP3
enum cases for color-space arg. renderer assumes sRGB; not modeled; survives as source text only.
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 }
present in dumps as Transferable conformance; drag/paste of colors. no Transferable runtime; survives as source text only.
iOS iOS 16macOS macOS 13
Gradient
@frozen public struct Gradient : Equatable, Hashable, ShapeStyle, Sendable
stops container value type; SwiftUICore, absent from dumps. renderer 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, absent from dumps. web AST-evaluator parses colors array for GradientView; no typed UIIR gradient value.
iOS iOS 13macOS macOS 10.15
Gradient.init(stops:)
public init(stops: [Gradient.Stop])
SwiftUICore init, absent from dumps. renderer parses stops at draw time; no typed UIIR stop list.
iOS iOS 13macOS macOS 10.15
Gradient.Stop
@frozen public struct Gradient.Stop : Equatable, Hashable, Sendable
nested (color, location) value type; SwiftUICore, absent from dumps. not modeled; survives as source text only.
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
type-erased gradient (from Color.gradient / Gradient); SwiftUICore, absent from dumps. not modeled; survives as source text only.
iOS iOS 16macOS macOS 13
LinearGradient (view/ShapeStyle)
@frozen public struct LinearGradient : ShapeStyle, View, Sendable
in catalog (LinearGradient); generic catalog view, not a coverage dedicated family. web renders via GradientView; compose-pending.
iOS iOS 13macOS macOS 10.15
LinearGradient.init(gradient:startPoint:endPoint:)
public init(gradient: Gradient, startPoint: UnitPoint, endPoint: UnitPoint)
SwiftUICore init, absent from dumps. LinearGradient view catalogued; renderer parses gradient/points; no typed UIIR payload.
iOS iOS 13macOS macOS 10.15
LinearGradient.init(colors:startPoint:endPoint:)
public init(colors: [Color], startPoint: UnitPoint, endPoint: UnitPoint)
SwiftUICore init, absent from dumps. catalogued view; web GradientView renders colors+direction; compose-pending.
iOS iOS 13macOS macOS 10.15
LinearGradient.init(stops:startPoint:endPoint:)
public init(stops: [Gradient.Stop], startPoint: UnitPoint, endPoint: UnitPoint)
SwiftUICore init, absent from dumps. catalogued view; renderer parses stops; no typed payload.
iOS iOS 13macOS macOS 10.15
ShapeStyle.linearGradient(_:startPoint:endPoint:)
public static func linearGradient(_ gradient: Gradient, startPoint: UnitPoint, endPoint: UnitPoint) -> some ShapeStyle
SwiftUICore ShapeStyle accessor for fill use, absent from dumps. not modeled; survives as source text only.
iOS iOS 15macOS macOS 12
RadialGradient (view/ShapeStyle)
@frozen public struct RadialGradient : ShapeStyle, View, Sendable
in catalog (SW_UI_VIEWS RadialGradient); generic catalog view. web renders via GradientView; compose-pending.
iOS iOS 13macOS macOS 10.15
RadialGradient.init(gradient:center:startRadius:endRadius:)
public init(gradient: Gradient, center: UnitPoint, startRadius: CGFloat, endRadius: CGFloat)
SwiftUICore init, absent from dumps. RadialGradient view catalogued; renderer parses center/radii; no typed UIIR payload.
iOS iOS 13macOS macOS 10.15
RadialGradient.init(colors:center:startRadius:endRadius:)
public init(colors: [Color], center: UnitPoint, startRadius: CGFloat, endRadius: CGFloat)
SwiftUICore init, absent from dumps. catalogued view; web GradientView renders colors radially; compose-pending.
iOS iOS 13macOS macOS 10.15
RadialGradient.init(stops:center:startRadius:endRadius:)
public init(stops: [Gradient.Stop], center: UnitPoint, startRadius: CGFloat, endRadius: CGFloat)
SwiftUICore init, absent from dumps. catalogued view; renderer parses stops; no typed payload.
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
SwiftUICore ShapeStyle accessor, absent from dumps. not modeled; survives as source text only.
iOS iOS 15macOS macOS 12
AngularGradient (view/ShapeStyle)
@frozen public struct AngularGradient : ShapeStyle, View, Sendable
in catalog (SW_UI_VIEWS AngularGradient); generic catalog view. web renders via GradientView (conic approx); compose-pending.
iOS iOS 13macOS macOS 10.15
AngularGradient.init(gradient:center:angle:)
public init(gradient: Gradient, center: UnitPoint, angle: Angle = .zero)
SwiftUICore init, absent from dumps. AngularGradient view catalogued; renderer parses center/angle; no typed payload.
iOS iOS 13macOS macOS 10.15
AngularGradient.init(colors:center:startAngle:endAngle:)
public init(colors: [Color], center: UnitPoint, startAngle: Angle, endAngle: Angle)
SwiftUICore init, absent from dumps. catalogued view; web GradientView renders; compose-pending.
iOS iOS 13macOS macOS 10.15
AngularGradient.init(stops:center:startAngle:endAngle:)
public init(stops: [Gradient.Stop], center: UnitPoint, startAngle: Angle, endAngle: Angle)
SwiftUICore init, absent from dumps. catalogued view; renderer parses stops; no typed payload.
iOS iOS 13macOS macOS 10.15
AngularGradient.init(gradient:center:startAngle:endAngle:)
public init(gradient: Gradient, center: UnitPoint, startAngle: Angle, endAngle: Angle)
SwiftUICore init, absent from dumps. catalogued view; renderer parses angles; no typed payload.
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
SwiftUICore ShapeStyle accessor, absent from dumps. not modeled; survives as source text only.
iOS iOS 15macOS macOS 12
ShapeStyle.conicGradient(_:center:angle:)
public static func conicGradient(_ gradient: Gradient, center: UnitPoint, angle: Angle = .zero) -> some ShapeStyle
SwiftUICore conic alias of angular, absent from dumps. not modeled; survives as source text only.
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
SwiftUICore ShapeStyle accessor, absent from dumps. not modeled; survives as source text only.
iOS iOS 15macOS macOS 12
MeshGradient (view/ShapeStyle)
@frozen public struct MeshGradient : ShapeStyle, View, Sendable
in catalog (MeshGradient). web has a dedicated bilinear rasterizer (MeshGradientView, done 2026-05-31); compose-pending; no typed payload.
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, absent from dumps. web rasterizer parses width/height/points/colors (bracket & .init(u,v) forms); separable warp only.
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], ...)
SwiftUICore Point overload, absent from dumps. web parses .init(u,v)/SIMD2(u,v) point forms; no typed UIIR payload.
iOS iOS 18macOS macOS 15
Gradient.ColorSpace (perceptual/device)
public enum Gradient.ColorSpace : Hashable, Sendable { case device; case perceptual }
nested gradient color-space enum; SwiftUICore, absent from dumps. renderer ignores; survives as source text only.
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
image-as-fill ShapeStyle; SwiftUICore, absent from dumps and catalog. not modeled; survives as source text only.
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)
SwiftUICore init, absent from dumps. not modeled; survives as source text only.
iOS iOS 13macOS macOS 10.15
ForegroundStyle
@frozen public struct ForegroundStyle : ShapeStyle
the .foreground ShapeStyle marker type; SwiftUICore, absent from dumps and catalog. not modeled; survives as source text only.
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
the .background ShapeStyle marker; SwiftUICore. Used in DocumentGroup inits in dumps but decl is absent. not modeled; source text only.
iOS iOS 14macOS macOS 11
BackgroundStyle.init()
public init()
default ctor used as a DocumentGroup arg default in the dumps; the type itself is SwiftUICore. not modeled; survives as source text.
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
the .separator ShapeStyle; SwiftUICore, absent from dumps and catalog. not modeled; survives as source text only.
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
present in BOTH dumps (the only area base type that is); tvOS/watchOS unavailable. not in catalog; not modeled; survives as source text.
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
the .tint ShapeStyle marker; SwiftUICore, absent from dumps and catalog. not modeled; survives as source text only.
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
present in both dumps; the overlay .fill style. not in catalog; not modeled; survives as source text only.
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
present in both dumps; the .placeholder style. not in catalog; not modeled; survives as source text only.
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
present in both dumps; the .link style. not in catalog; not modeled; survives as source text only.
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
present in both dumps (visionOS unavailable); the .windowBackground style. not in catalog; not modeled; survives as source text.
iOS iOS 17macOS macOS 14
ShapeStyle.windowBackground (WindowBackgroundShapeStyle)
public static var windowBackground: WindowBackgroundShapeStyle { get }
present in both dumps. not modeled; survives as source text only.
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

60·62·8
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 not modeled; survives as source text only.
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)
not modeled; survives as source text only.
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 arg decomposes to payload.size string.
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
Case not catalogued standalone, but .leading lowers as typed multilineTextAlignment payload value.
iOS allmacOS all
TextAlignment.center
case center
Case not catalogued standalone, but .center lowers as typed multilineTextAlignment payload value.
iOS allmacOS all
TextAlignment.trailing
case trailing
Case not catalogued standalone, but .trailing lowers as typed multilineTextAlignment payload value.
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
Case not catalogued standalone, but .uppercase lowers as typed textCase payload value.
iOS iOS 14macOS macOS 11
Text.Case.lowercase
case lowercase
Case not catalogued standalone, but .lowercase lowers as typed textCase payload value.
iOS iOS 14macOS macOS 11
Text.LineStyle
@frozen public struct Text.LineStyle : Hashable, Sendable
Value type not in catalog; used by underline/strikethrough overloads, survives as source text only. Not modeled.
iOS iOS 16macOS macOS 13
Text.LineStyle.init(pattern:color:)
public init(pattern: Text.LineStyle.Pattern = .solid, color: Color? = nil)
not modeled; survives as source text only.
iOS iOS 16macOS macOS 13
Text.LineStyle.single
public static let single: Text.LineStyle
not modeled; survives as source text only.
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
Case not catalogued standalone, but .head lowers as typed truncationMode payload value.
iOS allmacOS all
Text.TruncationMode.tail
case tail
Case not catalogued standalone, but .tail lowers as typed truncationMode payload value.
iOS allmacOS all
Text.TruncationMode.middle
case middle
Case not catalogued standalone, but .middle lowers as typed truncationMode payload value.
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
Case not catalogued standalone, but lowers as typed dynamicTypeSize payload value in modifier args.
iOS iOS 15macOS macOS 12
DynamicTypeSize.small
case small
Case not catalogued standalone, but lowers as typed dynamicTypeSize payload value in modifier args.
iOS iOS 15macOS macOS 12
DynamicTypeSize.medium
case medium
Case not catalogued standalone, but lowers as typed dynamicTypeSize payload value in modifier args.
iOS iOS 15macOS macOS 12
DynamicTypeSize.large
case large
Case not catalogued standalone, but lowers as typed dynamicTypeSize payload value in modifier args.
iOS iOS 15macOS macOS 12
DynamicTypeSize.xLarge
case xLarge
Case not catalogued standalone, but lowers as typed dynamicTypeSize payload value in modifier args.
iOS iOS 15macOS macOS 12
DynamicTypeSize.xxLarge
case xxLarge
Case not catalogued standalone, but lowers as typed dynamicTypeSize payload value in modifier args.
iOS iOS 15macOS macOS 12
DynamicTypeSize.xxxLarge
case xxxLarge
Case not catalogued standalone, but lowers as typed dynamicTypeSize payload value in modifier args.
iOS iOS 15macOS macOS 12
DynamicTypeSize.accessibility1
case accessibility1
Case not catalogued standalone, but lowers as typed dynamicTypeSize payload value in modifier args.
iOS iOS 15macOS macOS 12
DynamicTypeSize.accessibility2
case accessibility2
Case not catalogued standalone, but lowers as typed dynamicTypeSize payload value in modifier args.
iOS iOS 15macOS macOS 12
DynamicTypeSize.accessibility3
case accessibility3
Case not catalogued standalone, but lowers as typed dynamicTypeSize payload value in modifier args.
iOS iOS 15macOS macOS 12
DynamicTypeSize.accessibility4
case accessibility4
Case not catalogued standalone, but lowers as typed dynamicTypeSize payload value in modifier args.
iOS iOS 15macOS macOS 12
DynamicTypeSize.accessibility5
case accessibility5
Case not catalogued standalone, but lowers as typed dynamicTypeSize payload value in modifier args.
iOS iOS 15macOS macOS 12
DynamicTypeSize.isAccessibilitySize
public var isAccessibilitySize: Bool { get }
instance property not modeled; survives as source text only.
iOS iOS 15macOS macOS 12
DynamicTypeSize.init(_: UIContentSizeCategory)
public init?(_ uiSizeCategory: UIContentSizeCategory)
Real interop init present in iOS dump (line 71446), @available(macOS, unavailable). Not modeled; survives as source text only.
iOS iOS 15macOS
UIContentSizeCategory.init(_: DynamicTypeSize?)
public init(_ dynamicTypeSize: DynamicTypeSize?)
Real reverse interop init in iOS dump (line 71460), @available(macOS, unavailable). 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·10·9
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
not modeled; not in catalog. Style/behavior protocol; at best survives as argument source text to scrollTargetBehavior.
iOS iOS 17macOS macOS 14
ScrollTargetBehavior.updateTarget(_:context:)
func updateTarget(_ target: inout ScrollTarget, context: Self.TargetContext)
not modeled; protocol requirement, no runtime. Source text only.
iOS iOS 17macOS macOS 14
PagingScrollTargetBehavior
public struct PagingScrollTargetBehavior : ScrollTargetBehavior { public init() }
not modeled; not in catalog. Value passed to scrollTargetBehavior survives as source text only.
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) }
not modeled; not in catalog. Source text only.
iOS iOS 17macOS macOS 14
ViewAlignedScrollTargetBehavior.init(limitBehavior:anchor:)
public init(limitBehavior: ViewAlignedScrollTargetBehavior.LimitBehavior, anchor: UnitPoint?)
not modeled; anchored init has no runtime. Source text only.
iOS iOS 26macOS macOS 26
ViewAlignedScrollTargetBehavior.LimitBehavior
public struct LimitBehavior { static var automatic/always/never/alwaysByFew/alwaysByOne }
not modeled; alwaysByFew/alwaysByOne are iOS 26. Source text only.
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
not modeled; type-erased behavior wrapper. Source text only.
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)
not modeled; not in catalog (and the type def is SwiftUICore, absent from these dumps). Source text only.
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)
not modeled; protocol executed as protocol is unsupported; SwiftUICore. Source text only.
iOS iOS 17macOS macOS 14

12. Visual effect modifiers

34·2·9
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, not the View modifier. No dedicated cell-config model; survives as generic capture only.
iOS iOS 16macOS
UIHostingConfiguration.background(_:)
public func background<S>(_ style: S) -> UIHostingConfiguration<Content, _UIHostingConfigurationBackgroundView<S>> where S : ShapeStyle
UIKit cell-config helper (macOS unavailable), not View.background. No dedicated model; survives as generic capture only.
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
Protocol only referenced via scrollTransition closures in dumps. Not modeled; survives as source text only.
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
Enum absent from both dumps (SwiftUICore). Not modeled; only survives as a raw enum-case argument to blendMode(_:) generic capture.
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
BlendMode cases absent from both dumps; not modeled. At best a case name survives as enum-case arg text to generic blendMode capture.
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
Not the View modifier; configures a zoom matched-transition source. Config protocol not modeled; survives as source text only.
iOS iOS 18macOS macOS 15
MatchedTransitionSourceConfiguration.clipShape(_:)
public func clipShape(_ shape: RoundedRectangle) -> some MatchedTransitionSourceConfiguration
Matched-transition-source clip, not View.clipShape. Config protocol not modeled; survives as source text only.
iOS iOS 18macOS macOS 15
MatchedTransitionSourceConfiguration.background(_:)
public func background(_ style: Color) -> some MatchedTransitionSourceConfiguration
Matched-transition-source background color, not View.background. Config protocol not modeled; survives as source text only.
iOS iOS 18macOS macOS 15
SurroundingsEffect.colorMultiply(_:)
public static func colorMultiply(_ color: Color) -> SurroundingsEffect
visionOS/macOS passthrough-tint effect (iOS unavailable), via preferredSurroundingsEffect. Not a View modifier; source text only.
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·6·30
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-only 3D modifier; absent from both dumps and catalog. Not modeled; survives as source text only.
iOSmacOS
View.transform3DEffect(_:)
nonisolated public func transform3DEffect(_ transform: AffineTransform3D) -> some View
visionOS-only 3D affine modifier; not in either dump or catalog. Not modeled; survives as source text only.
iOSmacOS
ProjectionTransform
@frozen public struct ProjectionTransform : Equatable
SwiftUICore value type, only referenced (never declared) in dumps; not in catalog. Not modeled; survives as source text only.
iOSmacOS
ProjectionTransform.init()
@inlinable public init()
Identity init. ProjectionTransform absent from dumps and catalog. Not modeled; survives as source text only.
iOSmacOS
ProjectionTransform.init(_:) [CGAffineTransform]
@inlinable public init(_ m: CGAffineTransform)
From 2D affine. Type not in dumps/catalog. Not modeled; survives as source text only.
iOSmacOS
ProjectionTransform.init(_:) [CATransform3D]
@inlinable public init(_ m: CATransform3D)
From 3D transform. Type not in dumps/catalog. Not modeled; survives as source text only.
iOSmacOS
ProjectionTransform.m11 ... m33
public var m11: CGFloat; ... public var m33: CGFloat (9 matrix elements)
3x3 matrix storage. ProjectionTransform absent from dumps/catalog. Not modeled; survives as source text only.
iOSmacOS
ProjectionTransform.isIdentity
@inlinable public var isIdentity: Bool { get }
Type not in dumps/catalog. Not modeled; survives as source text only.
iOSmacOS
ProjectionTransform.isAffine
@inlinable public var isAffine: Bool { get }
Type not in dumps/catalog. Not modeled; survives as source text only.
iOSmacOS
ProjectionTransform.invert()
@inlinable @discardableResult public mutating func invert() -> Bool
Type not in dumps/catalog. Not modeled; survives as source text only.
iOSmacOS
ProjectionTransform.inverted()
@inlinable public func inverted() -> ProjectionTransform
Type not in dumps/catalog. Not modeled; survives as source text only.
iOSmacOS
ProjectionTransform.concatenating(_:)
@inlinable public func concatenating(_ rhs: ProjectionTransform) -> ProjectionTransform
Matrix compose. Type not in dumps/catalog. Not modeled; survives as source text only.
iOSmacOS
MatchedGeometryProperties
@frozen public struct MatchedGeometryProperties : OptionSet
SwiftUICore OptionSet, absent from dumps and catalog; the properties arg is opaque to lowering. Not modeled; source text only.
iOSmacOS
MatchedGeometryProperties.init(rawValue:)
public init(rawValue: UInt32)
OptionSet raw init. Type not in dumps/catalog. Not modeled; survives as source text only.
iOSmacOS
MatchedGeometryProperties.position
public static let position: MatchedGeometryProperties
Option case. Type not in dumps/catalog; default .frame used in calls is opaque. Not modeled; source text only.
iOSmacOS
MatchedGeometryProperties.size
public static let size: MatchedGeometryProperties
Option case. Type not in dumps/catalog. Not modeled; survives as source text only.
iOSmacOS
MatchedGeometryProperties.frame
public static let frame: MatchedGeometryProperties
Default option (position+size). Type not in dumps/catalog. Not modeled; survives as source text only.
iOSmacOS
GeometryEffect
public protocol GeometryEffect : Animatable, ViewModifier
SwiftUICore protocol for custom geometry effects; absent from dumps and catalog; not executed. Not modeled; source text only.
iOSmacOS
GeometryEffect.effectValue(size:)
func effectValue(size: CGSize) -> ProjectionTransform
Sole protocol requirement; returns a ProjectionTransform per layout size. Protocol not executed by lowering. Not modeled; source text only.
iOSmacOS
View.geometryEffect [via .modifier(GeometryEffect)]
public func ignoredByLayout() -> _IgnoredByLayoutEffect<Self> (on GeometryEffect)
GeometryEffect.ignoredByLayout() helper; applied via .modifier. Protocol+helper absent from dumps/catalog. Not modeled; source text only.
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
Config protocol in dumps (iOS line 18842) but not in catalog/coverage; style protocols not executed. Not modeled; source text only.
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 (iOS line 18857). Protocol not executed; not catalogued. Not modeled; survives as source text only.
iOS iOS 18macOS macOS 15
MatchedTransitionSourceConfiguration.clipShape(_:)
public func clipShape(_ shape: RoundedRectangle) -> some MatchedTransitionSourceConfiguration
Config builder method (iOS line 18865). Protocol not executed; not catalogued. Not modeled; survives as source text only.
iOS iOS 18macOS macOS 15
MatchedTransitionSourceConfiguration.background(_:)
public func background(_ style: Color) -> some MatchedTransitionSourceConfiguration
Config builder method (iOS line 18877). Protocol not executed; not catalogued. Not modeled; survives as source text only.
iOS iOS 18macOS macOS 15
EmptyMatchedTransitionSourceConfiguration
public struct EmptyMatchedTransitionSourceConfiguration : MatchedTransitionSourceConfiguration
Unstyled config (iOS line 11480). Value type, not in catalog/coverage. Not modeled; survives as source text only.
iOS iOS 18macOS macOS 15
NavigationTransition.zoom(sourceID:in:)
public static func zoom(sourceID: some Hashable, in namespace: Namespace.ID) -> ZoomNavigationTransition
Zoom factory (iOS line 21444), pairs with matchedTransitionSource; absent from macOS dump, not catalogued. Not modeled; source text only.
iOS iOS 18macOS
ZoomNavigationTransition
public struct ZoomNavigationTransition : NavigationTransition
Zoom transition type (iOS line 52579); iOS-only, absent from macOS dump and catalog. Not modeled; survives as source text only.
iOS iOS 18macOS
Angle
@frozen public struct Angle : Equatable, Comparable, Hashable, Sendable
SwiftUICore angle used by rotation modifiers; referenced but never declared in dumps; not catalogued. Not modeled; source text only.
iOSmacOS
Angle.degrees(_:) / .radians(_:)
public static func degrees(_ degrees: Double) -> Angle; public static func radians(_ radians: Double) -> Angle
Angle factories passed to rotation modifiers; type absent from dumps/catalog. Numeric not lowered into arg; source text only.
iOSmacOS
UnitPoint
@frozen public struct UnitPoint : Hashable, Sendable
anchor: arg type for rotation/scale/matchedGeometry; referenced but not declared in dumps; not catalogued. Not modeled; source text only.
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·84·8
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?
SwiftUICore decl. Optional-promotion transform not modeled; survives as call/expr text only.
iOSmacOS
Binding.init?(_:) optional-unwrap
public init?(_ base: Binding<Value?>)
SwiftUICore decl. Failable optional-unwrap binding transform not modeled; source text only.
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>
SwiftUICore decl. Transaction attach on a binding not modeled; no transaction runtime.
iOSmacOS
Binding.animation(_:)
public func animation(_ animation: Animation? = .default) -> Binding<Value>
SwiftUICore decl. Implicit-animation binding wrapper not modeled; animation execution not implemented.
iOSmacOS
Binding.id (Identifiable)
public var id: Value.ID { get }
SwiftUICore decl. Identifiable conformance on Binding 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 }
Combine module, not in dump. Change publisher requirement not modeled; no invalidation runtime in UIIR.
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 }
Combine module, not in dump. $-Publisher projection not modeled; no publisher object 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()
SwiftUICore decl. Per-frame update hook not modeled; UIIR is a static capture, no property update phase.
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·39·97
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
not modeled; survives as source text only
iOSmacOS
EnvironmentValues.subscript(WritableKeyPath)
public subscript<V>(keyPath: WritableKeyPath<EnvironmentValues, V>) -> V
not modeled; survives as source text only
iOSmacOS
EnvironmentKey
public protocol EnvironmentKey
not modeled; style/key protocols not executed. Survives as source text only
iOSmacOS
EnvironmentKey.defaultValue
static var defaultValue: Self.Value { get }
not modeled; survives as source text only
iOSmacOS
EnvironmentKey.Value
associatedtype Value
not modeled; survives as source text only
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
not modeled; key protocols not executed. Survives as source text only
iOSmacOS
PreferenceKey.defaultValue
static var defaultValue: Self.Value { get }
not modeled; survives as source text only
iOSmacOS
PreferenceKey.reduce(value:nextValue:)
static func reduce(value: inout Self.Value, nextValue: () -> Self.Value)
not modeled; survives as source text only
iOSmacOS
PreferenceKey.Value
associatedtype Value
not modeled; survives as source text only
iOSmacOS
Anchor
@frozen public struct Anchor<Value>
not modeled; value type, survives as source text only. Decl in SwiftUICore, absent from dump.
iOSmacOS
Anchor.Source
@frozen public struct Source
not modeled; survives as source text only
iOSmacOS
Anchor.Source.bounds
public static var bounds: Anchor<CGRect>.Source { get }
not modeled; survives as source text only
iOSmacOS
Anchor.Source.point(_:)
public static func point(_ p: CGPoint) -> Anchor<CGPoint>.Source
not modeled; survives as source text only
iOSmacOS
Anchor.Source.rect(_:)
public static func rect(_ r: CGRect) -> Anchor<CGRect>.Source
not modeled; survives as source text only
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
not modeled; enum decl absent from dump, survives as enum-case arg text only
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
not modeled; enum decl absent from dump, survives as source text only
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
not modeled; enum decl absent from dump, survives as source text only
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 }
not modeled; key absent from dump, survives as source text only
iOSmacOS
EnvironmentValues.colorSchemeContrast
public var colorSchemeContrast: ColorSchemeContrast { get }
not modeled; key absent from dump, survives as source text only
iOSmacOS
EnvironmentValues.accessibilityReduceMotion
public var accessibilityReduceMotion: Bool { get }
not modeled; key absent from dump, survives as source text only
iOSmacOS
EnvironmentValues.accessibilityReduceTransparency
public var accessibilityReduceTransparency: Bool { get }
not modeled; key absent from dump, survives as source text only
iOSmacOS
EnvironmentValues.accessibilityDifferentiateWithoutColor
public var accessibilityDifferentiateWithoutColor: Bool { get }
not modeled; key absent from dump, survives as source text only
iOSmacOS
EnvironmentValues.accessibilityInvertColors
public var accessibilityInvertColors: Bool { get }
not modeled; key absent from dump, survives as source text only
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 }
not modeled; key absent from dump, survives as source text only
iOSmacOS
EnvironmentValues.openURL
public var openURL: OpenURLAction { get }
not modeled; key + OpenURLAction absent from dump (SwiftUICore), survives as source text only
iOSmacOS
OpenURLAction
@MainActor @preconcurrency public struct OpenURLAction
not modeled; runtime action object, decl absent from dump. Survives as source text only
iOSmacOS
EnvironmentValues.openWindow
public var openWindow: OpenWindowAction { get }
not modeled; runtime action object. Key present in dump but no UIIR action model; survives as source text only
iOS iOS 16macOS macOS 13
OpenWindowAction
@MainActor @preconcurrency public struct OpenWindowAction
not modeled; runtime action object with callAsFunction. Survives as source text only
iOS iOS 16macOS macOS 13
OpenWindowAction.callAsFunction(id:)
public func callAsFunction(id: String)
not modeled; survives as source text only
iOS iOS 16macOS macOS 13
OpenWindowAction.callAsFunction(value:)
public func callAsFunction<D>(value: D) where D : Decodable, D : Encodable, D : Hashable
not modeled; survives as source text only
iOS iOS 16macOS macOS 13
EnvironmentValues.dismissWindow
public var dismissWindow: DismissWindowAction { get }
not modeled; runtime action object. Survives as source text only
iOS iOS 17macOS macOS 14
DismissWindowAction
@MainActor @preconcurrency public struct DismissWindowAction
not modeled; runtime action object with callAsFunction. Survives as source text only
iOS iOS 17macOS macOS 14
EnvironmentValues.scenePhase
public var scenePhase: ScenePhase { get set }
not modeled as runtime; key present in dump but @Environment read inert. Survives as source text only
iOS iOS 14macOS macOS 11
ScenePhase
public enum ScenePhase : Comparable
not modeled; enum present in dump but no lifecycle runtime. Cases .active/.inactive/.background survive as text only
iOS iOS 14macOS macOS 11
EnvironmentValues.dismiss
public var dismiss: DismissAction { get }
not modeled; runtime action object. @Environment(.dismiss) read inert; survives as source text only
iOS iOS 15macOS macOS 12
DismissAction
@MainActor @preconcurrency public struct DismissAction
not modeled; runtime action (DismissAction stub registered but dismissal runtime absent). Survives as source text only
iOS iOS 15macOS macOS 12
DismissAction.callAsFunction()
@MainActor @preconcurrency public func callAsFunction()
not modeled; dismiss() call survives as source/action-call text, no presentation runtime
iOS iOS 15macOS macOS 12
EnvironmentValues.dismissSearch
public var dismissSearch: DismissSearchAction { get }
not modeled; runtime action object. Survives as source text only
iOS iOS 15macOS macOS 12
DismissSearchAction
@MainActor @preconcurrency public struct DismissSearchAction
not modeled; runtime action object with callAsFunction. Survives as source text only
iOS iOS 15macOS macOS 12
EnvironmentValues.isPresented
public var isPresented: Bool { get }
not modeled; @Environment read inert (no presentation runtime). Survives as source text only
iOS iOS 15macOS macOS 12
EnvironmentValues.isSearching
public var isSearching: Bool { get }
not modeled; @Environment read inert. Survives as source text only
iOS iOS 15macOS macOS 12
EnvironmentValues.isFocused
public var isFocused: Bool { get }
not modeled; @Environment read inert. Survives as source text only
iOS iOS 14macOS macOS 11
EnvironmentValues.isScrollEnabled
public var isScrollEnabled: Bool { get set }
not modeled; @Environment read inert. Survives as source text only
iOS iOS 16macOS macOS 13
EnvironmentValues.isFocusEffectEnabled
public var isFocusEffectEnabled: Bool { get set }
not modeled; @Environment read inert. Survives as source text only
iOS iOS 17macOS macOS 14
EnvironmentValues.refresh
public var refresh: RefreshAction? { get }
not modeled; runtime action object. RefreshAction reachable via .refreshable() actionIR but env read inert. Survives as source text only
iOS iOS 15macOS macOS 12
RefreshAction
public struct RefreshAction : Sendable
not modeled; runtime action object. Survives as source text only
iOS iOS 15macOS macOS 12
EnvironmentValues.rename
public var rename: RenameAction? { get }
not modeled; runtime action object. Survives as source text only
iOS iOS 16macOS macOS 13
RenameAction
public struct RenameAction
not modeled; runtime action object with callAsFunction. Survives as source text only
iOS iOS 16macOS macOS 13
EnvironmentValues.editMode
public var editMode: Binding<EditMode>? { get set }
not modeled (iOS-only); @Environment(.editMode) read inert. Survives as source text only
iOS iOS 13macOS
EditMode
public enum EditMode : Sendable
not modeled; iOS-only enum (.inactive/.transient/.active). Survives as source text only
iOS iOS 13macOS
EditMode.isEditing
public var isEditing: Bool { get }
not modeled; survives as source text only
iOS iOS 13macOS
EnvironmentValues.managedObjectContext
public var managedObjectContext: NSManagedObjectContext { get set }
not modeled; CoreData out of scope. @Environment read inert; survives as source text only
iOS iOS 13macOS macOS 10.15
EnvironmentValues.undoManager
public var undoManager: UndoManager? { get }
not modeled; @Environment read inert. Survives as source text only
iOS iOS 13macOS macOS 10.15
EnvironmentValues.presentationMode
public var presentationMode: Binding<PresentationMode> { get }
not modeled (deprecated; use dismiss). @Environment read inert. Survives as source text only
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 }
not modeled; env read inert (set via .scrollIndicators generic UIMod). Survives as source text only
iOS iOS 16macOS macOS 13
EnvironmentValues.verticalScrollIndicatorVisibility
public var verticalScrollIndicatorVisibility: ScrollIndicatorVisibility { get set }
not modeled; env read inert. Survives as source text only
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 }
not modeled; env read inert (set via autocorrectionDisabled generic UIMod). Survives as source text only
iOS iOS 13macOS macOS 10.15
EnvironmentValues.disableAutocorrection
public var disableAutocorrection: Bool? { get }
not modeled; deprecated (renamed autocorrectionDisabled). Survives as source text only
iOS allmacOS all
EnvironmentValues.menuOrder
public var menuOrder: MenuOrder { get set }
Environment read remains inert; the menuOrder(_:) modifier now has dedicated typed semantic capture. Survives as source text outside modifier context.
iOS allmacOS all
EnvironmentValues.menuIndicatorVisibility
public var menuIndicatorVisibility: Visibility { get set }
Environment read remains inert; the menuIndicator(_:) modifier now has dedicated typed semantic capture. Survives as source text outside modifier context.
iOS allmacOS all
EnvironmentValues.labelsVisibility
public var labelsVisibility: Visibility { get set }
not modeled; env read inert (labelsHidden semantic UIMod is the writer). Survives as source text only
iOS allmacOS all
EnvironmentValues.badgeProminence
public var badgeProminence: BadgeProminence { get set }
not modeled; env read inert (badgeProminence generic UIMod is writer). Survives as source text only
iOS allmacOS all
EnvironmentValues.textSelectionAffinity
public var textSelectionAffinity: TextSelectionAffinity { get set }
not modeled; env read inert. Survives as source text only
iOS allmacOS all
EnvironmentValues.keyboardShortcut
public var keyboardShortcut: KeyboardShortcut? { get }
not modeled; env read inert. Survives as source text only
iOS iOS 15macOS macOS 12
EnvironmentValues.navigationLinkIndicatorVisibility
public var navigationLinkIndicatorVisibility: Visibility { get set }
Environment read remains inert; the navigationLinkIndicatorVisibility(_:) modifier now has dedicated navigation metadata. Survives as source text outside modifier context.
iOS iOS 17macOS macOS 14
EnvironmentValues.supportsMultipleWindows
public var supportsMultipleWindows: Bool { get }
not modeled; env read inert. Survives as source text only
iOS iOS 16macOS macOS 13
EnvironmentValues.searchSuggestionsPlacement
public var searchSuggestionsPlacement: SearchSuggestionsPlacement { get }
not modeled; env read inert. Survives as source text only
iOS iOS 16macOS macOS 13
EnvironmentValues.springLoadingBehavior
public var springLoadingBehavior: SpringLoadingBehavior { get set }
not modeled; env read inert (springLoadingBehavior generic UIMod is writer). Survives as source text only
iOS iOS 17macOS macOS 14
EnvironmentValues.buttonRepeatBehavior
public var buttonRepeatBehavior: ButtonRepeatBehavior { get set }
Environment read remains inert; the buttonRepeatBehavior(_:) modifier now has dedicated typed semantic capture. Survives as source text outside modifier context.
iOS iOS 17macOS macOS 14
EnvironmentValues.writingToolsBehavior
public var writingToolsBehavior: WritingToolsBehavior? { get set }
not modeled; env read inert. Survives as source text only
iOS iOS 18macOS macOS 15
EnvironmentValues.accessibilityVoiceOverEnabled
public var accessibilityVoiceOverEnabled: Bool { get }
not modeled; no accessibility runtime. Survives as source text only
iOS iOS 15macOS macOS 12
EnvironmentValues.accessibilitySwitchControlEnabled
public var accessibilitySwitchControlEnabled: Bool { get }
not modeled; no accessibility runtime. Survives as source text only
iOS iOS 15macOS macOS 12
EnvironmentValues.accessibilityLargeContentViewerEnabled
public var accessibilityLargeContentViewerEnabled: Bool { get }
not modeled; no accessibility runtime. Survives as source text only
iOS iOS 15macOS macOS 12
EnvironmentValues.accessibilityQuickActionsEnabled
public var accessibilityQuickActionsEnabled: Bool { get }
not modeled; no accessibility runtime. Survives as source text only
iOS iOS 16macOS macOS 13
EnvironmentValues.accessibilityAssistiveAccessEnabled
public var accessibilityAssistiveAccessEnabled: Bool { get }
not modeled; no accessibility runtime. Survives as source text only
iOS iOS 18macOS macOS 15
EnvironmentValues.documentConfiguration
public var documentConfiguration: DocumentConfiguration? { get }
not modeled; document integration out of scope. Survives as source text only
iOS allmacOS all
EnvironmentValues.findContext
public var findContext: FindContext? { get }
not modeled; env read inert. Survives as source text only
iOS allmacOS all
EnvironmentValues.defaultMinListRowHeight
public var defaultMinListRowHeight: CGFloat { get set }
not modeled; env read inert. Survives as source text only
iOS allmacOS all
EnvironmentValues.defaultMinListHeaderHeight
public var defaultMinListHeaderHeight: CGFloat? { get set }
not modeled; env read inert. Survives as source text only
iOS allmacOS all
EnvironmentValues.preferredPencilDoubleTapAction
public var preferredPencilDoubleTapAction: PencilPreferredAction { get }
not modeled; env read inert. Survives as source text only
iOS iOS 17.5macOS macOS 14.5
EnvironmentValues.preferredPencilSqueezeAction
public var preferredPencilSqueezeAction: PencilPreferredAction { get }
not modeled; env read inert. Survives as source text only
iOS iOS 17.5macOS macOS 14.5
EnvironmentValues.openDocument
public var openDocument: OpenDocumentAction { get }
not modeled (macOS-only); runtime action object. Survives as source text only
iOSmacOS macOS 13
OpenDocumentAction
@MainActor public struct OpenDocumentAction
not modeled; macOS-only runtime action object. Survives as source text only
iOSmacOS macOS 13
EnvironmentValues.newDocument
public var newDocument: NewDocumentAction { get }
not modeled (macOS-only); runtime action object. Survives as source text only
iOSmacOS macOS 13
NewDocumentAction
@MainActor @preconcurrency public struct NewDocumentAction
not modeled; macOS-only runtime action object. Survives as source text only
iOSmacOS macOS 13
EnvironmentValues.openSettings
public var openSettings: OpenSettingsAction { get }
not modeled (macOS-only); runtime action object. Survives as source text only
iOSmacOS macOS 14
OpenSettingsAction
@MainActor @preconcurrency public struct OpenSettingsAction
not modeled; macOS-only runtime action object. Survives as source text only
iOSmacOS macOS 14
EnvironmentValues.resetFocus
public var resetFocus: ResetFocusAction { get }
not modeled (macOS/non-iOS); runtime action object. Survives as source text only
iOSmacOS macOS 12
ResetFocusAction
public struct ResetFocusAction
not modeled; runtime action object (iOS unavailable). Survives as source text only
iOSmacOS macOS 12
EnvironmentValues.openImmersiveSpace
public var openImmersiveSpace: OpenImmersiveSpaceAction { get }
not modeled; visionOS/macOS runtime action object. Survives as source text only
iOSmacOS macOS 26
OpenImmersiveSpaceAction
@MainActor public struct OpenImmersiveSpaceAction : Sendable
not modeled; visionOS runtime action object. Survives as source text only
iOSmacOS macOS 26
EnvironmentValues.dismissImmersiveSpace
public var dismissImmersiveSpace: DismissImmersiveSpaceAction { get }
not modeled; visionOS/macOS runtime action object. Survives as source text only
iOSmacOS macOS 26
DismissImmersiveSpaceAction
@MainActor public struct DismissImmersiveSpaceAction
not modeled; visionOS runtime action object. Survives as source text only
iOSmacOS macOS 26
EnvironmentValues.supportsRemoteScenes
public var supportsRemoteScenes: Bool { get }
not modeled; env read inert. Survives as source text only
iOS iOS 26macOS macOS 26
EnvironmentValues.isSceneCaptured
public var isSceneCaptured: Bool { get }
not modeled; env read inert. Survives as source text only
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
not modeled; value type, decl absent from dump (SwiftUICore). Survives as source text only
iOSmacOS
DynamicProperty
public protocol DynamicProperty
not modeled; wrapper-conformance protocol not executed. Decl absent from dump. Survives as source text only
iOSmacOS

16. Storage / focus / other wrappers

40·77·12
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
not modeled; nested dynamic-member-lookup wrapper survives as source text only.
iOS iOS 16macOS macOS 13
FocusedObject.Wrapper.subscript(dynamicMember:)
public subscript<T>(dynamicMember keyPath: ReferenceWritableKeyPath<ObjectType, T>) -> Binding<T> { get }
not modeled; dynamic-member binding subscript survives as source text only.
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
not modeled; key-based focused-value subscript survives as source text only.
iOS iOS 14macOS macOS 11
FocusedValues.== (Equatable)
public static func == (lhs: FocusedValues, rhs: FocusedValues) -> Bool
not modeled; Equatable conformance survives as source text only.
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
not modeled; the updating-gesture wrapper survives as source text only, no recognizer.
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
not modeled; absent from both dumps and the catalog; unknown wrapper attribute, survives as source text only.
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 }
not modeled; nested CoreData config struct survives as source text only.
iOS iOS 15macOS macOS 12
FetchRequest.update()
@MainActor @preconcurrency public mutating func update()
not modeled; DynamicProperty update hook survives as source text only.
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 }
not modeled; nested sectioned config struct survives as source text only.
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 }
not modeled; survives as source text only.
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 }
not modeled; defaultFocus priority value type survives as source text only.
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
not modeled; AccessibilityFocusState technologies set survives as source text only.
iOS iOS 15macOS macOS 12

17. Gestures

45·41·45
Gesture (protocol)
public protocol Gesture { associatedtype Value; associatedtype Body : Gesture; var body: Self.Body { get } }
Gesture protocol is SwiftUICore; absent from both dumps and catalog. Not executed as a protocol; only captured via gesture(_:) payload.
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) }
Struct is SwiftUICore; absent from both dumps and view catalog. Captured only as gesture(_:) tap payload; no typed node; web renders tap.
iOSmacOS
SpatialTapGesture
public struct SpatialTapGesture : Gesture { public var count: Int; public var coordinateSpace: CoordinateSpace }
Not in view catalog; survives as gesture(_:) payload (tap-like). Web partial per gap matrix; no typed value/location lowering.
iOS iOS 16macOS macOS 13
SpatialTapGesture.init(count:coordinateSpace:)
init(count: Int = 1, coordinateSpace: CoordinateSpace = .local)
Deprecated CoordinateSpace init; gesture value-type init not modeled; survives as source text in gesture chain only.
iOS iOS 16 depmacOS macOS 13 dep
SpatialTapGesture.init(count:coordinateSpace:) (proto)
init(count: Int = 1, coordinateSpace: some CoordinateSpaceProtocol = .local)
CoordinateSpaceProtocol init; gesture value-type init not modeled; survives as source text only.
iOS iOS 17macOS macOS 14
SpatialTapGesture.Value
public struct Value : Equatable, @unchecked Sendable { public var location: CGPoint }
Value sub-struct (location); not modeled as typed payload; survives as source text only.
iOS iOS 16macOS macOS 13
SpatialTapGesture.Value.location
public var location: CGPoint
not modeled; survives as source text only.
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)
Init args (minimumDuration/maximumDistance) survive within gesture call; web honors minimumDuration; no typed init node.
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
not modeled; survives as source text only.
iOS iOS 13macOS macOS 10.15
LongPressGesture.Value
public typealias Value = Bool
Bool value typealias; not modeled; survives as source text only.
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; args survive inline; web uses default drag tracking; no typed init node.
iOS iOS 13 depmacOS macOS 10.15 dep
DragGesture.init(minimumDistance:coordinateSpace:) (proto)
init(minimumDistance: CGFloat = 10, coordinateSpace: some CoordinateSpaceProtocol = .local)
CoordinateSpaceProtocol init; args survive inline; coordinateSpace not threaded; web drag works on default space.
iOS iOS 17macOS macOS 14
DragGesture.minimumDistance
public var minimumDistance: CGFloat
not modeled as field; survives as source text only.
iOS iOS 13macOS macOS 10.15
DragGesture.coordinateSpace
public var coordinateSpace: CoordinateSpace
not modeled; survives as source text only.
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
not modeled; survives as source text only.
iOS iOS 13macOS macOS 10.15
DragGesture.Value.location
public var location: CGPoint
Synthesized into the web gesture closure's local scope; not a typed payload field in UIIR.
iOS iOS 13macOS macOS 10.15
DragGesture.Value.startLocation
public var startLocation: CGPoint
Synthesized in web drag closure scope; not a typed UIIR field.
iOS iOS 13macOS macOS 10.15
DragGesture.Value.translation
public var translation: CGSize { get }
Web resolves value.translation in drag onChanged and feeds .offset; not a typed UIIR field.
iOS iOS 13macOS macOS 10.15
DragGesture.Value.velocity
public var velocity: CGSize { get }
not modeled; survives as source text only.
iOS iOS 13macOS macOS 10.15
DragGesture.Value.predictedEndLocation
public var predictedEndLocation: CGPoint { get }
not modeled; survives as source text only.
iOS iOS 13macOS macOS 10.15
DragGesture.Value.predictedEndTranslation
public var predictedEndTranslation: CGSize { get }
not modeled; survives as source text only.
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)
Value-type init not modeled; survives as source text in gesture chain only.
iOS iOS 17macOS macOS 14
MagnifyGesture.Value
public struct Value : Equatable, Sendable { var time; var magnification; var velocity; var startAnchor; var startLocation }
Magnify value struct not modeled as typed payload; web synthesizes magnification in closure but fields aren't typed; source text only.
iOS iOS 17macOS macOS 14
MagnifyGesture.Value.magnification
public var magnification: CGFloat
Resolved in web magnify closure scope; not a typed UIIR field.
iOS iOS 17macOS macOS 14
MagnifyGesture.Value.velocity / startAnchor / startLocation
public var velocity: CGFloat; var startAnchor: UnitPoint; var startLocation: CGPoint
not modeled; survives as source text only.
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)
Value-type init not modeled; survives as source text only.
iOS iOS 13 depmacOS macOS 10.15 dep
MagnificationGesture.Value
public typealias Value = CGFloat
CGFloat value typealias; not modeled; source text only.
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))
Value-type init not modeled; survives as source text only.
iOS iOS 17macOS macOS 14
RotateGesture.Value
public struct Value : Equatable, Sendable { var time; var rotation: Angle; var velocity: Angle; var startAnchor; var startLocation }
Rotate value struct not modeled as typed payload; web synthesizes rotation in closure but fields untyped; source text only.
iOS iOS 17macOS macOS 14
RotateGesture.Value.rotation
public var rotation: Angle
Resolved in web rotate closure scope; not a typed UIIR field.
iOS iOS 17macOS macOS 14
RotateGesture.Value.velocity / startAnchor / startLocation
public var velocity: Angle; var startAnchor: UnitPoint; var startLocation: CGPoint
not modeled; survives as source text only.
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))
Value-type init not modeled; source text only.
iOS iOS 13 depmacOS macOS 10.15 dep
RotationGesture.Value
public typealias Value = Angle
Angle value typealias; not modeled; source text only.
iOS iOS 13 depmacOS macOS 10.15 dep
SpatialEventGesture
public struct SpatialEventGesture : Gesture { public let coordinateSpace: CoordinateSpace; public init(coordinateSpace: ... = .local) }
visionOS-focused low-level event gesture; not in catalog, no payload kind; spatial gestures out of scope per gap matrix; source text only.
iOS iOS 18macOS macOS 15
SpatialEventGesture.init(coordinateSpace:)
init(coordinateSpace: any CoordinateSpaceProtocol = .local)
not modeled; survives as source text only.
iOS iOS 18macOS macOS 15
SpatialEventGesture.Value
public typealias Value = SpatialEventCollection
SpatialEventCollection value; not modeled; source text only.
iOS iOS 18macOS macOS 15
SpatialEventCollection
public struct SpatialEventCollection : Collection { ... }
Spatial event collection type; not modeled; out of scope; source text only.
iOS iOS 18macOS macOS 15
SequenceGesture
@frozen public struct SequenceGesture<First, Second> : Gesture where First : Gesture, Second : Gesture
Gesture composition type; not in catalog; sequenced composition not implemented (web/Android gap); source text only.
iOS iOS 13macOS macOS 10.15
SequenceGesture.init(_:_:)
@inlinable init(_ first: First, _ second: Second)
Composition init not modeled; survives as source text only.
iOS iOS 13macOS macOS 10.15
SequenceGesture.first / second
public var first: First; public var second: Second
not modeled; survives as source text only.
iOS iOS 13macOS macOS 10.15
SequenceGesture.Value
@frozen public enum Value { case first(First.Value); case second(First.Value, Second.Value?) }
Sequence value enum; not modeled; source text only.
iOS iOS 13macOS macOS 10.15
SimultaneousGesture
public struct SimultaneousGesture<First, Second> : Gesture { public struct Value }
SwiftUICore composition type; absent from both dumps and catalog; simultaneous composition not implemented; source text only.
iOSmacOS
ExclusiveGesture
public struct ExclusiveGesture<First, Second> : Gesture { public enum Value }
SwiftUICore composition type; absent from both dumps and catalog; exclusive composition not implemented; source text only.
iOSmacOS
GestureStateGesture
@frozen public struct GestureStateGesture<Base, State> : Gesture where Base : Gesture
Result of updating(_:body:); not modeled as a typed gesture; @GestureState wrapper is lowered but this wrapper-gesture is source text only.
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)
not modeled; survives as source text only.
iOS iOS 13macOS macOS 10.15
GestureStateGesture.base / state / body
public var base: Base; public var state: GestureState<State>; public var body: (...) -> Void
not modeled; survives as source text only.
iOS iOS 13macOS macOS 10.15
AnyGesture
public struct AnyGesture<Value> : Gesture { public init<T>(_ gesture: T) where Value == T.Value }
SwiftUICore type-erased gesture; absent from both dumps and catalog; not modeled; source text only.
iOSmacOS
GestureMask
public struct GestureMask : OptionSet { static let none/gesture/subviews/all }
SwiftUICore option set for including: arg; absent from both dumps and catalog; mask arg captured generically at most; not modeled.
iOSmacOS
Gesture.sequenced(before:)
@MainActor @inlinable func sequenced<Other>(before other: Other) -> SequenceGesture<Self, Other> where Other : Gesture
Gesture combinator present in dump; composition not implemented; survives as source text in gesture expression only.
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
SwiftUICore combinator (not in dump); composition not implemented; source text only.
iOSmacOS
Gesture.exclusively(before:)
func exclusively<Other>(before other: Other) -> ExclusiveGesture<Self, Other> where Other : Gesture
SwiftUICore combinator (not in dump); composition not implemented; source text only.
iOSmacOS
Gesture.map(_:)
func map<T>(_ body: @escaping (Self.Value) -> T) -> _MapGesture<Self, T>
SwiftUICore value-mapping combinator (not in dump); not modeled; source text only.
iOSmacOS
Gesture.modifiers(_:)
func modifiers(_ modifiers: EventModifiers) -> _ModifiersGesture<Self>
SwiftUICore event-modifier combinator (not in dump); not modeled; source text only.
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 { ... }
Pencil double-tap value type; not modeled; out of scope; source text only.
iOS iOS 17.5macOS macOS 14.5
HandGestureShortcut
public struct HandGestureShortcut : Sendable, Equatable { ... }
Hand gesture shortcut value type; visionOS-oriented; not modeled; survives as source text only.
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·34·86
Animation
@frozen public struct Animation : Equatable, Sendable
SwiftUICore type; absent from both dumps. No dedicated value lowering; survives as source text only.
iOS allmacOS all
Animation.default
public static let `default`: Animation
SwiftUICore static; absent from dumps. Curve fed into .animation modifier metadata but value type not modeled.
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
Modifier method on SwiftUICore Animation; not modeled. Survives as source text only.
iOS allmacOS all
Animation.repeatCount(_:autoreverses:)
public func repeatCount(_ repeatCount: Int, autoreverses: Bool = true) -> Animation
Repeat chaining on Animation; not modeled. Web tween is single-shot. Survives as source text only.
iOS allmacOS all
Animation.repeatForever(autoreverses:)
public func repeatForever(autoreverses: Bool = true) -> Animation
Not modeled; web tween has no repeat driver. Survives as source text only.
iOS allmacOS all
Animation.logicallyComplete(after:)
public func logicallyComplete(after duration: Double) -> Animation
SwiftUICore; absent from dumps. Not modeled; survives as source text only.
iOS iOS 17macOS macOS 14
withAnimation(_:_:)
public func withAnimation<Result>(_ animation: Animation? = .default, _ body: () throws -> Result) rethrows -> Result
Global SwiftUICore fn; absent from dumps. Body lowers as actionIR but the animation wrapper is not modeled.
iOS allmacOS all
withAnimation(_:completionCriteria:_:completion:)
public func withAnimation<Result>(_ animation: Animation = .default, completionCriteria: AnimationCompletionCriteria = .logicallyComplete, _ body: () throws -> Result, completion: @escaping () -> Void) rethrows -> Result
Absent from dumps; not modeled. Body may lower as action; completion ignored.
iOS iOS 17macOS macOS 14
AnimationCompletionCriteria
public struct AnimationCompletionCriteria : Hashable, Sendable
SwiftUICore; absent from dumps. Not modeled; survives as source text only.
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
SwiftUICore type-erased transition; absent from both dumps. Recognized only as .transition arg payload; value type not modeled.
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
SwiftUICore protocol; absent from dumps. Not executed as a protocol; survives as source text only.
iOS iOS 17macOS macOS 14
Transition.body(content:phase:)
func body(content: Self.Content, phase: TransitionPhase) -> Self.Body
Protocol requirement; not modeled. Survives as source text only.
iOS iOS 17macOS macOS 14
TransitionPhase
public enum TransitionPhase : Equatable, Hashable, Sendable
SwiftUICore enum (willAppear/identity/didDisappear); absent from dumps. Not modeled.
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()
Full Transaction decl absent from dumps; init not modeled. Survives as source text only.
iOS allmacOS all
Transaction.init(animation:)
public init(animation: Animation?)
Absent from dumps as a full decl; not modeled. Survives as source text only.
iOS allmacOS all
Transaction.animation
public var animation: Animation? { get set }
Transaction.animation property (SwiftUICore); not modeled. Survives as source text only.
iOS allmacOS all
Transaction.disablesAnimations
public var disablesAnimations: Bool { get set }
Not modeled; no transaction runtime. Survives as source text only.
iOS allmacOS all
Transaction.isContinuous
public var isContinuous: Bool { get set }
Not modeled. Survives as source text only.
iOS iOS 16macOS macOS 13
Transaction.dismissBehavior
public var dismissBehavior: DismissBehavior
Window-dismiss Transaction extension property in dump; not modeled. Survives as source text only.
iOS iOS 17macOS macOS 14
Transaction subscript(key:)
public subscript<K>(key: K.Type) -> K.Value where K : TransactionKey
Custom transaction-key access; not modeled. Survives as source text only.
iOS iOS 17macOS macOS 14
TransactionKey (protocol)
public protocol TransactionKey
SwiftUICore protocol; absent from dumps. Not executed as protocol; survives as source text only.
iOS iOS 17macOS macOS 14
withTransaction(_:_:)
public func withTransaction<Result>(_ transaction: Transaction, _ body: () throws -> Result) rethrows -> Result
Global SwiftUICore fn; absent from dumps. Body may lower as action; transaction wrapper not modeled.
iOS allmacOS all
withTransaction(_:_:_:) (keyPath)
public func withTransaction<R, V>(_ keyPath: WritableKeyPath<Transaction, V>, _ value: V, _ body: () throws -> R) rethrows -> R
KeyPath transaction form (used for dismissBehavior); not modeled. Survives as source text only.
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>
SwiftUICore result-builder protocol; absent from dumps. Not executed as protocol; survives as source text only.
iOS iOS 17macOS macOS 14
KeyframesBuilder
@resultBuilder public struct KeyframesBuilder<Value>
SwiftUICore result builder; absent from dumps. Not modeled; the keyframes closure survives as source text only.
iOS iOS 17macOS macOS 14
KeyframeTimeline
public struct KeyframeTimeline<Value> where Value : Animatable
SwiftUICore; absent from dumps. Not modeled; survives as source text only.
iOS iOS 17macOS macOS 14
KeyframeTrack
public struct KeyframeTrack<Root, Value, Content> : Keyframes where Value : Animatable, Content : KeyframeTrackContent
SwiftUICore keyframe track; absent from dumps. Not modeled; survives as source text only.
iOS iOS 17macOS macOS 14
KeyframeTrack.init(_:content:)
public init(_ keyPath: WritableKeyPath<Root, Value>, @KeyframeTrackContentBuilder<Value> content: () -> Content)
Absent from dumps; not modeled. Survives as source text only.
iOS iOS 17macOS macOS 14
KeyframeTrackContent (protocol)
public protocol KeyframeTrackContent<Value>
SwiftUICore protocol; absent from dumps. Not modeled; survives as source text only.
iOS iOS 17macOS macOS 14
CubicKeyframe
public struct CubicKeyframe<Value> : KeyframeTrackContent where Value : Animatable
SwiftUICore keyframe; absent from dumps. Not modeled; survives as source text only.
iOS iOS 17macOS macOS 14
CubicKeyframe.init(_:duration:startVelocity:endVelocity:)
public init(_ to: Value, duration: TimeInterval, startVelocity: Value? = nil, endVelocity: Value? = nil)
Absent from dumps; not modeled. Survives as source text only.
iOS iOS 17macOS macOS 14
LinearKeyframe
public struct LinearKeyframe<Value> : KeyframeTrackContent where Value : Animatable
SwiftUICore keyframe; absent from dumps. Not modeled; survives as source text only.
iOS iOS 17macOS macOS 14
LinearKeyframe.init(_:duration:timingCurve:)
public init(_ to: Value, duration: TimeInterval, timingCurve: UnitCurve = .linear)
Absent from dumps; not modeled. Survives as source text only.
iOS iOS 17macOS macOS 14
SpringKeyframe
public struct SpringKeyframe<Value> : KeyframeTrackContent where Value : Animatable
SwiftUICore keyframe; absent from dumps. Not modeled; survives as source text only.
iOS iOS 17macOS macOS 14
SpringKeyframe.init(_:duration:spring:startVelocity:)
public init(_ to: Value, duration: TimeInterval? = nil, spring: Spring = Spring(), startVelocity: Value? = nil)
Absent from dumps; not modeled. Survives as source text only.
iOS iOS 17macOS macOS 14
MoveKeyframe
public struct MoveKeyframe<Value> : KeyframeTrackContent where Value : Animatable
SwiftUICore keyframe; absent from dumps. Not modeled; survives as source text only.
iOS iOS 17macOS macOS 14
MoveKeyframe.init(_:)
public init(_ to: Value)
Absent from dumps; not modeled. Survives as source text only.
iOS iOS 17macOS macOS 14
KeyframeTrackContentBuilder
@resultBuilder public struct KeyframeTrackContentBuilder<Value>
SwiftUICore result builder; absent from dumps. Not modeled; closure survives as source text only.
iOS iOS 17macOS macOS 14
Spring
public struct Spring : Hashable, Sendable
SwiftUICore spring solver type; absent from dumps (only unrelated SpringLoadingBehavior present). Not modeled; survives as source text only.
iOS iOS 17macOS macOS 14
Spring.init(duration:bounce:)
public init(duration: Double = 0.5, bounce: Double = 0.0)
Absent from dumps; no spring physics. Survives as source text only.
iOS iOS 17macOS macOS 14
Spring.init(mass:stiffness:damping:)
public init(mass: Double = 1.0, stiffness: Double, damping: Double, allowOverDamping: Bool = false)
Absent from dumps; not modeled. Survives as source text only.
iOS iOS 17macOS macOS 14
Spring.value(target:initialVelocity:time:)
public func value(target: V, initialVelocity: V = .zero, time: TimeInterval) -> V where V : VectorArithmetic
Spring evaluation; not modeled, no solver. Survives as source text only.
iOS iOS 17macOS macOS 14
Spring.settlingDuration
public var settlingDuration: TimeInterval { get }
Absent from dumps; not modeled. Survives as source text only.
iOS iOS 17macOS macOS 14
ContentTransition
public struct ContentTransition : Equatable, Sendable
Value type only in dumps via symbolEffect extension. No dedicated lowering; survives as source text only.
iOS iOS 16macOS macOS 13
ContentTransition.identity
public static let identity: ContentTransition
Standalone value not modeled; when used in .contentTransition, the token is preserved under typed payload.transition.
iOS iOS 16macOS macOS 13
ContentTransition.opacity
public static let opacity: ContentTransition
Standalone value not modeled; when used in .contentTransition, the token is preserved under typed payload.transition.
iOS iOS 16macOS macOS 13
ContentTransition.interpolate
public static let interpolate: ContentTransition
Value not modeled. Survives as source text only.
iOS iOS 16macOS macOS 13
ContentTransition.numericText(countsDown:)
public static func numericText(countsDown: Bool = false) -> ContentTransition
Standalone value not modeled; .contentTransition(.numericText(...)) is preserved structurally under typed payload.transition. No numeric-text rolling runtime in lowering.
iOS iOS 16macOS macOS 13
ContentTransition.numericText(value:)
public static func numericText(value: Double) -> ContentTransition
Standalone value not modeled; .contentTransition(.numericText(value: ...)) is preserved structurally under typed payload.transition.
iOS iOS 17macOS macOS 14
ContentTransition.symbolEffect
public static var symbolEffect: ContentTransition { get }
In dump as ContentTransition extension; value not modeled. Survives as source text only.
iOS iOS 17macOS macOS 14
ContentTransition.symbolEffect(_:options:)
public static func symbolEffect<T>(_ effect: T, options: SymbolEffectOptions = .default) -> ContentTransition where T : ContentTransitionSymbolEffect, T : SymbolEffect
In dump; value not modeled, no symbol effect runtime. Survives as source text only.
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
SwiftUICore protocol; only referenced as constraint in dumps. Not executed as a protocol; survives as source text only.
iOS allmacOS all
Animatable.animatableData
var animatableData: Self.AnimatableData { get set }
Protocol requirement; no interpolation runtime. Survives as source text only.
iOS allmacOS all
Animatable.AnimatableData (associatedtype)
associatedtype AnimatableData : VectorArithmetic
Associated type; not modeled. Survives as source text only.
iOS allmacOS all
Animatable.animate(_:)
func animate<V>(_ keyPath: WritableKeyPath<Self, V>) where V : VectorArithmetic
Default-impl helper; not modeled. Survives as source text only.
iOS allmacOS all
AnimatableModifier (protocol)
public protocol AnimatableModifier : Animatable, ViewModifier
Deprecated in dump (use Animatable directly). Not executed as a protocol; survives as source text only.
iOS allmacOS all
VectorArithmetic (protocol)
public protocol VectorArithmetic : AdditiveArithmetic
SwiftUICore protocol; absent from dumps as a decl. Not executed; survives as source text only.
iOS allmacOS all
VectorArithmetic.scale(by:)
mutating func scale(by rhs: Double)
Protocol requirement; not modeled. Survives as source text only.
iOS allmacOS all
VectorArithmetic.magnitudeSquared
var magnitudeSquared: Double { get }
Protocol requirement; not modeled. Survives as source text only.
iOS allmacOS all
AnimatablePair
@frozen public struct AnimatablePair<First, Second> : VectorArithmetic where First : VectorArithmetic, Second : VectorArithmetic
SwiftUICore type; absent from dumps. Not modeled; survives as source text only.
iOS allmacOS all
AnimatablePair.init(_:_:)
@inlinable public init(_ first: First, _ second: Second)
Absent from dumps; not modeled. Survives as source text only.
iOS allmacOS all
EmptyAnimatableData
@frozen public struct EmptyAnimatableData : VectorArithmetic
Only appears as AnimatableData typealias in dumps (shapes/views). Not modeled; survives as source text only.
iOS allmacOS all
RepeatAnimation
public struct RepeatAnimation<Base> where Base : CustomAnimation
SwiftUICore custom-animation wrapper; absent from dumps. Not modeled; survives as source text only.
iOS iOS 17macOS macOS 14
CustomAnimation (protocol)
public protocol CustomAnimation : Hashable
SwiftUICore protocol underlying Spring/RepeatAnimation; absent from dumps. Not executed; survives as source text only.
iOS iOS 17macOS macOS 14
AnimationContext
public struct AnimationContext<Value> where Value : VectorArithmetic
CustomAnimation context; absent from dumps. Not modeled; survives as source text only.
iOS iOS 17macOS macOS 14
AnimationState
public struct AnimationState<Value> where Value : VectorArithmetic
CustomAnimation state bag; absent from dumps. Not modeled; survives as source text only.
iOS iOS 17macOS macOS 14
UnitCurve
public struct UnitCurve : Sendable
Referenced only as default arg in dumps (interactive timingCurve). Not modeled; survives as source text only.
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)
Schedule ctor; not modeled as a value. Survives as source text only.
iOS iOS 15macOS macOS 12
AnimationTimelineSchedule.entries(from:mode:)
public func entries(from start: Date, mode: TimelineScheduleMode) -> AnimationTimelineSchedule.Entries
Schedule requirement; no runtime evaluates entries. Survives as source text only.
iOS iOS 15macOS macOS 12
AnimationTimelineSchedule.Entries
public struct Entries : Sequence, IteratorProtocol, Sendable
Date sequence for the schedule; not modeled. Survives as source text only.
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
In dump; config value not modeled. Web-canvas matrix lists it among advanced anim types mostly unsupported. Survives as source text.
iOS iOS 17macOS macOS 14
ScrollTransitionConfiguration.animated(_:)
public static func animated(_ animation: Animation = .default) -> ScrollTransitionConfiguration
Value factory; not modeled. Survives as source text only.
iOS iOS 17macOS macOS 14
ScrollTransitionConfiguration.interactive(timingCurve:)
public static func interactive(timingCurve: UnitCurve = .easeInOut) -> ScrollTransitionConfiguration
Value factory; not modeled. Survives as source text only.
iOS iOS 17macOS macOS 14
ScrollTransitionConfiguration.identity
public static let identity: ScrollTransitionConfiguration
Value; not modeled. Survives as source text only.
iOS iOS 17macOS macOS 14
ScrollTransitionConfiguration.animation(_:)
public func animation(_ animation: Animation) -> ScrollTransitionConfiguration
Builder method on config value; not modeled. Survives as source text only.
iOS iOS 17macOS macOS 14
ScrollTransitionConfiguration.threshold(_:)
public func threshold(_ threshold: ScrollTransitionConfiguration.Threshold) -> ScrollTransitionConfiguration
Builder method; not modeled. Survives as source text only.
iOS iOS 17macOS macOS 14
ScrollTransitionConfiguration.Threshold
public struct Threshold
Threshold value type (visible/hidden/centered); not modeled. Survives as source text only.
iOS iOS 17macOS macOS 14
ScrollTransitionPhase
@frozen public enum ScrollTransitionPhase
Enum (topLeading/identity/bottomTrailing) for scroll transition closures; not modeled. Survives as source text only.
iOS iOS 17macOS macOS 14
ScrollTransitionPhase.value
public var value: Double { get }
Phase-derived scalar; not modeled. Survives as source text only.
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
In dump; not executed as a protocol. Survives as source text only.
iOS iOS 18macOS macOS 15
NavigationTransition.automatic
public static var automatic: AutomaticNavigationTransition { get }
Conformer value; not modeled. Survives as source text only.
iOS iOS 18macOS macOS 15
NavigationTransition.zoom(sourceID:in:)
public static func zoom(sourceID: some Hashable, in namespace: Namespace.ID) -> ZoomNavigationTransition
macOS-unavailable in dump. Conformer value; not modeled. Survives as source text only.
iOS iOS 18macOS
AutomaticNavigationTransition
public struct AutomaticNavigationTransition : NavigationTransition
In dump; not modeled. Survives as source text only.
iOS iOS 18macOS macOS 15
ZoomNavigationTransition
public struct ZoomNavigationTransition : NavigationTransition
macOS-unavailable; not modeled. Survives as source text only.
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
SwiftUICore config protocol; not executed. Survives as source text only.
iOS iOS 18macOS macOS 15
ContentTransitionSymbolEffect (protocol)
public protocol ContentTransitionSymbolEffect
Symbol-effect protocol for ContentTransition; not modeled. Survives as source text only.
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

21·23·120
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
associated type; not modeled, survives as source text only
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()
protocol requirement; not modeled, survives as source text only
iOS iOS 14macOS all
App.main()
@MainActor @preconcurrency public static func main()
@main launch entrypoint; no runtime, not modeled, survives as source text only
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
associated type; not modeled, survives as source text only
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
result-builder method; not modeled, survives as source text only
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
result-builder method; not modeled, survives as source text only
iOS iOS 14macOS all
CommandsBuilder.buildExpression(_:)
public static func buildExpression<Content>(_ content: Content) -> Content where Content : Commands
result-builder method; not modeled, survives as source text only
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, ...)
document launch-scene overloads; not modeled, survive as source text only
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
single-window scene; not in catalog, not modeled, survives as source text only
iOSmacOS macOS 13
Window.init(_:id:content:)
public init(_ title: Text, id: String, @ViewBuilder content: () -> Content)
not modeled; content closure may survive as raw source only
iOSmacOS macOS 13
UtilityWindow
public struct UtilityWindow<Content> : Scene where Content : View
utility-panel scene; not in catalog, not modeled, survives as source text only
iOSmacOS macOS 15
UtilityWindow.init(_:id:content:)
public init(_ title: Text, id: String, @ViewBuilder content: () -> Content)
not modeled, survives as source text only
iOSmacOS macOS 15
MenuBarExtra
public struct MenuBarExtra<Label, Content> : Scene where Label : View, Content : View
menu-bar scene; not in catalog, not modeled, survives as source text only
iOSmacOS macOS 13
MenuBarExtra.init(content:label:)
public init(@ViewBuilder content: () -> Content, @ViewBuilder label: () -> Label)
not modeled, survives as source text only
iOSmacOS macOS 13
MenuBarExtra.init(_:systemImage:content:)
nonisolated public init(_ titleKey: LocalizedStringKey, systemImage: String, @ViewBuilder content: () -> Content)
title+image overloads; not modeled, survive as source text only
iOSmacOS macOS 13
MenuBarExtra.init(isInserted:content:label:)
public init(isInserted: Binding<Bool>, @ViewBuilder content: () -> Content, @ViewBuilder label: () -> Label)
insertion-binding form; not modeled, survives as source text only
iOSmacOS macOS 13
MenuBarExtraStyle
public protocol MenuBarExtraStyle
style protocol; not executed, not modeled, survives as source text only
iOSmacOS macOS 13
AutomaticMenuBarExtraStyle
public struct AutomaticMenuBarExtraStyle : MenuBarExtraStyle
not modeled, survives as source text only
iOSmacOS macOS 13
PullDownMenuBarExtraStyle
public struct PullDownMenuBarExtraStyle : MenuBarExtraStyle
not modeled, survives as source text only
iOSmacOS macOS 13
WindowMenuBarExtraStyle
public struct WindowMenuBarExtraStyle : MenuBarExtraStyle
not modeled, survives as source text only
iOSmacOS macOS 13
MenuBarExtraStyle.menu
public static var menu: PullDownMenuBarExtraStyle { get }
not modeled, survives as source text only
iOSmacOS macOS 13
MenuBarExtraStyle.window
public static var window: WindowMenuBarExtraStyle { get }
not modeled, survives as source text only
iOSmacOS macOS 13
MenuBarExtraStyle.automatic
public static var automatic: AutomaticMenuBarExtraStyle { get }
not modeled, survives as source text only
iOSmacOS macOS 13
ScenePhase
public enum ScenePhase : Comparable
scene-phase enum read via @Environment; not in catalog, not modeled, survives as source text only
iOS iOS 14macOS all
ScenePhase.background
case background
enum case; not modeled, survives as source text only
iOS iOS 14macOS all
ScenePhase.inactive
case inactive
enum case; not modeled, survives as source text only
iOS iOS 14macOS all
ScenePhase.active
case active
enum case; not modeled, survives as source text only
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
associated type; not modeled, survives as source text only
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
placement value type; not in catalog, not modeled, survives as source text only
iOS iOS 14macOS all
CommandGroupPlacement.appInfo
public static let appInfo: CommandGroupPlacement
static placement; not modeled, survives as source text only
iOS iOS 14macOS all
CommandGroupPlacement.appSettings
public static let appSettings: CommandGroupPlacement
static placement; not modeled, survives as source text only
iOS iOS 14macOS all
CommandGroupPlacement.systemServices
public static let systemServices: CommandGroupPlacement
static placement; not modeled, survives as source text only
iOS iOS 14macOS all
CommandGroupPlacement.appVisibility
public static let appVisibility: CommandGroupPlacement
static placement; not modeled, survives as source text only
iOS iOS 14macOS all
CommandGroupPlacement.appTermination
public static let appTermination: CommandGroupPlacement
static placement; not modeled, survives as source text only
iOS iOS 14macOS all
CommandGroupPlacement.newItem
public static let newItem: CommandGroupPlacement
static placement; not modeled, survives as source text only
iOS iOS 14macOS all
CommandGroupPlacement.saveItem
public static let saveItem: CommandGroupPlacement
static placement; not modeled, survives as source text only
iOS iOS 14macOS all
CommandGroupPlacement.importExport
public static let importExport: CommandGroupPlacement
static placement; not modeled, survives as source text only
iOS iOS 14macOS all
CommandGroupPlacement.printItem
public static let printItem: CommandGroupPlacement
static placement; not modeled, survives as source text only
iOS iOS 14macOS all
CommandGroupPlacement.undoRedo
public static let undoRedo: CommandGroupPlacement
static placement; not modeled, survives as source text only
iOS iOS 14macOS all
CommandGroupPlacement.pasteboard
public static let pasteboard: CommandGroupPlacement
static placement; not modeled, survives as source text only
iOS iOS 14macOS all
CommandGroupPlacement.textEditing
public static let textEditing: CommandGroupPlacement
static placement; not modeled, survives as source text only
iOS iOS 14macOS all
CommandGroupPlacement.textFormatting
public static let textFormatting: CommandGroupPlacement
static placement; not modeled, survives as source text only
iOS iOS 14macOS all
CommandGroupPlacement.toolbar
public static let toolbar: CommandGroupPlacement
static placement; not modeled, survives as source text only
iOS iOS 14macOS all
CommandGroupPlacement.sidebar
public static let sidebar: CommandGroupPlacement
static placement; not modeled, survives as source text only
iOS iOS 14macOS all
CommandGroupPlacement.windowSize
public static let windowSize: CommandGroupPlacement
static placement; not modeled, survives as source text only
iOS iOS 14macOS all
CommandGroupPlacement.windowArrangement
public static let windowArrangement: CommandGroupPlacement
static placement; not modeled, survives as source text only
iOS iOS 14macOS all
CommandGroupPlacement.help
public static let help: CommandGroupPlacement
static placement; not modeled, survives as source text only
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; not in catalog, not modeled, survives as source text only
iOS iOS 14macOS all
ToolbarCommands.init()
public init()
not modeled, survives as source text only
iOS iOS 14macOS all
SidebarCommands
public struct SidebarCommands : Commands
standard command bundle; not in catalog, not modeled, survives as source text only
iOS iOS 14macOS all
SidebarCommands.init()
public init()
not modeled, survives as source text only
iOS iOS 14macOS all
TextEditingCommands
public struct TextEditingCommands : Commands
standard command bundle; not in catalog, not modeled, survives as source text only
iOS iOS 14macOS all
TextEditingCommands.init()
public init()
not modeled, survives as source text only
iOS iOS 14macOS all
TextFormattingCommands
public struct TextFormattingCommands : Commands
standard command bundle; not in catalog, not modeled, survives as source text only
iOS iOS 14macOS all
TextFormattingCommands.init()
public init()
not modeled, survives as source text only
iOS iOS 14macOS all
ImportFromDevicesCommands
public struct ImportFromDevicesCommands : Commands
macOS-only command bundle; not in catalog, not modeled, survives as source text only
iOSmacOS macOS 12
ImportFromDevicesCommands.init()
public init()
not modeled, survives as source text only
iOSmacOS macOS 12
WindowResizability
public struct WindowResizability : Sendable
resizability value type; not in catalog, not modeled, survives as source text only
iOS iOS 17macOS macOS 13
WindowResizability.automatic
public static var automatic: WindowResizability
static value; not modeled, survives as source text only
iOS iOS 17macOS macOS 13
WindowResizability.contentSize
public static var contentSize: WindowResizability
static value; not modeled, survives as source text only
iOS iOS 17macOS macOS 13
WindowResizability.contentMinSize
public static var contentMinSize: WindowResizability
static value; not modeled, survives as source text only
iOS iOS 17macOS macOS 13
KeyEquivalent
public struct KeyEquivalent : Sendable
key-equivalent value type; not in catalog, not modeled, survives as source text only
iOS iOS 14macOS all
KeyEquivalent.init(_:)
public init(_ character: Character)
not modeled, survives as source text only
iOS iOS 14macOS all
KeyEquivalent.character
public var character: Character
not modeled, survives as source text only
iOS iOS 14macOS all
KeyEquivalent.upArrow
public static let upArrow: KeyEquivalent
static key; not modeled, survives as source text only
iOS iOS 14macOS all
KeyEquivalent.downArrow
public static let downArrow: KeyEquivalent
static key; not modeled, survives as source text only
iOS iOS 14macOS all
KeyEquivalent.leftArrow
public static let leftArrow: KeyEquivalent
static key; not modeled, survives as source text only
iOS iOS 14macOS all
KeyEquivalent.rightArrow
public static let rightArrow: KeyEquivalent
static key; not modeled, survives as source text only
iOS iOS 14macOS all
KeyEquivalent.escape
public static let escape: KeyEquivalent
static key; not modeled, survives as source text only
iOS iOS 14macOS all
KeyEquivalent.delete
public static let delete: KeyEquivalent
static key; not modeled, survives as source text only
iOS iOS 14macOS all
KeyEquivalent.deleteForward
public static let deleteForward: KeyEquivalent
static key; not modeled, survives as source text only
iOS iOS 14macOS all
KeyEquivalent.home
public static let home: KeyEquivalent
static key; not modeled, survives as source text only
iOS iOS 14macOS all
KeyEquivalent.end
public static let end: KeyEquivalent
static key; not modeled, survives as source text only
iOS iOS 14macOS all
KeyEquivalent.pageUp
public static let pageUp: KeyEquivalent
static key; not modeled, survives as source text only
iOS iOS 14macOS all
KeyEquivalent.pageDown
public static let pageDown: KeyEquivalent
static key; not modeled, survives as source text only
iOS iOS 14macOS all
KeyEquivalent.clear
public static let clear: KeyEquivalent
static key; not modeled, survives as source text only
iOS iOS 14macOS all
KeyEquivalent.tab
public static let tab: KeyEquivalent
static key; not modeled, survives as source text only
iOS iOS 14macOS all
KeyEquivalent.space
public static let space: KeyEquivalent
static key; not modeled, survives as source text only
iOS iOS 14macOS all
KeyEquivalent.return
public static let `return`: KeyEquivalent
static key; not modeled, survives as source text only
iOS iOS 14macOS all
KeyEquivalent.init(extendedGraphemeClusterLiteral:)
public init(extendedGraphemeClusterLiteral: Character)
ExpressibleByExtendedGraphemeClusterLiteral conformance; not modeled, survives as source text only
iOS iOS 14macOS all
KeyboardShortcut
public struct KeyboardShortcut : Sendable
shortcut value type; not in catalog, not modeled, survives as source text only
iOS iOS 14macOS all
KeyboardShortcut.init(_:modifiers:)
public init(_ key: KeyEquivalent, modifiers: EventModifiers = .command)
not modeled, survives as source text only
iOS iOS 14macOS all
KeyboardShortcut.init(_:modifiers:localization:)
public init(_ key: KeyEquivalent, modifiers: EventModifiers = .command, localization: KeyboardShortcut.Localization)
not modeled, survives as source text only
iOS iOS 15macOS macOS 12
KeyboardShortcut.key
public var key: KeyEquivalent
not modeled, survives as source text only
iOS iOS 14macOS all
KeyboardShortcut.modifiers
public var modifiers: EventModifiers
not modeled, survives as source text only
iOS iOS 14macOS all
KeyboardShortcut.localization
public var localization: KeyboardShortcut.Localization
not modeled, survives as source text only
iOS iOS 15macOS macOS 12
KeyboardShortcut.defaultAction
public static let defaultAction: KeyboardShortcut
static value; not modeled, survives as source text only
iOS iOS 14macOS all
KeyboardShortcut.cancelAction
public static let cancelAction: KeyboardShortcut
static value; not modeled, survives as source text only
iOS iOS 14macOS all
KeyboardShortcut.Localization
public struct Localization : Sendable
nested localization value type; not modeled, survives as source text only
iOS iOS 15macOS macOS 12
KeyboardShortcut.Localization.automatic
public static let automatic: KeyboardShortcut.Localization
not modeled, survives as source text only
iOS iOS 15macOS macOS 12
KeyboardShortcut.Localization.withoutMirroring
public static let withoutMirroring: KeyboardShortcut.Localization
not modeled, survives as source text only
iOS iOS 15macOS macOS 12
KeyboardShortcut.Localization.custom
public static let custom: KeyboardShortcut.Localization
not modeled, survives as source text only
iOS iOS 15macOS macOS 12
Scene.defaultSize(_:)
nonisolated public func defaultSize(_ size: CGSize) -> some Scene
scene modifier; not in SW_UI_MODS catalog, not modeled, survives as source text only
iOS iOS 17macOS macOS 13
Scene.defaultSize(width:height:)
nonisolated public func defaultSize(width: CGFloat, height: CGFloat) -> some Scene
scene modifier; not catalogued, not modeled, survives as source text only
iOS iOS 17macOS macOS 13
Scene.defaultPosition(_:)
nonisolated public func defaultPosition(_ position: UnitPoint) -> some Scene
macOS-only scene modifier; not catalogued, not modeled, survives as source text only
iOSmacOS macOS 13
Scene.windowResizability(_:)
nonisolated public func windowResizability(_ resizability: WindowResizability) -> some Scene
scene modifier; not catalogued, not modeled, survives as source text only
iOS iOS 17macOS macOS 13
Scene.windowStyle(_:)
nonisolated public func windowStyle<S>(_ style: S) -> some Scene where S : WindowStyle
macOS-only scene modifier; not catalogued, not modeled, survives as source text only
iOSmacOS macOS 11
Scene.windowToolbarStyle(_:)
nonisolated public func windowToolbarStyle<S>(_ style: S) -> some Scene where S : WindowToolbarStyle
macOS-only scene modifier; not catalogued, not modeled, survives as source text only
iOSmacOS macOS 11
Scene.menuBarExtraStyle(_:)
nonisolated public func menuBarExtraStyle<S>(_ style: S) -> some Scene where S : MenuBarExtraStyle
macOS-only scene modifier; not catalogued, not modeled, survives as source text only
iOSmacOS macOS 13
Scene.commands(content:)
nonisolated public func commands<Content>(@CommandsBuilder content: () -> Content) -> some Scene where Content : Commands
scene commands modifier not in catalog; command closure body lowered structurally per coverage but modifier itself not modeled
iOS iOS 14macOS all
Scene.commandsRemoved()
nonisolated public func commandsRemoved() -> some Scene
scene modifier; not catalogued, not modeled, survives as source text only
iOS iOS 16macOS macOS 13
Scene.commandsReplaced(content:)
nonisolated public func commandsReplaced<Content>(@CommandsBuilder content: () -> Content) -> some Scene where Content : Commands
scene modifier; not catalogued, not modeled, survives as source text only
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
scene modifier; not catalogued, not modeled, survives as source text only
iOS iOS 18macOS macOS 15
Scene.defaultLaunchBehavior(_:)
nonisolated public func defaultLaunchBehavior(_ behavior: SceneLaunchBehavior) -> some Scene
macOS-only scene modifier; not catalogued, not modeled, survives as source text only
iOSmacOS macOS 15
Scene.windowLevel(_:)
nonisolated public func windowLevel(_ level: WindowLevel) -> some Scene
macOS-only scene modifier; not catalogued, not modeled, survives as source text only
iOSmacOS macOS 15
Scene.windowManagerRole(_:)
nonisolated public func windowManagerRole(_ role: WindowManagerRole) -> some Scene
macOS-only scene modifier; not catalogued, not modeled, survives as source text only
iOSmacOS macOS 15
Scene.windowIdealSize(_:)
nonisolated public func windowIdealSize(_ idealSize: WindowIdealSize) -> some Scene
macOS-only scene modifier; not catalogued, not modeled, survives as source text only
iOSmacOS macOS 15
Scene.windowBackgroundDragBehavior(_:)
nonisolated public func windowBackgroundDragBehavior(_ behavior: WindowInteractionBehavior) -> some Scene
macOS-only scene modifier; not catalogued, not modeled, survives as source text only
iOSmacOS macOS 15
Scene.defaultWindowPlacement(_:)
nonisolated public func defaultWindowPlacement(_ makePlacement: @escaping (WindowLayoutRoot, WindowPlacementContext) -> WindowPlacement) -> some Scene
macOS-only scene modifier; not catalogued, not modeled, survives as source text only
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
scene-level shortcut; scene UIMods not catalogued, not modeled, survives as source text only
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
style protocol; not executed, not modeled, survives as source text only
iOSmacOS macOS 11
WindowStyle.automatic
public static var automatic: DefaultWindowStyle { get }
not modeled, survives as source text only
iOSmacOS macOS 11
WindowStyle.titleBar
public static var titleBar: TitleBarWindowStyle { get }
not modeled, survives as source text only
iOSmacOS macOS 11
WindowStyle.hiddenTitleBar
public static var hiddenTitleBar: HiddenTitleBarWindowStyle { get }
not modeled, survives as source text only
iOSmacOS macOS 11
WindowStyle.plain
public static var plain: PlainWindowStyle { get }
not modeled, survives as source text only
iOSmacOS macOS 15
WindowToolbarStyle
public protocol WindowToolbarStyle
style protocol; not executed, not modeled, survives as source text only
iOSmacOS macOS 11
WindowToolbarStyle.automatic
public static var automatic: DefaultWindowToolbarStyle { get }
not modeled, survives as source text only
iOSmacOS macOS 11
WindowToolbarStyle.unified
public static var unified: UnifiedWindowToolbarStyle { get }
not modeled, survives as source text only
iOSmacOS macOS 11
WindowToolbarStyle.unifiedCompact
public static var unifiedCompact: UnifiedCompactWindowToolbarStyle { get }
not modeled, survives as source text only
iOSmacOS macOS 11
WindowToolbarStyle.expanded
public static var expanded: ExpandedWindowToolbarStyle { get }
not modeled, survives as source text only
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

21·0·190
View.buttonStyle(_:)
nonisolated public func buttonStyle<S>(_ style: S) -> some View where S : ButtonStyle
Dedicated semantic UI_SEMANTIC_BUTTON_STYLE; style value arg captured but concrete style not interpreted.
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 UI_SEMANTIC_BUTTON_STYLE, value arg lowered.
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; style value arg captured, concrete style not interpreted.
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; style arg lowered (buttonStyle recipe).
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; style arg lowered (buttonStyle recipe).
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; style arg lowered (buttonStyle recipe).
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
macOS-only scene modifier; not modeled; survives as source text only.
iOSmacOS macOS 13
ButtonStyle
@MainActor public protocol ButtonStyle { associatedtype Body : View; func makeBody(configuration: Self.Configuration) -> Self.Body }
Style protocol registered as stub kind but not executed; not in view/mod catalog; survives as source text only.
iOS iOS 13macOS macOS 10.15
ButtonStyle.makeBody(configuration:)
@ViewBuilder @MainActor func makeBody(configuration: Self.Configuration) -> Self.Body
Protocol requirement; makeBody body never lowered as UIIR; not modeled.
iOS iOS 13macOS macOS 10.15
ButtonStyleConfiguration
public struct ButtonStyleConfiguration { public let role: ButtonRole?; public let label: ButtonStyleConfiguration.Label; public let isPressed: Bool }
Config object; not modeled; survives as source text only.
iOS iOS 13macOS macOS 10.15
ButtonStyleConfiguration.Label
@MainActor public struct Label : View { public typealias Body = Never }
Type-erased config label view; not modeled; survives as source text only.
iOS iOS 13macOS macOS 10.15
PrimitiveButtonStyle
@MainActor public protocol PrimitiveButtonStyle { associatedtype Body : View; func makeBody(configuration: Self.Configuration) -> Self.Body }
Style protocol stub kind, not executed; survives as source text only.
iOS iOS 13macOS macOS 10.15
PrimitiveButtonStyleConfiguration
public struct PrimitiveButtonStyleConfiguration { public let role: ButtonRole?; public let label: Label; public func trigger() }
Config object incl trigger(); not modeled; survives as source text only.
iOS iOS 13macOS macOS 10.15
ToggleStyle
@MainActor public protocol ToggleStyle { associatedtype Body : View; func makeBody(configuration: Self.Configuration) -> Self.Body }
Style protocol stub kind, not executed; survives as source text only.
iOS iOS 13macOS macOS 10.15
ToggleStyleConfiguration
public struct ToggleStyleConfiguration { public let label: ToggleStyleConfiguration.Label; public var isOn: Bool; public var isMixed: Bool }
Config object; not modeled; survives as source text only.
iOS iOS 13macOS macOS 10.15
PickerStyle
public protocol PickerStyle { }
Marker style protocol stub kind, not executed; survives as source text only.
iOS iOS 13macOS macOS 10.15
DatePickerStyle
@MainActor public protocol DatePickerStyle { associatedtype Body : View; func makeBody(configuration: Self.Configuration) -> Self.Body }
Style protocol stub kind, not executed; survives as source text only.
iOS iOS 13macOS macOS 10.15
DatePickerStyleConfiguration
public struct DatePickerStyleConfiguration { public let label: DatePickerStyleConfiguration.Label; public var selection: Binding<Date> }
Config object; not modeled; survives as source text only.
iOS iOS 16macOS macOS 13
TextFieldStyle
public protocol TextFieldStyle { }
Marker style protocol stub kind, not executed; survives as source text only.
iOS iOS 13macOS macOS 10.15
ListStyle
public protocol ListStyle { }
Marker style protocol stub kind, not executed; survives as source text only.
iOS iOS 13macOS macOS 10.15
FormStyle
@MainActor public protocol FormStyle { associatedtype Body : View; func makeBody(configuration: Self.Configuration) -> Self.Body }
Style protocol stub kind, not executed; survives as source text only.
iOS iOS 16macOS macOS 13
FormStyleConfiguration
public struct FormStyleConfiguration { public var content: FormStyleConfiguration.Content }
Config object; not modeled; survives as source text only.
iOS iOS 16macOS macOS 13
MenuStyle
@MainActor public protocol MenuStyle { associatedtype Body : View; func makeBody(configuration: Self.Configuration) -> Self.Body }
Style protocol stub kind, not executed; survives as source text only.
iOS iOS 14macOS macOS 11
MenuStyleConfiguration
public struct MenuStyleConfiguration { public struct Label : View; public struct Content : View }
Config object; not modeled; survives as source text only.
iOS iOS 14macOS macOS 11
ControlGroupStyle
@MainActor public protocol ControlGroupStyle { associatedtype Body : View; func makeBody(configuration: Self.Configuration) -> Self.Body }
Style protocol stub kind, not executed; survives as source text only.
iOS iOS 15macOS macOS 12
ControlGroupStyleConfiguration
public struct ControlGroupStyleConfiguration { public let content: ControlGroupStyleConfiguration.Content }
Config object; not modeled; survives as source text only.
iOS iOS 15macOS macOS 12
LabelStyle
@MainActor public protocol LabelStyle { associatedtype Body : View; func makeBody(configuration: Self.Configuration) -> Self.Body }
Style protocol stub kind, not executed; survives as source text only.
iOS iOS 14macOS macOS 11
LabelStyleConfiguration
public struct LabelStyleConfiguration { public var icon: LabelStyleConfiguration.Icon; public var title: LabelStyleConfiguration.Title }
Config object; not modeled; survives as source text only.
iOS iOS 14macOS macOS 11
GaugeStyle
@MainActor public protocol GaugeStyle { associatedtype Body : View; func makeBody(configuration: Self.Configuration) -> Self.Body }
Style protocol stub kind, not executed; survives as source text only.
iOS iOS 16macOS macOS 13
GaugeStyleConfiguration
public struct GaugeStyleConfiguration { public var value: Double; public var label: Label; public var currentValueLabel: CurrentValueLabel? }
Config object; not modeled; survives as source text only.
iOS iOS 16macOS macOS 13
ProgressViewStyle
@MainActor public protocol ProgressViewStyle { associatedtype Body : View; func makeBody(configuration: Self.Configuration) -> Self.Body }
Style protocol stub kind, not executed; survives as source text only.
iOS iOS 14macOS macOS 11
ProgressViewStyleConfiguration
public struct ProgressViewStyleConfiguration { public let fractionCompleted: Double?; public var label: Label?; public var currentValueLabel: CurrentValueLabel? }
Config object; not modeled; survives as source text only.
iOS iOS 14macOS macOS 11
GroupBoxStyle
@MainActor public protocol GroupBoxStyle { associatedtype Body : View; func makeBody(configuration: Self.Configuration) -> Self.Body }
Style protocol stub kind, not executed; survives as source text only.
iOS iOS 14macOS macOS 11
GroupBoxStyleConfiguration
public struct GroupBoxStyleConfiguration { public let label: Label; public let content: Content }
Config object; not modeled; survives as source text only.
iOS iOS 14macOS macOS 11
TableStyle
@MainActor public protocol TableStyle { associatedtype Body; func makeBody(configuration: Self.Configuration) -> Self.Body }
Style protocol stub kind, not executed; survives as source text only.
iOS iOS 16macOS macOS 12
TableStyleConfiguration
public struct TableStyleConfiguration { }
Config object; not modeled; survives as source text only.
iOS iOS 16macOS macOS 12
NavigationSplitViewStyle
@MainActor public protocol NavigationSplitViewStyle { associatedtype Body : View; func makeBody(configuration: Self.Configuration) -> Self.Body }
Protocol stub kind; the navigationSplitViewStyle setter is modeled but the protocol is not executed.
iOS iOS 16macOS macOS 13
NavigationSplitViewStyleConfiguration
public struct NavigationSplitViewStyleConfiguration { }
Config object; not modeled; survives as source text only.
iOS iOS 16macOS macOS 13
DisclosureGroupStyle
@MainActor public protocol DisclosureGroupStyle { associatedtype Body : View; func makeBody(configuration: Self.Configuration) -> Self.Body }
Style protocol stub kind, not executed; survives as source text only.
iOS iOS 16macOS macOS 13
DisclosureGroupStyleConfiguration
public struct DisclosureGroupStyleConfiguration { public let label: Label; public let content: Content; public var isExpanded: Bool }
Config object; not modeled; survives as source text only.
iOS iOS 16macOS macOS 13
IndexViewStyle
public protocol IndexViewStyle { }
iOS-only marker protocol stub kind, not executed; survives as source text only.
iOS iOS 14macOS
TabViewStyle
@MainActor public protocol TabViewStyle { }
Marker style protocol stub kind, not executed; survives as source text only.
iOS iOS 14macOS macOS 11
NavigationViewStyle
public protocol NavigationViewStyle { }
Deprecated marker protocol; not modeled; survives as source text only.
iOS iOS 13 (deprecated)macOS macOS 10.15 (deprecated)
MenuButtonStyle
public protocol MenuButtonStyle { }
macOS-only deprecated protocol; not modeled; survives as source text only.
iOSmacOS macOS 10.15 (deprecated)
LabeledContentStyleConfiguration
public struct LabeledContentStyleConfiguration { public let label: Label; public let content: Content }
Config object; not modeled; survives as source text only.
iOS iOS 16macOS macOS 13
TextEditorStyleConfiguration
public struct TextEditorStyleConfiguration { }
Config object; not modeled; survives as source text only.
iOS iOS 17macOS macOS 14
PrimitiveButtonStyle.automatic
@MainActor public static var automatic: DefaultButtonStyle { get }
Concrete style accessor; value survives only as buttonStyle arg text, style not modeled.
iOS iOS 13macOS macOS 10.15
PrimitiveButtonStyle.bordered
@MainActor public static var bordered: BorderedButtonStyle { get }
Concrete style value; survives as buttonStyle arg text only; style not modeled.
iOS iOS 15macOS macOS 12
PrimitiveButtonStyle.borderedProminent
@MainActor public static var borderedProminent: BorderedProminentButtonStyle { get }
Concrete style value; survives as buttonStyle arg text only; style not modeled.
iOS iOS 15macOS macOS 12
PrimitiveButtonStyle.borderless
@MainActor public static var borderless: BorderlessButtonStyle { get }
Concrete style value; survives as buttonStyle arg text only; style not modeled.
iOS iOS 13macOS macOS 10.15
PrimitiveButtonStyle.plain
@MainActor public static var plain: PlainButtonStyle { get }
Concrete style value; survives as buttonStyle arg text only; style not modeled.
iOS iOS 13macOS macOS 10.15
PrimitiveButtonStyle.glass
@MainActor public static var glass: GlassButtonStyle { get }
Liquid-glass style value; survives as buttonStyle arg text only; style not modeled.
iOS iOS 26macOS macOS 26
PrimitiveButtonStyle.glassProminent
@MainActor public static var glassProminent: GlassProminentButtonStyle { get }
Liquid-glass style value; survives as buttonStyle arg text only; style not modeled.
iOS iOS 26macOS macOS 26
ToggleStyle.automatic
@MainActor public static var automatic: DefaultToggleStyle { get }
Concrete style value; survives as toggleStyle arg text only; style not modeled.
iOS iOS 14macOS macOS 11
ToggleStyle.switch
@MainActor public static var switch: SwitchToggleStyle { get }
Concrete style value; survives as toggleStyle arg text only; style not modeled.
iOS iOS 14macOS macOS 11
ToggleStyle.button
@MainActor public static var button: ButtonToggleStyle { get }
Concrete style value; survives as toggleStyle arg text only; style not modeled.
iOS iOS 15macOS macOS 12
ToggleStyle.checkbox
public static var checkbox: CheckboxToggleStyle { get }
macOS-only style value; survives as toggleStyle arg text only; style not modeled.
iOSmacOS macOS 10.15
PickerStyle.automatic
public static var automatic: DefaultPickerStyle { get }
Concrete style value; survives as pickerStyle arg text only; style not modeled.
iOS iOS 13macOS macOS 10.15
PickerStyle.inline
public static var inline: InlinePickerStyle { get }
Concrete style value; survives as pickerStyle arg text only; style not modeled.
iOS iOS 14macOS macOS 11
PickerStyle.menu
public static var menu: MenuPickerStyle { get }
Concrete style value; survives as pickerStyle arg text only; style not modeled.
iOS iOS 14macOS macOS 11
PickerStyle.segmented
public static var segmented: SegmentedPickerStyle { get }
Concrete style value; survives as pickerStyle arg text only; style not modeled.
iOS iOS 13macOS macOS 10.15
PickerStyle.wheel
public static var wheel: WheelPickerStyle { get }
iOS-only style value; survives as pickerStyle arg text only; style not modeled.
iOS iOS 13macOS
PickerStyle.palette
public static var palette: PalettePickerStyle { get }
Concrete style value; survives as pickerStyle arg text only; style not modeled.
iOS iOS 17macOS macOS 14
PickerStyle.navigationLink
public static var navigationLink: NavigationLinkPickerStyle { get }
iOS-only style value; survives as pickerStyle arg text only; style not modeled.
iOS iOS 16macOS
PickerStyle.radioGroup
public static var radioGroup: RadioGroupPickerStyle { get }
macOS-only style value; survives as pickerStyle arg text only; style not modeled.
iOSmacOS macOS 10.15
DatePickerStyle.automatic
@MainActor public static var automatic: DefaultDatePickerStyle { get }
Concrete style value; survives as datePickerStyle arg text only; style not modeled.
iOS iOS 13macOS macOS 10.15
DatePickerStyle.compact
@MainActor public static var compact: CompactDatePickerStyle { get }
Concrete style value; survives as datePickerStyle arg text only; style not modeled.
iOS iOS 14macOS macOS 10.15.4
DatePickerStyle.graphical
@MainActor public static var graphical: GraphicalDatePickerStyle { get }
Concrete style value; survives as datePickerStyle arg text only; style not modeled.
iOS iOS 14macOS macOS 10.15
DatePickerStyle.wheel
@MainActor public static var wheel: WheelDatePickerStyle { get }
iOS-only style value; survives as datePickerStyle arg text only; style not modeled.
iOS iOS 14macOS
DatePickerStyle.field
public static var field: FieldDatePickerStyle { get }
macOS-only style value; survives as datePickerStyle arg text only; style not modeled.
iOSmacOS macOS 10.15
DatePickerStyle.stepperField
public static var stepperField: StepperFieldDatePickerStyle { get }
macOS-only style value; survives as datePickerStyle arg text only; style not modeled.
iOSmacOS macOS 10.15
TextFieldStyle.automatic
public static var automatic: DefaultTextFieldStyle { get }
Concrete style value; survives as textFieldStyle arg text only; style not modeled.
iOS iOS 13macOS macOS 10.15
TextFieldStyle.plain
public static var plain: PlainTextFieldStyle { get }
Concrete style value; survives as textFieldStyle arg text only; style not modeled.
iOS iOS 13macOS macOS 10.15
TextFieldStyle.roundedBorder
public static var roundedBorder: RoundedBorderTextFieldStyle { get }
Concrete style value; survives as textFieldStyle arg text only; style not modeled.
iOS iOS 13macOS macOS 10.15
TextFieldStyle.squareBorder
public static var squareBorder: SquareBorderTextFieldStyle { get }
macOS-only style value; survives as textFieldStyle arg text only; style not modeled.
iOSmacOS macOS 10.15
ListStyle.automatic
public static var automatic: DefaultListStyle { get }
Concrete style value; survives as listStyle arg text only; style not modeled.
iOS iOS 13macOS macOS 10.15
ListStyle.plain
public static var plain: PlainListStyle { get }
Concrete style value; survives as listStyle arg text only; style not modeled.
iOS iOS 13macOS macOS 10.15
ListStyle.grouped
public static var grouped: GroupedListStyle { get }
iOS-only style value; survives as listStyle arg text only; style not modeled.
iOS iOS 13macOS
ListStyle.inset
public static var inset: InsetListStyle { get }
Concrete style value; survives as listStyle arg text only; style not modeled.
iOS iOS 14macOS macOS 11
ListStyle.insetGrouped
public static var insetGrouped: InsetGroupedListStyle { get }
iOS-only style value; survives as listStyle arg text only; style not modeled.
iOS iOS 14macOS
ListStyle.sidebar
public static var sidebar: SidebarListStyle { get }
Concrete style value; survives as listStyle arg text only; style not modeled.
iOS iOS 14macOS macOS 11
ListStyle.bordered
public static var bordered: BorderedListStyle { get }
macOS-only style value; survives as listStyle arg text only; style not modeled.
iOSmacOS macOS 12
FormStyle.automatic
@MainActor public static var automatic: AutomaticFormStyle { get }
Concrete style value; survives as formStyle arg text only; style not modeled.
iOS iOS 16macOS macOS 13
FormStyle.columns
@MainActor public static var columns: ColumnsFormStyle { get }
Concrete style value; survives as formStyle arg text only; style not modeled.
iOS iOS 16macOS macOS 13
FormStyle.grouped
@MainActor public static var grouped: GroupedFormStyle { get }
Concrete style value; survives as formStyle arg text only; style not modeled.
iOS iOS 16macOS macOS 13
MenuStyle.automatic
@MainActor public static var automatic: DefaultMenuStyle { get }
Concrete style value; survives as menuStyle arg text only; style not modeled.
iOS iOS 14macOS macOS 11
MenuStyle.button
public static var button: ButtonMenuStyle { get }
Concrete style value; survives as menuStyle arg text only; style not modeled.
iOS iOS 16macOS macOS 13
MenuStyle.borderlessButton
public static var borderlessButton: BorderlessButtonMenuStyle { get }
Concrete style value; survives as menuStyle arg text only; style not modeled.
iOS iOS 14macOS macOS 11
ControlGroupStyle.automatic
@MainActor public static var automatic: AutomaticControlGroupStyle { get }
Concrete style value; survives as controlGroupStyle arg text only; style not modeled.
iOS iOS 15macOS macOS 12
ControlGroupStyle.menu
@MainActor public static var menu: MenuControlGroupStyle { get }
Concrete style value; survives as controlGroupStyle arg text only; style not modeled.
iOS iOS 16.4macOS macOS 13.3
ControlGroupStyle.compactMenu
@MainActor public static var compactMenu: CompactMenuControlGroupStyle { get }
Concrete style value; survives as controlGroupStyle arg text only; style not modeled.
iOS iOS 16.4macOS macOS 13.3
ControlGroupStyle.navigation
@MainActor public static var navigation: NavigationControlGroupStyle { get }
iOS-only style value; survives as controlGroupStyle arg text only; style not modeled.
iOS iOS 15macOS
ControlGroupStyle.palette
@MainActor public static var palette: PaletteControlGroupStyle { get }
Concrete style value; survives as controlGroupStyle arg text only; style not modeled.
iOS iOS 17macOS macOS 14
LabelStyle.automatic
@MainActor public static var automatic: DefaultLabelStyle { get }
Concrete style value; survives as labelStyle arg text only; style not modeled.
iOS iOS 14macOS macOS 11
LabelStyle.iconOnly
@MainActor public static var iconOnly: IconOnlyLabelStyle { get }
Concrete style value; survives as labelStyle arg text only; style not modeled.
iOS iOS 14macOS macOS 11
LabelStyle.titleOnly
@MainActor public static var titleOnly: TitleOnlyLabelStyle { get }
Concrete style value; survives as labelStyle arg text only; style not modeled.
iOS iOS 14macOS macOS 11
LabelStyle.titleAndIcon
@MainActor public static var titleAndIcon: TitleAndIconLabelStyle { get }
Concrete style value; survives as labelStyle arg text only; style not modeled.
iOS iOS 14macOS macOS 11
GaugeStyle.automatic
@MainActor public static var automatic: DefaultGaugeStyle { get }
Concrete style value; survives as gaugeStyle arg text only; style not modeled.
iOS iOS 16macOS macOS 13
GaugeStyle.accessoryCircular
@MainActor public static var accessoryCircular: AccessoryCircularGaugeStyle { get }
Concrete style value; survives as gaugeStyle arg text only; style not modeled.
iOS iOS 16macOS macOS 13
GaugeStyle.accessoryLinear
@MainActor public static var accessoryLinear: AccessoryLinearGaugeStyle { get }
Concrete style value; survives as gaugeStyle arg text only; style not modeled.
iOS iOS 16macOS macOS 13
GaugeStyle.accessoryCircularCapacity
@MainActor public static var accessoryCircularCapacity: AccessoryCircularCapacityGaugeStyle { get }
Concrete style value; survives as gaugeStyle arg text only; style not modeled.
iOS iOS 16macOS macOS 13
GaugeStyle.accessoryLinearCapacity
@MainActor public static var accessoryLinearCapacity: AccessoryLinearCapacityGaugeStyle { get }
Concrete style value; survives as gaugeStyle arg text only; style not modeled.
iOS iOS 16macOS macOS 13
GaugeStyle.linearCapacity
@MainActor public static var linearCapacity: LinearCapacityGaugeStyle { get }
Concrete style value; survives as gaugeStyle arg text only; style not modeled.
iOS iOS 16macOS macOS 13
ProgressViewStyle.automatic
@MainActor public static var automatic: DefaultProgressViewStyle { get }
Concrete style value; survives as progressViewStyle arg text only; style not modeled.
iOS iOS 14macOS macOS 11
ProgressViewStyle.circular
@MainActor public static var circular: CircularProgressViewStyle { get }
Concrete style value; survives as progressViewStyle arg text only; style not modeled.
iOS iOS 14macOS macOS 11
ProgressViewStyle.linear
@MainActor public static var linear: LinearProgressViewStyle { get }
Concrete style value; survives as progressViewStyle arg text only; style not modeled.
iOS iOS 14macOS macOS 11
GroupBoxStyle.automatic
@MainActor public static var automatic: DefaultGroupBoxStyle { get }
Concrete style value; survives as groupBoxStyle arg text only; style not modeled.
iOS iOS 14macOS macOS 11
TableStyle.automatic
public static var automatic: AutomaticTableStyle { get }
Concrete style value; survives as tableStyle arg text only; style not modeled.
iOS iOS 16macOS macOS 12
TableStyle.inset
public static var inset: InsetTableStyle { get }
Concrete style value; survives as tableStyle arg text only; style not modeled.
iOS iOS 16macOS macOS 12
TableStyle.bordered
public static var bordered: BorderedTableStyle { get }
macOS-only style value; survives as tableStyle arg text only; style not modeled.
iOSmacOS macOS 12
DisclosureGroupStyle.automatic
@MainActor public static var automatic: AutomaticDisclosureGroupStyle { get }
Concrete style value; survives as disclosureGroupStyle arg text only; style not modeled.
iOS iOS 16macOS macOS 13
IndexViewStyle.page
public static var page: PageIndexViewStyle { get }
iOS-only style value; survives as indexViewStyle arg text only; style not modeled.
iOS iOS 14macOS
IndexViewStyle.page(backgroundDisplayMode:)
public static func page(backgroundDisplayMode: PageIndexViewStyle.BackgroundDisplayMode) -> PageIndexViewStyle
iOS-only parameterized style value; survives as arg text only; style not modeled.
iOS iOS 14macOS
TabViewStyle.automatic
@MainActor public static var automatic: DefaultTabViewStyle { get }
Concrete style value; survives as tabViewStyle arg text only; style not modeled.
iOS iOS 14macOS macOS 11
TabViewStyle.page
@MainActor public static var page: PageTabViewStyle { get }
iOS-only style value; survives as tabViewStyle arg text only; style not modeled.
iOS iOS 14macOS
TabViewStyle.sidebarAdaptable
@MainActor public static var sidebarAdaptable: SidebarAdaptableTabViewStyle { get }
Concrete style value; survives as tabViewStyle arg text only; style not modeled.
iOS iOS 18macOS macOS 15
TabViewStyle.tabBarOnly
@MainActor public static var tabBarOnly: TabBarOnlyTabViewStyle { get }
Concrete style value; survives as tabViewStyle arg text only; style not modeled.
iOS iOS 18macOS macOS 15
BorderedButtonStyle
public struct BorderedButtonStyle : PrimitiveButtonStyle { public func makeBody(configuration: Configuration) -> some View }
Concrete style struct; not modeled; survives as source text only.
iOS iOS 15macOS macOS 12
BorderedProminentButtonStyle
public struct BorderedProminentButtonStyle : PrimitiveButtonStyle { public func makeBody(configuration: Configuration) -> some View }
Concrete style struct; not modeled; survives as source text only.
iOS iOS 15macOS macOS 12
BorderlessButtonStyle
public struct BorderlessButtonStyle : PrimitiveButtonStyle { public init() }
Concrete style struct; not modeled; survives as source text only.
iOS iOS 13macOS macOS 10.15
PlainButtonStyle
public struct PlainButtonStyle : PrimitiveButtonStyle { public init() }
Concrete style struct; not modeled; survives as source text only.
iOS iOS 13macOS macOS 10.15
DefaultButtonStyle
public struct DefaultButtonStyle : PrimitiveButtonStyle { public init() }
Concrete style struct; not modeled; survives as source text only.
iOS iOS 13macOS macOS 10.15
PlainListStyle
public struct PlainListStyle : ListStyle { public init() }
Concrete style struct; not modeled; survives as source text only.
iOS iOS 13macOS macOS 10.15
GroupedListStyle
public struct GroupedListStyle : ListStyle { public init() }
iOS-only concrete style struct; not modeled; survives as source text only.
iOS iOS 13macOS
InsetListStyle
public struct InsetListStyle : ListStyle { public init() }
Concrete style struct; not modeled; survives as source text only.
iOS iOS 14macOS macOS 11
InsetGroupedListStyle
public struct InsetGroupedListStyle : ListStyle { public init() }
iOS-only concrete style struct; not modeled; survives as source text only.
iOS iOS 14macOS
SidebarListStyle
public struct SidebarListStyle : ListStyle { public init() }
Concrete style struct; not modeled; survives as source text only.
iOS iOS 14macOS macOS 11
DefaultListStyle
public struct DefaultListStyle : ListStyle { public init() }
Concrete style struct; not modeled; survives as source text only.
iOS iOS 13macOS macOS 10.15
SwitchToggleStyle
public struct SwitchToggleStyle : ToggleStyle { public func makeBody(configuration: Configuration) -> some View }
Concrete style struct; not modeled; survives as source text only.
iOS iOS 13macOS macOS 10.15
ButtonToggleStyle
public struct ButtonToggleStyle : ToggleStyle { public func makeBody(configuration: Configuration) -> some View }
Concrete style struct; not modeled; survives as source text only.
iOS iOS 15macOS macOS 12
CheckboxToggleStyle
public struct CheckboxToggleStyle : ToggleStyle { public func makeBody(configuration: Configuration) -> some View }
macOS-only concrete style struct; not modeled; survives as source text only.
iOSmacOS macOS 10.15
DefaultToggleStyle
public struct DefaultToggleStyle : ToggleStyle { public func makeBody(configuration: Configuration) -> some View }
Concrete style struct; not modeled; survives as source text only.
iOS iOS 14macOS macOS 11
WheelPickerStyle
public struct WheelPickerStyle : PickerStyle { public init() }
iOS-only concrete style struct; not modeled; survives as source text only.
iOS iOS 13macOS
SegmentedPickerStyle
public struct SegmentedPickerStyle : PickerStyle { public init() }
Concrete style struct; not modeled; survives as source text only.
iOS iOS 13macOS macOS 10.15
MenuPickerStyle
public struct MenuPickerStyle : PickerStyle { public init() }
Concrete style struct; not modeled; survives as source text only.
iOS iOS 14macOS macOS 11
InlinePickerStyle
public struct InlinePickerStyle : PickerStyle { public init() }
Concrete style struct; not modeled; survives as source text only.
iOS iOS 14macOS macOS 11
PalettePickerStyle
public struct PalettePickerStyle : PickerStyle { public init() }
Concrete style struct; not modeled; survives as source text only.
iOS iOS 17macOS macOS 14
RadioGroupPickerStyle
public struct RadioGroupPickerStyle : PickerStyle { public init() }
macOS-only concrete style struct; not modeled; survives as source text only.
iOSmacOS macOS 10.15
PopUpButtonPickerStyle
public struct PopUpButtonPickerStyle : PickerStyle
macOS-only deprecated style struct; not modeled; survives as source text only.
iOSmacOS macOS 10.15 (deprecated)
NavigationLinkPickerStyle
public struct NavigationLinkPickerStyle : PickerStyle { public init() }
iOS-only concrete style struct; not modeled; survives as source text only.
iOS iOS 16macOS
GraphicalDatePickerStyle
public struct GraphicalDatePickerStyle : DatePickerStyle { public func makeBody(configuration: Configuration) -> some View }
Concrete style struct; not modeled; survives as source text only.
iOS iOS 14macOS macOS 10.15
CompactDatePickerStyle
public struct CompactDatePickerStyle : DatePickerStyle { public func makeBody(configuration: Configuration) -> some View }
Concrete style struct; not modeled; survives as source text only.
iOS iOS 14macOS macOS 10.15.4
WheelDatePickerStyle
public struct WheelDatePickerStyle : DatePickerStyle { public func makeBody(configuration: Configuration) -> some View }
iOS-only concrete style struct; not modeled; survives as source text only.
iOS iOS 14macOS
FieldDatePickerStyle
public struct FieldDatePickerStyle : DatePickerStyle { public func makeBody(configuration: Configuration) -> some View }
macOS-only concrete style struct; not modeled; survives as source text only.
iOSmacOS macOS 10.15
StepperFieldDatePickerStyle
public struct StepperFieldDatePickerStyle : DatePickerStyle { public func makeBody(configuration: Configuration) -> some View }
macOS-only concrete style struct; not modeled; survives as source text only.
iOSmacOS macOS 10.15
RoundedBorderTextFieldStyle
public struct RoundedBorderTextFieldStyle : TextFieldStyle { public init() }
Concrete style struct; not modeled; survives as source text only.
iOS iOS 13macOS macOS 10.15
PlainTextFieldStyle
public struct PlainTextFieldStyle : TextFieldStyle { public init() }
Concrete style struct; not modeled; survives as source text only.
iOS iOS 13macOS macOS 10.15
SquareBorderTextFieldStyle
public struct SquareBorderTextFieldStyle : TextFieldStyle { public init() }
macOS-only concrete style struct; not modeled; survives as source text only.
iOSmacOS macOS 10.15
DefaultTextFieldStyle
public struct DefaultTextFieldStyle : TextFieldStyle { public init() }
Concrete style struct; not modeled; survives as source text only.
iOS iOS 13macOS macOS 10.15
CircularProgressViewStyle
public struct CircularProgressViewStyle : ProgressViewStyle { public func makeBody(configuration: Configuration) -> some View }
Concrete style struct; not modeled; survives as source text only.
iOS iOS 14macOS macOS 11
LinearProgressViewStyle
public struct LinearProgressViewStyle : ProgressViewStyle { public func makeBody(configuration: Configuration) -> some View }
Concrete style struct; not modeled; survives as source text only.
iOS iOS 14macOS macOS 11
AccessoryCircularGaugeStyle
@MainActor public struct AccessoryCircularGaugeStyle : GaugeStyle { public func makeBody(configuration: Configuration) -> some View }
Concrete style struct; not modeled; survives as source text only.
iOS iOS 16macOS macOS 13
AccessoryLinearGaugeStyle
@MainActor public struct AccessoryLinearGaugeStyle : GaugeStyle { public func makeBody(configuration: Configuration) -> some View }
Concrete style struct; not modeled; survives as source text only.
iOS iOS 16macOS macOS 13
LinearCapacityGaugeStyle
@MainActor public struct LinearCapacityGaugeStyle : GaugeStyle { public func makeBody(configuration: Configuration) -> some View }
Concrete style struct; not modeled; survives as source text only.
iOS iOS 16macOS macOS 13
DefaultGroupBoxStyle
public struct DefaultGroupBoxStyle : GroupBoxStyle { public func makeBody(configuration: Configuration) -> some View }
Concrete style struct; not modeled; survives as source text only.
iOS iOS 14macOS macOS 11
DefaultLabelStyle
public struct DefaultLabelStyle : LabelStyle { public func makeBody(configuration: Configuration) -> some View }
Concrete style struct; not modeled; survives as source text only.
iOS iOS 14macOS macOS 11
IconOnlyLabelStyle
public struct IconOnlyLabelStyle : LabelStyle { public func makeBody(configuration: Configuration) -> some View }
Concrete style struct; not modeled; survives as source text only.
iOS iOS 14macOS macOS 11
TitleOnlyLabelStyle
public struct TitleOnlyLabelStyle : LabelStyle { public func makeBody(configuration: Configuration) -> some View }
Concrete style struct; not modeled; survives as source text only.
iOS iOS 14macOS macOS 11
TitleAndIconLabelStyle
public struct TitleAndIconLabelStyle : LabelStyle { public func makeBody(configuration: Configuration) -> some View }
Concrete style struct; not modeled; survives as source text only.
iOS iOS 14macOS macOS 11
AutomaticTableStyle
public struct AutomaticTableStyle : TableStyle { public func makeBody(configuration: Configuration) -> some View }
Concrete style struct; not modeled; survives as source text only.
iOS iOS 16macOS macOS 12
InsetTableStyle
public struct InsetTableStyle : TableStyle { public init(); public init(alternatesRowBackgrounds: Bool) }
Concrete style struct; not modeled; survives as source text only.
iOS iOS 16macOS macOS 12
BorderedTableStyle
public struct BorderedTableStyle : TableStyle { public init() }
macOS-only concrete style struct; not modeled; survives as source text only.
iOSmacOS macOS 12
AutomaticControlGroupStyle
public struct AutomaticControlGroupStyle : ControlGroupStyle { public func makeBody(configuration: Configuration) -> some View }
Concrete style struct; not modeled; survives as source text only.
iOS iOS 15macOS macOS 12
NavigationControlGroupStyle
public struct NavigationControlGroupStyle : ControlGroupStyle { public func makeBody(configuration: Configuration) -> some View }
iOS-only concrete style struct; not modeled; survives as source text only.
iOS iOS 15macOS
MenuControlGroupStyle
public struct MenuControlGroupStyle : ControlGroupStyle { public func makeBody(configuration: Configuration) -> some View }
Concrete style struct; not modeled; survives as source text only.
iOS iOS 16.4macOS macOS 13.3
PaletteControlGroupStyle
public struct PaletteControlGroupStyle : ControlGroupStyle { public func makeBody(configuration: Configuration) -> some View }
Concrete style struct; not modeled; survives as source text only.
iOS iOS 17macOS macOS 14
AutomaticFormStyle
public struct AutomaticFormStyle : FormStyle { public func makeBody(configuration: Configuration) -> some View }
Concrete style struct; not modeled; survives as source text only.
iOS iOS 16macOS macOS 13
ColumnsFormStyle
public struct ColumnsFormStyle : FormStyle { public func makeBody(configuration: Configuration) -> some View }
Concrete style struct; not modeled; survives as source text only.
iOS iOS 16macOS macOS 13
GroupedFormStyle
public struct GroupedFormStyle : FormStyle { public func makeBody(configuration: Configuration) -> some View }
Concrete style struct; not modeled; survives as source text only.
iOS iOS 16macOS macOS 13
AutomaticDisclosureGroupStyle
@MainActor public struct AutomaticDisclosureGroupStyle : DisclosureGroupStyle { public func makeBody(configuration: Configuration) -> some View }
Concrete style struct; not modeled; survives as source text only.
iOS iOS 16macOS macOS 13
PageIndexViewStyle
public struct PageIndexViewStyle : IndexViewStyle { public init(backgroundDisplayMode: PageIndexViewStyle.BackgroundDisplayMode = .automatic) }
iOS-only concrete style struct; not modeled; survives as source text only.
iOS iOS 14macOS
PageTabViewStyle
public struct PageTabViewStyle : TabViewStyle { public init(indexDisplayMode: PageTabViewStyle.IndexDisplayMode = .automatic) }
iOS-only concrete style struct; not modeled; survives as source text only.
iOS iOS 14macOS
DefaultTabViewStyle
public struct DefaultTabViewStyle : TabViewStyle { public init() }
Concrete style struct; not modeled; survives as source text only.
iOS iOS 14macOS macOS 11
SidebarAdaptableTabViewStyle
public struct SidebarAdaptableTabViewStyle : TabViewStyle { public init() }
Concrete style struct; not modeled; survives as source text only.
iOS iOS 18macOS macOS 15
TabBarOnlyTabViewStyle
public struct TabBarOnlyTabViewStyle : TabViewStyle { public init() }
Concrete style struct; not modeled; survives as source text only.
iOS iOS 18macOS macOS 15
AutomaticNavigationSplitViewStyle
@MainActor public struct AutomaticNavigationSplitViewStyle : NavigationSplitViewStyle { public func makeBody(configuration: Configuration) -> some View }
Concrete style struct; not modeled; survives as source text only.
iOS iOS 16macOS macOS 13
BalancedNavigationSplitViewStyle
@MainActor public struct BalancedNavigationSplitViewStyle : NavigationSplitViewStyle { public func makeBody(configuration: Configuration) -> some View }
Concrete style struct; not modeled; survives as source text only.
iOS iOS 16macOS macOS 13
ProminentDetailNavigationSplitViewStyle
@MainActor public struct ProminentDetailNavigationSplitViewStyle : NavigationSplitViewStyle { public func makeBody(configuration: Configuration) -> some View }
Concrete style struct; not modeled; survives as source text only.
iOS iOS 16macOS macOS 13
GlassButtonStyle
public struct GlassButtonStyle : PrimitiveButtonStyle { public func makeBody(configuration: Configuration) -> some View }
Liquid-glass concrete style struct; not modeled; survives as source text only.
iOS iOS 26macOS macOS 26
GlassProminentButtonStyle
public struct GlassProminentButtonStyle : PrimitiveButtonStyle { public func makeBody(configuration: Configuration) -> some View }
Liquid-glass concrete style struct; not modeled; survives as source text only.
iOS iOS 26macOS macOS 26
ColumnNavigationViewStyle
public struct ColumnNavigationViewStyle : NavigationViewStyle
Deprecated style struct; not modeled; survives as source text only.
iOS iOS 13 (deprecated)macOS macOS 10.15 (deprecated)
DoubleColumnNavigationViewStyle
public struct DoubleColumnNavigationViewStyle : NavigationViewStyle { public init() }
Deprecated style struct; not modeled; survives as source text only.
iOS iOS 13 (deprecated)macOS macOS 10.15 (deprecated)
StackNavigationViewStyle
public struct StackNavigationViewStyle : NavigationViewStyle { public init() }
iOS-only deprecated style struct; not modeled; survives as source text only.
iOS iOS 13 (deprecated)macOS
DefaultNavigationViewStyle
public struct DefaultNavigationViewStyle : NavigationViewStyle { public init() }
Deprecated style struct; not modeled; survives as source text only.
iOS iOS 13 (deprecated)macOS macOS 10.15 (deprecated)
BorderedButtonMenuStyle
public struct BorderedButtonMenuStyle : MenuStyle
macOS-only deprecated style struct; not modeled; survives as source text only.
iOSmacOS macOS 11 (deprecated)
BorderlessButtonMenuStyle
public struct BorderlessButtonMenuStyle : MenuStyle { public init() }
Concrete style struct; not modeled; survives as source text only.
iOS iOS 14macOS macOS 11
ButtonMenuStyle
public struct ButtonMenuStyle : MenuStyle { public init() }
Concrete style struct; not modeled; survives as source text only.
iOS iOS 16macOS macOS 13
DefaultMenuStyle
public struct DefaultMenuStyle : MenuStyle { public init() }
Concrete style struct; not modeled; survives as source text only.
iOS iOS 14macOS macOS 11
DefaultMenuButtonStyle
public struct DefaultMenuButtonStyle : MenuButtonStyle { public init() }
macOS-only deprecated style struct; not modeled; survives as source text only.
iOSmacOS macOS 10.15 (deprecated)
PullDownMenuButtonStyle
public struct PullDownMenuButtonStyle : MenuButtonStyle { public init() }
macOS-only deprecated style struct; not modeled; survives as source text only.
iOSmacOS macOS 10.15 (deprecated)
BorderlessButtonMenuButtonStyle
public struct BorderlessButtonMenuButtonStyle : MenuButtonStyle { public init() }
macOS-only deprecated style struct; not modeled; survives as source text only.
iOSmacOS macOS 10.15 (deprecated)
BorderlessPullDownMenuButtonStyle
public struct BorderlessPullDownMenuButtonStyle : MenuButtonStyle { public init() }
macOS-only deprecated style struct; not modeled; survives as source text only.
iOSmacOS macOS 10.15 (deprecated)
AccessoryBarButtonStyle
public struct AccessoryBarButtonStyle : PrimitiveButtonStyle { public init() }
macOS-only concrete style struct; not modeled; survives as source text only.
iOSmacOS macOS 14
AccessoryBarActionButtonStyle
public struct AccessoryBarActionButtonStyle : PrimitiveButtonStyle { public init() }
macOS-only concrete style struct; not modeled; survives as source text only.
iOSmacOS macOS 14
LinkButtonStyle
public struct LinkButtonStyle : PrimitiveButtonStyle { public init() }
macOS-only concrete style struct; not modeled; survives as source text only.
iOSmacOS macOS 14
BorderedListStyle
public struct BorderedListStyle : ListStyle { public init() }
macOS-only concrete style struct; not modeled; survives as source text only.
iOSmacOS macOS 12

21. Accessibility

51·8·9
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
OptionSet value type used by add/removeTraits; not in catalog, member trait constants not enumerated; survives as arg text only
iOS allmacOS all
AccessibilityChildBehavior
public struct AccessibilityChildBehavior : Hashable
value type (.ignore/.contain/.combine); not catalogued as a type, only the case name survives as enum-case arg of accessibilityElement
iOS allmacOS all
AccessibilityActionKind
public struct AccessibilityActionKind : Equatable, Sendable
value type (.default/.escape/.magicTap/.delete); not catalogued, case name survives as arg of accessibilityAction
iOS allmacOS all
AccessibilityActionCategory
public struct AccessibilityActionCategory : Equatable, Sendable
value type for accessibilityActions(category:); not modeled; survives as source text only
iOS iOS 18macOS macOS 15
AccessibilityAttachmentModifier
public struct AccessibilityAttachmentModifier : ViewModifier
internal ViewModifier wrapper type returned by a11y modifiers; not modeled; MiniSwift lowers to UIMod nodes directly, not this type
iOS allmacOS all
AccessibilityRotorContent
@MainActor @preconcurrency public protocol AccessibilityRotorContent
rotor-content protocol; not executed as a protocol, builder body not modeled as rotor entries; survives as source text only
iOS iOS 15macOS macOS 12
AccessibilityRotorContentBuilder
@resultBuilder public struct AccessibilityRotorContentBuilder
result builder for rotor entries; not modeled as a builder; closure body lowers structurally only
iOS iOS 15macOS macOS 12
AccessibilitySystemRotor
public struct AccessibilitySystemRotor : Sendable
system rotor value (.links/.headings(level:) etc); not catalogued; survives as arg source text only
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
enum (.label/.content) for accessibilityLabeledPair; not catalogued, case name survives as arg text only
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

39·59·101
Edge
@frozen public enum Edge : Int8, CaseIterable
SwiftUICore value type; not in dump, no UIIR kind; survives only as enum-case arg text on edge-taking modifiers
iOS allmacOS all
Edge.top
case top
enum case; captured at best as .top arg literal on a modifier, no Edge model
iOS allmacOS all
Edge.leading
case leading
enum case; captured at best as .leading arg literal, no Edge model
iOS allmacOS all
Edge.bottom
case bottom
enum case; captured at best as .bottom arg literal, no Edge model
iOS allmacOS all
Edge.trailing
case trailing
enum case; captured at best as .trailing arg literal, no Edge model
iOS allmacOS all
Edge.allCases
public static var allCases: [Edge]
CaseIterable conformance; not modeled, runtime collection not evaluated
iOS allmacOS all
Edge.Set
@frozen public struct Set : OptionSet
OptionSet used by edges: params; passed as enum-arg text, no typed Edge.Set lowering
iOS allmacOS all
Edge.Set.top
public static let top: Edge.Set
static member; survives as .top arg literal only
iOS allmacOS all
Edge.Set.leading
public static let leading: Edge.Set
static member; survives as .leading arg literal only
iOS allmacOS all
Edge.Set.bottom
public static let bottom: Edge.Set
static member; survives as .bottom arg literal only
iOS allmacOS all
Edge.Set.trailing
public static let trailing: Edge.Set
static member; survives as .trailing arg literal only
iOS allmacOS all
Edge.Set.all
public static let all: Edge.Set
static member; survives as .all arg literal only
iOS allmacOS all
Edge.Set.horizontal
public static let horizontal: Edge.Set
static member; survives as .horizontal arg literal only
iOS allmacOS all
Edge.Set.vertical
public static let vertical: Edge.Set
static member; survives as .vertical arg literal only
iOS allmacOS all
Edge.Set.init(_:)
public init(_ e: Edge)
OptionSet init from single Edge; not modeled
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 from NSDirectionalEdgeInsets; not modeled, UIKit bridge unsupported
iOS allmacOS all
EdgeInsets.top
public var top: CGFloat
stored property; no EdgeInsets value model
iOS allmacOS all
EdgeInsets.leading
public var leading: CGFloat
stored property; no EdgeInsets value model
iOS allmacOS all
EdgeInsets.bottom
public var bottom: CGFloat
stored property; no EdgeInsets value model
iOS allmacOS all
EdgeInsets.trailing
public var trailing: CGFloat
stored property; no EdgeInsets value model
iOS allmacOS all
Alignment
@frozen public struct Alignment : Equatable
ZStack/frame alignment value; static cases survive as .center etc arg text, no typed Alignment model
iOS allmacOS all
Alignment.init(horizontal:vertical:)
public init(horizontal: HorizontalAlignment, vertical: VerticalAlignment)
ctor combining axes; not modeled, custom alignment uninterpreted
iOS allmacOS all
Alignment.horizontal
public var horizontal: HorizontalAlignment
stored axis property; not modeled
iOS allmacOS all
Alignment.vertical
public var vertical: VerticalAlignment
stored axis property; not modeled
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
baseline alignment; renderer has no baseline metrics, not modeled
iOS iOS 16macOS macOS 13
Alignment.trailingFirstTextBaseline
public static let trailingFirstTextBaseline: Alignment
baseline alignment; not modeled
iOS iOS 16macOS macOS 13
Alignment.centerFirstTextBaseline
public static let centerFirstTextBaseline: Alignment
baseline alignment; not modeled
iOS iOS 16macOS macOS 13
Alignment.centerLastTextBaseline
public static let centerLastTextBaseline: Alignment
baseline alignment; not modeled
iOS iOS 16macOS macOS 13
HorizontalAlignment
@frozen public struct HorizontalAlignment : Equatable
axis alignment for VStack/columns; static cases survive as arg text, value type unmodeled
iOS allmacOS all
HorizontalAlignment.init(_:)
public init(_ id: AlignmentID.Type)
custom AlignmentID ctor; AlignmentID protocol not executed, 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
list separator guide; not modeled
iOS iOS 16macOS macOS 13
HorizontalAlignment.listRowSeparatorTrailing
public static let listRowSeparatorTrailing: HorizontalAlignment
list separator guide; not modeled
iOS iOS 16macOS macOS 13
VerticalAlignment
@frozen public struct VerticalAlignment : Equatable
axis alignment for HStack/rows; static cases survive as arg text, value type unmodeled
iOS allmacOS all
VerticalAlignment.init(_:)
public init(_ id: AlignmentID.Type)
custom AlignmentID ctor; 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
baseline alignment guide; renderer lacks baseline metrics, not modeled
iOS allmacOS all
VerticalAlignment.lastTextBaseline
public static let lastTextBaseline: VerticalAlignment
baseline alignment guide; not modeled
iOS allmacOS all
UnitPoint
@frozen public struct UnitPoint : Hashable
normalized point for gradients/anchors; survives as arg text only, no UnitPoint value model
iOS allmacOS all
UnitPoint.init(x:y:)
public init(x: CGFloat, y: CGFloat)
ctor; survives as call-expr source text, gradient anchor uninterpreted
iOS allmacOS all
UnitPoint.x
public var x: CGFloat
stored coordinate; not modeled
iOS allmacOS all
UnitPoint.y
public var y: CGFloat
stored coordinate; not modeled
iOS allmacOS all
UnitPoint.zero
public static let zero: UnitPoint
static preset; survives as .zero literal only
iOS allmacOS all
UnitPoint.center
public static let center: UnitPoint
static preset used by gradients/scaleEffect anchor; .center literal, not modeled
iOS allmacOS all
UnitPoint.leading
public static let leading: UnitPoint
static preset; .leading literal only
iOS allmacOS all
UnitPoint.trailing
public static let trailing: UnitPoint
static preset; .trailing literal only
iOS allmacOS all
UnitPoint.top
public static let top: UnitPoint
static preset; .top literal only
iOS allmacOS all
UnitPoint.bottom
public static let bottom: UnitPoint
static preset; .bottom literal only
iOS allmacOS all
UnitPoint.topLeading
public static let topLeading: UnitPoint
static preset; .topLeading literal only
iOS allmacOS all
UnitPoint.topTrailing
public static let topTrailing: UnitPoint
static preset; .topTrailing literal only
iOS allmacOS all
UnitPoint.bottomLeading
public static let bottomLeading: UnitPoint
static preset; .bottomLeading literal only
iOS allmacOS all
UnitPoint.bottomTrailing
public static let bottomTrailing: UnitPoint
static preset; .bottomTrailing literal only
iOS allmacOS all
Angle
@frozen public struct Angle : Equatable, Comparable, Sendable
angle value used by rotationEffect/gradients; survives as expr text, no Angle value model
iOS allmacOS all
Angle.init()
public init()
zero-angle ctor; not modeled
iOS allmacOS all
Angle.init(radians:)
public init(radians: Double)
ctor; survives as call-expr source text only
iOS allmacOS all
Angle.init(degrees:)
public init(degrees: Double)
ctor; survives as call-expr source text only
iOS allmacOS all
Angle.radians
public var radians: Double
computed property; not modeled
iOS allmacOS all
Angle.degrees
public var degrees: Double
computed property; not modeled
iOS allmacOS all
Angle.radians(_:)
public static func radians(_ radians: Double) -> Angle
factory; .radians(x) survives as arg expr text only
iOS allmacOS all
Angle.degrees(_:)
public static func degrees(_ degrees: Double) -> Angle
factory; .degrees(x) survives as arg expr text only
iOS allmacOS all
Angle.zero
public static let zero: Angle
static preset; .zero literal only
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
introspection property; not modeled
iOS allmacOS all
CoordinateSpace.isLocal
public var isLocal: Bool
introspection property; not modeled
iOS allmacOS all
CoordinateSpaceProtocol
public protocol CoordinateSpaceProtocol
protocol for typed coordinate spaces; not executed as protocol, not modeled
iOS iOS 17macOS macOS 14
CoordinateSpaceProtocol.coordinateSpace
var coordinateSpace: CoordinateSpace { get }
protocol requirement; not modeled
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; not modeled
iOS iOS 17macOS macOS 14
CoordinateSpaceProtocol.scrollView(axis:)
public static func scrollView(axis: Axis) -> NamedCoordinateSpace
axis-specific scroll space; not modeled
iOS iOS 17macOS macOS 14
LocalCoordinateSpace
public struct LocalCoordinateSpace : CoordinateSpaceProtocol
concrete local space; not modeled
iOS iOS 17macOS macOS 14
GlobalCoordinateSpace
public struct GlobalCoordinateSpace : CoordinateSpaceProtocol
concrete global space; not modeled
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; GeometryReader is a catalogued view but proxy size/frame queries are not evaluated by renderer
iOS allmacOS
GeometryProxy.size
public var size: CGSize
live measured size; renderer does not feed back real geometry, not evaluated
iOS allmacOS
GeometryProxy.safeAreaInsets
public var safeAreaInsets: EdgeInsets
safe-area insets; no runtime geometry feedback, not modeled
iOS allmacOS
GeometryProxy.frame(in:)
public func frame(in coordinateSpace: some CoordinateSpaceProtocol) -> CGRect
frame query in a coordinate space; no coordinate runtime, not evaluated
iOS iOS 17macOS
GeometryProxy.frame(in:) (legacy)
public func frame(in coordinateSpace: CoordinateSpace) -> CGRect
legacy frame query; not evaluated
iOS allmacOS
GeometryProxy.bounds(of:)
public func bounds(of coordinateSpace: NamedCoordinateSpace) -> CGRect?
named-space bounds query; not evaluated
iOS iOS 17macOS
GeometryProxy.subscript(_:)
public subscript<T>(anchor: Anchor<T>) -> T { get }
anchor resolution; Anchor/preference runtime absent, not modeled
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 ["container","keyboard"] via chain.c:1394; not a standalone value model.
iOS allmacOS all
SafeAreaRegions.container
public static let container: SafeAreaRegions
Contextually lowered for ignoresSafeArea to ["container"] via chain.c:1390; not a standalone value model.
iOS allmacOS all
SafeAreaRegions.keyboard
public static let keyboard: SafeAreaRegions
Contextually lowered for ignoresSafeArea to ["keyboard"] via chain.c:1392; not a standalone value model.
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
.light honored by environment(\\.colorScheme) handler in web renderer; survives as enum-case arg
iOS allmacOS all
ColorScheme.dark
case dark
.dark honored by environment(\\.colorScheme) handler in web renderer; survives as enum-case arg
iOS allmacOS all
ColorSchemeContrast
public enum ColorSchemeContrast : CaseIterable, Sendable
increased/standard contrast env value; not modeled, no env contrast resolver
iOS allmacOS
ColorSchemeContrast.standard
case standard
enum case; not modeled
iOS allmacOS
ColorSchemeContrast.increased
case increased
enum case; not modeled
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
Lowered to aspectContentMode:"fit" when used by aspectRatio; otherwise survives as enum-case arg.
iOS allmacOS all
ContentMode.fill
case fill
Lowered to aspectContentMode:"fill" when used by aspectRatio; otherwise survives as enum-case arg.
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"; standalone value remains unmodeled.
iOS allmacOS all
ControlSize.small
case small
Contextually lowered by controlSize(_:) to payload.size="small"; standalone value remains unmodeled.
iOS allmacOS all
ControlSize.regular
case regular
Contextually lowered by controlSize(_:) to payload.size="regular"; standalone value remains unmodeled.
iOS allmacOS all
ControlSize.large
case large
Contextually lowered by controlSize(_:) to payload.size="large"; standalone value remains unmodeled.
iOS allmacOS all
ControlSize.extraLarge
case extraLarge
Contextually lowered by controlSize(_:) to payload.size="extraLarge"; standalone value remains unmodeled.
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; not surfaced, builder lowering bypasses it
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
custom modifier protocol; not executed as a protocol, custom body() not lowered, only the .modifier() call survives
iOS allmacOS all
ViewModifier.body(content:)
func body(content: Self.Content) -> Self.Body
protocol requirement; custom modifier bodies not lowered into UIIR
iOS allmacOS all
ViewModifier.Body
associatedtype Body : View
associated type; not modeled
iOS allmacOS all
ViewModifier.concat(_:)
public func concat<T>(_ modifier: T) -> ModifiedContent<Self, T>
modifier composition; 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 wrapped content; not surfaced, chain lowered directly
iOS allmacOS all
ModifiedContent.modifier
public var modifier: Modifier
stored modifier; not surfaced
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; not separately surfaced
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; web renderer honors redacted (in honored list); RedactionReasons arg captured untyped
iOS iOS 14macOS macOS 11
View.unredacted()
nonisolated public func unredacted() -> some View
Dedicated UI_SEMANTIC_UNREDACTED; zero-arg flag; clears redaction.
iOS iOS 14macOS macOS 11
RedactionReasons
public struct RedactionReasons : OptionSet
option set arg to redacted(reason:); survives as enum-arg text, no typed RedactionReasons value
iOS iOS 14macOS macOS 11
RedactionReasons.placeholder
public static let placeholder: RedactionReasons
static member; .placeholder arg literal only
iOS iOS 14macOS macOS 11
RedactionReasons.privacy
public static let privacy: RedactionReasons
static member; .privacy arg literal only
iOS iOS 15macOS macOS 12
RedactionReasons.invalidated
public static let invalidated: RedactionReasons
static member; .invalidated arg literal only
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
Xcode preview entry protocol; not executed; previews property is dev-tooling, not part of UIIR lowering target
iOS allmacOS all
PreviewProvider.previews
@ViewBuilder static var previews: Self.Previews { get }
static previews requirement; the preview harness is the renderer itself, this protocol not modeled
iOS allmacOS all
PreviewProvider.Previews
associatedtype Previews : View
associated type; not modeled
iOS allmacOS all
PreviewProvider.platform
static var platform: PreviewPlatform? { get }
preview platform hint; not modeled
iOS allmacOS all
PreviewLayout
public enum PreviewLayout
layout arg to previewLayout(_:); dev-tooling enum, survives as arg text only
iOS allmacOS all
PreviewLayout.device
case device
enum case; not modeled
iOS allmacOS all
PreviewLayout.sizeThatFits
case sizeThatFits
enum case; not modeled
iOS allmacOS all
PreviewLayout.fixed(width:height:)
case fixed(width: CGFloat, height: CGFloat)
fixed-size case; not modeled
iOS allmacOS all
View.previewLayout(_:)
@inlinable nonisolated public func previewLayout(_ value: PreviewLayout) -> some View
Xcode preview modifier; not in catalog, dev-tooling only, survives as source text
iOS allmacOS all
View.previewDevice(_:)
@inlinable nonisolated public func previewDevice(_ value: PreviewDevice?) -> some View
Xcode preview modifier; not in catalog, source text only
iOS allmacOS all
View.previewDisplayName(_:)
@inlinable nonisolated public func previewDisplayName(_ value: String?) -> some View
Xcode preview modifier; not in catalog, source text only
iOS allmacOS all
View.previewContext(_:)
@inlinable nonisolated public func previewContext<C>(_ value: C) -> some View where C : PreviewContext
Xcode preview context; not in catalog, source text only
iOS allmacOS all
View.previewInterfaceOrientation(_:)
nonisolated public func previewInterfaceOrientation(_ value: InterfaceOrientation) -> some View
Xcode preview orientation; not in catalog, source text only
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