Styles
- AccessoryCircularCapacityGaugeStyleA gauge style that displays a closed ring that's partially filled in to indicate the gauge's current value.
- AccessoryCircularGaugeStyleA gauge style that displays an open ring with a marker that appears at a point along the ring to indicate the gauge's current value.
- AccessoryLinearCapacityGaugeStyleA gauge style that displays bar that fills from leading to trailing edges as the gauge's current value increases.
- AccessoryLinearGaugeStyleA gauge style that displays bar with a marker that appears at a point along the bar to indicate the gauge's current value.
- ArrangementViewStyleA style that configures an ArrangementView with an arrangement.
- AutomaticArrangementViewStyleThe default arrangement view style.
- AutomaticControlGroupStyleThe default control group style.
- AutomaticDisclosureGroupStyleA disclosure group style that resolves its appearance automatically based on the current context.
- AutomaticFormStyleThe default form style.
- AutomaticLabeledContentStyleThe default labeled content style.
- AutomaticNavigationSplitViewStyleA navigation split style that resolves its appearance automatically based on the current context.
- AutomaticTableStyleThe default table style in the current context.
- AutomaticTextEditorStyleThe default text editor style, based on the text editor's context.
- BackgroundStyleThe background style in the current context.
- BalancedNavigationSplitViewStyleA navigation split style that reduces the size of the detail content to make room when showing the leading column or columns.
- BorderedButtonStyleA button style that applies standard border artwork based on the button's context.
- BorderedProminentButtonStyleA button style that applies standard border prominent artwork based on the button's context.
- BorderedTextFieldStyleA text field style with a system-defined border.
- BorderlessButtonStyleA button style that doesn't apply a border.
- ButtonMenuStyleA menu style that displays a button that toggles the display of the menu's contents when pressed.
- ButtonToggleStyleA toggle style that displays as a button with its label as the title.
- CircularProgressViewStyleA progress view that uses a circular gauge to indicate the partial completion of an activity.
- ColumnsFormStyleA non-scrolling form style with a trailing aligned column of labels next to a leading aligned column of values.
- CompactDatePickerStyleA date picker style that displays the components in a compact, textual format.
- CompactMenuControlGroupStyleA control group style that presents its content as a compact menu when the user presses the control, or as a submenu when nested within a larger menu.
- ControlGroupStyleDefines the implementation of all control groups within a view hierarchy.
- DatePickerStyleA type that specifies the appearance and interaction of all date pickers within a view hierarchy.
- DefaultButtonStyleThe default button style, based on the button's context.
- DefaultDatePickerStyleThe default style for date pickers.
- DefaultGaugeStyleThe default gauge view style in the current context of the view being styled.
- DefaultGroupBoxStyleThe default style for group box views.
- DefaultLabelStyleThe default label style in the current context.
- DefaultListStyleThe list style that describes a platform's default behavior and appearance for a list.
- DefaultMenuStyleThe default menu style, based on the menu's context.
- DefaultPickerStyleThe default picker style, based on the picker's context.
- DefaultProgressViewStyleThe default progress view style in the current context of the view being styled.
- DefaultTabViewStyleThe default tab view style.
- DefaultTextFieldStyleThe default text field style, based on the text field's context.
- DefaultToggleStyleThe default toggle style.
- DisclosureGroupStyleA type that specifies the appearance and interaction of disclosure groups within a view hierarchy.
- EdgeCornerStyleA style that describes the corner of a rectangular shape.
- EdgeCornerStyleFloatLiteralTypeA type that represents a floating-point literal.
- EdgeCornerStyleIntegerLiteralTypeA type that represents an integer literal.
- FillShapeStyleA shape style that displays one of the overlay fills.
- FillStyleA style for rasterizing vector shapes.
- FontTextStyleA dynamic text style to use for fonts.
- ForegroundStyleThe foreground style in the current context.
- FormStyleThe appearance and behavior of a form.
- GaugeStyleDefines the implementation of all gauge instances within a view hierarchy.
- GlassButtonStyleA button style that applies glass border artwork based on the button's context.
- GlassProminentButtonStyleA button style that applies prominent glass border artwork based on the button's context.
- GraphicalDatePickerStyleA date picker style that displays an interactive calendar or clock.
- GroupBoxStyleA type that specifies the appearance and interaction of all group boxes within a view hierarchy.
- GroupedFormStyleA form style with grouped rows.
- GroupedListStyleThe list style that describes the behavior and appearance of a grouped list.
- HierarchicalShapeStyleA shape style that maps to one of the numbered content styles.
- IconOnlyLabelStyleA label style that only displays the icon of the label.
- IndexViewStyleDefines the implementation of all IndexView instances within a view hierarchy.
- InlinePickerStyleA PickerStyle where each option is displayed inline with other views in the current container.
- InsetGroupedListStyleThe list style that describes the behavior and appearance of an inset grouped list.
- InsetListStyleThe list style that describes the behavior and appearance of an inset list.
- InsetTableStyleThe table style that describes the behavior and appearance of a table with its content and selection inset from the table edges.
- LabeledContentStyleThe appearance and behavior of a labeled content instance..
- LabelStyleA type that applies a custom appearance to all labels within a view.
- LinearCapacityGaugeStyleA gauge style that displays bar that fills from leading to trailing edges as the gauge's current value increases.
- LinearProgressViewStyleA progress view that visually indicates its progress using a horizontal bar.
- LinkShapeStyleA style appropriate for links.
- ListStyleA protocol that describes the behavior and appearance of a list.
- MenuControlGroupStyleA control group style that presents its content as a menu when the user presses the control, or as a submenu when nested within a larger menu.
- MenuPickerStyleA picker style that presents the options as a menu when the user presses a button, or as a submenu when nested within a larger menu.
- MenuStyleA type that applies standard interaction behavior and a custom appearance to all menus within a view hierarchy.
- NavigationControlGroupStyleThe navigation control group style.
- NavigationLinkPickerStyleA picker style represented by a navigation link that presents the options by pushing a List-style picker view.
- NavigationSplitViewStyleA type that specifies the appearance and interaction of navigation split views within a view hierarchy.
- OverlayArrangementViewStyleAn arrangement view style which overlays views.
- OverlayArrangementViewStyleChainOverlayArrangementViewStyle with chained calls: SwiftUI.OverlayArrangementViewStyle.axes(...).
- PageIndexViewStyleAn index view style that places a page index view over its content.
- PageIndexViewStyleBackgroundDisplayModeThe background style for the page index view.
- PageTabViewStyleA TabViewStyle that displays a paged scrolling TabView.
- PageTabViewStyleIndexDisplayModeA style for displaying the page index view
- PaletteControlGroupStyleA control group style that presents its content as a palette.
- PalettePickerStyleA picker style that presents the options as a row of compact elements.
- PickerStyleA type that specifies the appearance and interaction of all pickers within a view hierarchy.
- PlaceholderTextShapeStyleA style appropriate for placeholder text.
- PlainButtonStyleA button style that doesn't style or decorate its content while idle, but may apply a visual effect to indicate the pressed, focused, or enabled state of the button.
- PlainListStyleThe list style that describes the behavior and appearance of a plain list.
- PlainTextEditorStyleA text editor style with no decoration.
- PlainTextFieldStyleA text field style with no decoration.
- PrimitiveButtonStyleA type that applies custom interaction behavior and a custom appearance to all buttons within a view hierarchy.
- ProgressViewStyleA type that applies standard interaction behavior to all progress views within a view hierarchy.
- ProminentDetailNavigationSplitViewStyleA navigation split style that attempts to maintain the size of the detail content when hiding or showing the leading columns.
- RoundedCornerStyleDefines the shape of a rounded rectangle's corners.
- ScrollEdgeEffectStyleA structure that specifies blur transitions between scrolling content and an area with controls, such as toolbars.
- SegmentedPickerStyleA picker style that presents the options in a segmented control.
- SelectionShapeStyleA style used to visually indicate selection following platform conventional colors and behaviors.
- SeparatorShapeStyleA style appropriate for foreground separator or border lines.
- ShadowStyleA style to use when rendering shadows.
- ShapeStyleA color or pattern to use when rendering a shape.
- ShapeStyleChainShapeStyle with chained calls: SwiftUI.ShapeStyle.blendMode(...).
- SidebarAdaptableTabViewStyleA tab bar style that adapts to each platform.
- SidebarListStyleThe list style that describes the behavior and appearance of a sidebar list.
- SplitArrangementViewStyleAn arrangement view style which splits views.
- SplitArrangementViewStyleChainSplitArrangementViewStyle with chained calls: SwiftUI.SplitArrangementViewStyle.axes(...).
- StrokeStyleThe characteristics of a stroke that traces a path.
- SwitchToggleStyleA toggle style that displays a leading label and a trailing switch.
- TabBarOnlyTabViewStyleA tab view style that displays a tab bar when possible.
- TableStyleA type that applies a custom appearance to all tables within a view.
- TabsPickerStyleA picker style that presents options as segmented tabs.
- TabViewStyleA specification for the appearance and interaction of a tab view.
- TextDateStyleA predefined style used to display a Date.
- TextEditorStyleA specification for the appearance and interaction of a text editor.
- TextFieldStyleA specification for the appearance and interaction of a text field.
- TextLineStylePatternThe pattern, that the line has.
- TintShapeStyleA style that reflects the current tint color.
- TitleAndIconLabelStyleA label style that shows both the title and icon of the label using a system-standard layout.
- TitleOnlyLabelStyleA label style that only displays the title of the label.
- ToggleStyleThe appearance and behavior of a toggle.
- ToolbarLabelStyleThe label style of a toolbar.
- WheelDatePickerStyleA date picker style that displays each component as columns in a scrollable wheel.
- WheelPickerStyleA picker style that presents the options in a scrollable wheel that shows the selected option and a few neighboring options.
- WindowBackgroundShapeStyleA style appropriate for elements that should match the background of their containing window.
Appearance
- BackgroundProminenceThe prominence of backgrounds underneath other views.
- BadgeProminenceThe visual prominence of a badge.
- ButtonSizingThe sizing behavior of Buttons and other button-like controls.
- ColorA representation of a color that adapts to a given context.
- ColorRenderingModeThe set of possible working color spaces for color-compositing operations.
- ColorResolvedA concrete color value.
- ColorResolvedHDRA concrete color value, including HDR headroom information.
- ColorRGBColorSpaceA profile that specifies how to interpret a color value for display.
- ColorSchemeThe possible color schemes, corresponding to the light and dark appearances.
- GlassA structure that defines the configuration of a physical glass material.
- GlassChainGlass with chained calls: SwiftUI.Glass.interactive(...).
- ImageScaleA scale to apply to vector images relative to text.
- ProminenceA type indicating the prominence of a view hierarchy.
- VisibilityThe visibility of a UI element, chosen automatically based on the platform, current context, and other factors.
Text and symbols
- DisabledTextSelectabilityA selectability type that disables text selection by the person using your app.
- EnabledTextSelectabilityA selectability type that enables text selection by the person using your app.
- FindContextThe status of the find navigator for views which support text editing.
- FixedTextVariantThe default text variant preference that chooses the largest available variant.
- FontAn environment-dependent font.
- FontChainFont with chained calls: SwiftUI.Font.bold(...).
- FontContextInformation used to resolve a font.
- FontDesignA design to use for fonts.
- FontLeadingA line spacing adjustment that you can apply to a font.
- FontWeightA weight to use for fonts.
- FontWidthA width to use for fonts that have multiple widths.
- SubmitLabelA semantic label describing the label of submission within a view hierarchy.
- SubmitTriggersA type that defines various triggers that result in the firing of a submission action.
- SubmitTriggersRawValueThe raw type that can be used to represent all values of the conforming type.
- SymbolColorRenderingModeA method of filling a layer in a symbol image.
- SymbolRenderingModeA symbol rendering mode.
- SymbolVariableValueModeA method of rendering the variable value of a symbol image.
- SymbolVariantsA variant of a symbol.
- TextCaseA scheme for transforming the capitalization of characters within text.
- TextInputAutocapitalizationThe kind of autocapitalization behavior applied during text input.
- TextInputDictationActivationA configuration that determines what starts dictation in a search field.
- TextInputDictationBehaviorA behavior that determines whether a search field offers dictation, and what starts it.
- TextInputFormattingControlPlacementSetA set of system text formatting controls.
- TextScaleDefines text scales
- TextSelectabilityA type that describes the ability to select text.
- TextSelectionAffinityA representation of the direction or association of a selection or cursor relative to a text character. This concept becomes much more prominent when dealing with bidirectional text (text that contains both LTR and RTL scripts, like English and Arabic combined).
- TextTruncationModeThe type of truncation to apply to a line of text when it's too long to fit in the available space.
- TextWritingDirectionStrategyThe way SwiftUI infers the appropriate writing direction if no value is explicitly provided.
- TypesettingLanguageDefines how typesetting language is determined for text.
- WritingToolsBehaviorThe Writing Tools editing experience for text and text input.
Layout
- AlignmentAn alignment in both axes.
- ContainerBackgroundPlacementThe placement of a container background.
- ContainerValuesReadableKeys of SwiftUI ContainerValues JavaScript can read.
- ContainerValuesWritableKeys of SwiftUI ContainerValues JavaScript can write.
- ControlSizeThe size classes, like regular or small, that you can apply to controls within a view.
- DocumentLaunchGeometryProxyA proxy for access to the frame of the scene and its title view.
- DynamicTypeSizeA Dynamic Type size, which specifies how large scalable content should be.
- EdgeAn enumeration to indicate one edge of a rectangle.
- EdgeInsetsThe inset distances for the sides of a rectangle.
- EdgeInsetsChainEdgeInsets with chained calls: SwiftUI.EdgeInsets.inset(...).
- EdgeSetAn efficient set of edges.
- GeometryProxyA proxy for access to the size and coordinate space (for anchor resolution) of the container view.
- GridItemA description of a row or a column in a lazy grid.
- GridItemSizeThe size in the minor axis of one or more rows or columns in a grid layout.
- GridLayoutA grid that you can use in conditional layouts.
- HorizontalAlignmentAn alignment position along the horizontal axis.
- HorizontalEdgeAn edge on the horizontal axis.
- HStackLayoutA horizontal container that you can use in conditional layouts.
- LayoutA type that defines the geometry of a collection of views.
- LayoutDirectionA direction in which SwiftUI can lay out content.
- LayoutDirectionBehaviorA description of what should happen when the layout direction changes.
- PagingScrollTargetBehaviorThe scroll behavior that aligns scroll targets to container-based geometry.
- RectangleCornerInsetsThe inset sizes for the corners of a rectangle.
- SafeAreaRegionsA set of symbolic safe area regions.
- ScenePaddingThe padding used to space a view from its containing scene.
- ScrollAnchorRoleA type defining the role of a scroll anchor.
- ScrollBounceBehaviorThe ways that a scrollable view can bounce when it reaches the end of its content.
- ScrollContentOffsetAdjustmentBehaviorA type that defines the different kinds of content offset adjusting behaviors a scroll view can have.
- ScrollDismissesKeyboardModeThe ways that scrollable content can interact with the software keyboard.
- ScrollGeometryA type that defines the geometry of a scroll view.
- ScrollIndicatorVisibilityThe visibility of scroll indicators of a UI element.
- ScrollPositionA type that defines the semantic position of where a scroll view is scrolled within its content.
- ScrollPositionChainScrollPosition with chained calls: SwiftUI.ScrollPosition.scrollTo(...).
- ScrollTargetBehaviorA type that defines the scroll behavior of a scrollable view.
- ScrollViewProxyA proxy value that supports programmatic scrolling of the scrollable views within a view hierarchy.
- SizeDependentTextVariantThe size dependent variant preference allows the text to take the available space into account when choosing the variant to display.
- SpacerSizingA type which defines how spacers should size themselves.
- TextAlignmentAn alignment position for text along the horizontal axis.
- TextAlignmentStrategyThe way SwiftUI infers the appropriate text alignment if no value is explicitly provided.
- UserInterfaceSizeClassA set of values that indicate the visual size available to the view.
- VerticalAlignmentAn alignment position along the vertical axis.
- VerticalEdgeAn edge on the vertical axis.
- VerticalEdgeSetAn efficient set of vertical edges.
- ViewAlignedScrollTargetBehaviorThe scroll behavior that aligns scroll targets to view-based geometry.
- ViewAlignedScrollTargetBehaviorLimitBehaviorA type that defines the amount of views that can be scrolled at a time.
- VStackLayoutA vertical container that you can use in conditional layouts.
- ZStackLayoutAn overlaying container that you can use in conditional layouts.
Animation
- AnimationThe way a view changes over time to create a smooth visual transition from one state to another.
- AnimationChainAnimation with chained calls: SwiftUI.Animation.delay(...).
- AnimationCompletionCriteriaThe criteria that determines when an animation is considered finished.
- AnimationTimelineScheduleA pausable schedule of dates updating at a frequency no more quickly than the provided interval.
- AnyTransitionA type-erased transition.
- AnyTransitionChainAnyTransition with chained calls: SwiftUI.AnyTransition.animation(...).
- BlurReplaceTransitionA transition that animates the insertion or removal of a view by combining blurring and scaling effects.
- BlurReplaceTransitionConfigurationConfiguration properties for a transition.
- ContentTransitionA kind of transition that applies to the content within a single view, rather than to the insertion or removal of a view.
- DropSessionPhaseThe phase of the current drop session.
- GlassEffectTransitionA structure that describes changes to apply when a glass effect is added or removed from the view hierarchy.
- IdentityTransitionA transition that returns the input view, unmodified, as the output view.
- KeyframesA type that defines changes to a value over time.
- MatchedGeometryPropertiesA set of view properties that may be synchronized between views using the View.matchedGeometryEffect() function.
- MoveTransitionReturns a transition that moves the view away, towards the specified edge of the view.
- OffsetTransitionReturns a transition that offset the view by the specified amount.
- OpacityTransitionA transition from transparent to opaque on insertion, and from opaque to transparent on removal.
- PushTransitionA transition that when added to a view will animate the view's insertion by moving it in from the specified edge while fading it in, and animate its removal by moving it out towards the opposite edge and fading it out.
- ScaleTransitionReturns a transition that scales the view.
- ScenePhaseAn indication of a scene's operational state.
- ScrollPhaseA type that describes the state of a scroll gesture of a scrollable view like a scroll view.
- ScrollPhaseChangeContextA type that provides you with more content when the phase of a scroll view changes.
- ScrollTransitionConfigurationThe configuration of a scroll transition that controls how a transition is applied as a view is scrolled through the visible region of a containing scroll view or other container.
- ScrollTransitionConfigurationChainScrollTransitionConfiguration with chained calls: SwiftUI.ScrollTransitionConfiguration.animation(...).
- ScrollTransitionConfigurationThresholdDescribes a specific point in the progression of a target view within a container from hidden (fully outside the container) to visible.
- ScrollTransitionConfigurationThresholdChainScrollTransitionConfiguration.Threshold with chained calls: SwiftUI.ScrollTransitionConfigurationThreshold.inset(...).
- SlideTransitionA transition that inserts by moving in from the leading edge, and removes by moving out towards the trailing edge.
- SpringA representation of a spring's motion.
- SpringLoadingBehaviorThe options for controlling the spring loading behavior of views.
- TransitionA description of view changes to apply when a view is added to and removed from the view hierarchy.
- TransitionChainTransition with chained calls: SwiftUI.Transition.animation(...).
- UnitCurveA function defined by a two-dimensional curve that maps an input progress in the range [0,1] to an output progress that is also in the range [0,1]. By changing the shape of the curve, the effective speed of an animation or other interpolation can be changed.
Gestures and input
- AutomaticHoverEffectThe default hover effect based on the surrounding context.
- CustomHoverEffectA type that represents how a view should change when a pointer hovers over a view, or when someone looks at the view.
- DragConfigurationThe behavior of the drag, proposed by the dragging source. A value that describes the drag operations a drag source supports.
- DragConfigurationOperationsOutsideAppDescribes the suggested drag operations to other applications.
- DragConfigurationOperationsWithinAppDescribes the drag operations suggested to destinations within the app.
- DragGestureA dragging motion that invokes an action as the drag-event sequence changes.
- DragGestureValueThe attributes of a drag gesture.
- DragSessionDescribes the ongoing dragging session.
- DragSessionIDThe identifier of a drag session.
- DragSessionPhaseThe phase of the current drag session
- GestureAn instance that matches a sequence of events to a gesture, and returns a stream of values for each of its states.
- GestureChainGesture with chained calls: SwiftUI.Gesture.exclusively(...).
- GestureInputKindsAn option set that specifies which input kinds a gesture should recognize.
- GestureMaskOptions that control how adding a gesture to a view affects other gestures recognized by the view and its subviews.
- HandGestureShortcutHand gesture shortcuts describe finger and wrist movements that the user can perform in order to activate a button or toggle.
- HighlightHoverEffectA hover effect that highlights views using a light source to indicate position.
- HoverEffectAn effect applied when the pointer hovers over a view.
- HoverPhaseThe current hovering state and value of the pointer.
- LiftHoverEffectA hover effect that slides the pointer under the view and disappears as the view scales up and gains a shadow.
- LongPressGestureA gesture that succeeds when the user performs a long press.
- LongPressGestureValueThe type representing the gesture's value.
- MagnifyGestureA gesture that recognizes a magnification motion and tracks the amount of magnification.
- MagnifyGestureValueThe type representing the gesture's value.
- PencilDoubleTapGestureValueDescribes the value of an Apple Pencil double-tap gesture.
- PencilHoverPoseA value describing the location and distance of an Apple Pencil hovering in the area above a view’s bounds.
- PencilSqueezeGesturePhaseDescribes the phase and value of an Apple Pencil squeeze gesture.
- RotateGestureA gesture that recognizes a rotation motion and tracks the angle of the rotation.
- RotateGestureValueThe type representing the gesture's value.
- SpatialEventGestureA gesture that provides information about ongoing spatial events like clicks and touches.
- SpatialEventGestureValueThe type representing the gesture's value.
- SpatialTapGestureA gesture that recognizes one or more taps and reports their location.
- SpatialTapGestureValueThe attributes of a tap gesture.
- TapGestureA gesture that recognizes one or more taps.
- TapGestureValueThe type representing the gesture's value.
Navigation
- AdaptableTabBarPlacementA placement for tabs in a tab view using the adaptable sidebar style.
- AutomaticNavigationTransitionA style that automatically chooses the appropriate presentation transition for the current context.
- ContentToolbarPlacementA region of the interface that hosts its own toolbar content.
- CrossFadeNavigationTransitionA navigation transition that cross-fades between the appearing view and the disappearing view.
- DismissSearchActionAn action that can end a search interaction.
- NavigationBarItemTitleDisplayModeA style for displaying the title of a navigation bar.
- NavigationPathA type-erased list of data representing the content of a navigation stack.
- NavigationPathChainNavigationPath with chained calls: SwiftUI.NavigationPath.append(...).
- NavigationPathCodableRepresentationA serializable representation of a navigation path.
- NavigationSplitViewColumnA view that represents a column in a navigation split view.
- NavigationSplitViewVisibilityThe visibility of the leading columns in a navigation split view.
- NavigationTransitionA type that defines the transition to use when navigating to a view.
- OpenURLActionAn action that opens a URL.
- OpenURLActionResultThe result of a custom open URL action.
- SearchFieldPlacementThe placement of a search field in a view hierarchy.
- SearchFieldPlacementNavigationBarDrawerDisplayModeA mode that determines when to display a search field that appears in a navigation bar.
- SearchPresentationToolbarBehaviorA type that defines how the toolbar behaves when presenting search.
- SearchScopeActivationThe ways that searchable modifiers can show or hide search scopes.
- SearchSuggestionsPlacementThe ways that SwiftUI displays search suggestions.
- SearchSuggestionsPlacementSetAn efficient set of search suggestion display modes.
- SearchToolbarBehaviorThe behavior of a search field in a toolbar.
- SidebarRowSizeThe standard sizes of sidebar rows.
- TabBarMinimizeBehaviorA behavior that determines when a tab bar minimizes.
- TabBarPlacementA placement for tabs in a tab view.
- TabRoleA value that defines the purpose of the tab.
- TabSearchActivationConfigures the activation behavior of search in the search tab.
- TabViewBottomAccessoryPlacementA placement of the bottom accessory in a tab view. You can use this to adjust the content of the accessory view based on the placement.
- TabViewCustomizationThe customizations a person makes to an adaptable sidebar tab view.
- TabViewCustomizationChainTabViewCustomization with chained calls: SwiftUI.TabViewCustomization.resetSectionOrder(...).
- ToolbarContentConforming types represent items that can be placed in various locations in a toolbar.
- ToolbarDefaultItemKindA kind of toolbar item a View adds by default.
- ToolbarItemPlacementA structure that defines the placement of a toolbar item.
- ToolbarMinimizationBehaviorThe minimization behavior of a toolbar.
- ToolbarMinimizationRestorationThe restoration behavior during toolbar minimization.
- ToolbarMinimizationSafeAreaAdjustmentThe safe area adjustment during toolbar minimization.
- ToolbarPlacementThe placement of a toolbar.
- ToolbarRoleThe purpose of content that populates the toolbar.
- ToolbarTitleAlignmentA preferred alignment for a navigation bar's title.
- ToolbarTitleDisplayModeA type that defines the behavior of title of a toolbar.
- ToolbarVerticalBehaviorA behavior that determines whether the vertical bar is used.
- ToolbarVerticalCompressionBehaviorHow bars compress when different types of toolbars are placed together and space is constrained.
- WindowToolbarFullScreenVisibilityThe visibility of the window toolbar with respect to full screen mode.
- ZoomNavigationTransitionA navigation transition that zooms the appearing view from a given source view.
Presentation
- AutomaticPresentationSizingThe default presentation sizing, appropriate for the platform.
- DismissActionAn action that dismisses a presentation.
- DismissBehaviorProgrammatic window dismissal behaviors.
- DismissWindowActionAn action that dismisses a window associated to a particular scene.
- FileDialogBrowserOptionsThe way that file dialogs present the file system.
- FittedPresentationSizingThe size of the presentation is dictated by the ideal size of the content.
- FormPresentationSizingThe size is appropriate for forms and slightly less wide than.page
- MenuActionDismissBehaviorThe set of menu dismissal behavior options.
- MenuOrderThe order in which a menu presents its content.
- PagePresentationSizingThe size is roughly the size of a page of paper, appropriate for informational or compositional content.
- PopoverAttachmentAnchorAn attachment anchor for a popover.
- PresentationAdaptationStrategies for adapting a presentation to a different size class.
- PresentationBackgroundInteractionThe kinds of interaction available to views behind a presentation.
- PresentationContentInteractionA behavior that you can use to influence how a presentation responds to swipe gestures.
- PresentationDetentA type that represents a height where a sheet naturally rests.
- PresentationPlacementThe placement of a presentation within the presenting view.
- PresentationSizingA type that defines the size of the presentation content and how the presentation size adjusts to its content's size changing.
- PresentationSizingChainPresentationSizing with chained calls: SwiftUI.PresentationSizing.fitted(...).
Drawing and shapes
- AngleA geometric angle whose value you access in either radians or degrees.
- AngularGradientAn angular gradient.
- AnyGradientA color gradient.
- BlendModeModes for compositing a view with overlapping content.
- ButtonBorderShapeA shape used to draw a button's border.
- ColorMatrixA matrix to use in an RGBA color transformation.
- ConcentricRectangleAnimatableDataThe type defining the data to animate.
- ContainerRelativeShapeA shape that is replaced by an inset version of the current container shape. If no container shape was defined, is replaced by a rectangle.
- ContentShapeKindsA kind for the content shape of a view.
- CoordinateSpaceProtocolA frame of reference within the layout system.
- DefaultGlassEffectShapeThe default shape applied by glass effects, a capsule.
- EllipticalGradientA radial gradient that draws an ellipse.
- GlobalCoordinateSpaceThe global coordinate space at the root of the view hierarchy.
- GradientA color gradient represented as an array of color stops, each having a parametric location value.
- GradientColorSpaceA method of interpolating between the colors in a gradient.
- GradientStopOne color stop in the gradient.
- GraphicsContextAn immediate mode drawing destination, and its current state.
- GraphicsContextBlendModeThe ways that a graphics context combines new content with background content.
- GraphicsContextBlurOptionsOptions that configure the graphics context filter that creates blur.
- GraphicsContextClipOptionsOptions that affect the use of clip shapes.
- GraphicsContextFilterA type that applies image processing operations to rendered content.
- GraphicsContextFilterOptionsOptions that configure a filter that you add to a graphics context.
- GraphicsContextGradientOptionsOptions that affect the rendering of color gradients.
- GraphicsContextResolvedImageAn image resolved to a particular environment.
- GraphicsContextResolvedSymbolA static sequence of drawing operations that may be drawn multiple times, preserving their resolution independence.
- GraphicsContextResolvedTextA text view resolved to a particular environment.
- GraphicsContextShadingA color or pattern that you can use to outline or fill a path.
- GraphicsContextShadowOptionsOptions that configure the graphics context filter that creates shadows.
- ImagePaintA shape style that fills a shape by repeating a region of an image.
- InsettableShapeA shape type that is able to inset itself to produce another shape.
- LinearGradientA linear gradient.
- LocalCoordinateSpaceThe local coordinate space of the current view.
- MaterialA background material type.
- MaterialActiveAppearanceThe behavior for how materials appear active and inactive.
- MeshGradientA two-dimensional gradient defined by a 2D grid of positioned colors.
- MeshGradientBezierPointOne location in a gradient mesh, along with the four Bezier control points surrounding it.
- MeshGradientColorsAn array of colors.
- MeshGradientLocationsAn array of 2D locations and their control points.
- NamedCoordinateSpaceA named coordinate space.
- PathThe outline of a 2D shape.
- PathChainPath with chained calls: SwiftUI.Path.addArc(...).
- PathElementAn element of a path.
- ProjectionTransformA 3x3 matrix that transforms points in a plane.
- ProjectionTransformChainProjectionTransform with chained calls: SwiftUI.ProjectionTransform.concatenating(...).
- RadialGradientA radial gradient.
- RoundedRectangularShapeA protocol of InsettableShape that describes a rounded rectangular shape.
- ShaderA reference to a function in a Metal shader library, along with its bound uniform argument values.
- ShaderArgumentA single uniform argument value to a shader function.
- ShaderFunctionA reference to a function in a Metal shader library.
- ShaderLibraryA Metal shader library.
- ShapeA 2D shape that you can use when drawing a view.
- ShapeChainShape with chained calls: SwiftUI.Shape.size(...).
- TextInputBorderShapeA shape used to draw the border of a text input control.
- UnitPointA normalized 2D point in a view's coordinate space.
Accessibility
- AccessibilityActionCategoryDesignates an accessibility action category that is provided and named by the system.
- AccessibilityActionKindThe structure that defines the kinds of available accessibility actions.
- AccessibilityAdjustmentDirectionA directional indicator you use when making an accessibility adjustment.
- AccessibilityChildBehaviorDefines the behavior for the child elements of the new parent element.
- AccessibilityCustomContentKeyKey used to specify the identifier and label associated with an entry of additional accessibility information.
- AccessibilityDirectTouchOptionsAn option set that defines the functionality of a view's direct touch area.
- AccessibilityDirectTouchOptionsRawValueThe raw type that can be used to represent all values of the conforming type.
- AccessibilityHeadingLevelThe hierarchy of a heading in relation to other headings.
- AccessibilityLabeledPairRoleThe role of an accessibility element in a label / content pair.
- AccessibilitySystemRotorDesignates a Rotor that replaces one of the automatic, system-provided Rotors with a developer-provided Rotor.
- AccessibilityTextContentTypeTextual context that assistive technologies can use to improve the presentation of spoken text.
- AccessibilityTraitsA set of accessibility traits that describe how an element behaves.
- AccessibilityTraitsChainAccessibilityTraits with chained calls: SwiftUI.AccessibilityTraits.intersection(...).
- AccessibilityZoomGestureActionPosition and direction information of a zoom gesture that someone performs with an assistive technology like VoiceOver.
- AccessibilityZoomGestureActionDirectionA direction that matches the movement of a zoom gesture performed by an assistive technology, such as a swipe up and down in Voiceover's zoom rotor.
Other values
- AxisThe horizontal or vertical dimension in a 2D coordinate system.
- AxisSetAn efficient set of axes.
- ButtonRoleA value that describes the purpose of a button.
- CapsuleA capsule shape aligned inside the frame of the view containing it.
- CircleA circle centered on the frame of the view containing it.
- ConcentricRectangleA shape whose corners you configure, individually or uniformly, to be squared, rounded, or concentric relative to a container shape's corners.
- ContentMarginGuideA guide for resolving the content margins for a view.
- ContentMarginPlacementThe placement of margins.
- ContentModeConstants that define how a view's content fills the available space.
- DatePickerComponents
- DatePickerComponents2The date and time components that a date picker shows.
- DeviceHingeA type encapsulating the state of a single hinge.
- DeviceHingeContextA type describing the context of hinges on the device.
- DeviceHingeStatusThe status of an individual hinge.
- EditModeA mode that indicates whether the user can edit a view's content.
- EllipseAn ellipse aligned inside the frame of the view containing it.
- EventModifiersA set of key modifiers that you can add to a gesture.
- EveryMinuteTimelineScheduleA schedule for updating a timeline view at the start of every minute.
- ImageA view that displays an image.
- ImageInterpolationThe level of quality for rendering an image that requires interpolation, such as a scaled image.
- ImageResizingModeThe modes that SwiftUI uses to resize an image to fit within its containing view.
- ImageTemplateRenderingModeA type that indicates how SwiftUI renders images.
- KeyEquivalentKey equivalents consist of a letter, punctuation, or function key that can be combined with an optional set of modifier keys to specify a keyboard shortcut.
- KeyPressA hardware keyboard event that a focused view receives.
- KeyPressPhasesOptions for matching different phases of a key-press event.
- KeyPressResultA result value returned from a key-press action that indicates whether the action consumed the event.
- LegibilityWeightThe Accessibility Bold Text user setting options.
- OpenWindowActionAn action that presents a window.
- PeriodicTimelineScheduleA schedule for updating a timeline view at regular intervals.
- PinnedScrollableViewsA set of view types that may be pinned to the bounds of a scroll view.
- RectangleA rectangular shape aligned inside the frame of the view containing it.
- RectangleCornerRadiiDescribes the corner radius values of a rounded rectangle with uneven corners.
- RedactionReasonsThe reasons to apply a redaction to data displayed on screen.
- RefreshActionAn action that initiates a refresh operation.
- RenameActionAn action that activates a standard rename interaction.
- ReorderDifferenceThe difference that a reordering operation produces.
- ReservedRegionA region within a view's coordinate space that has been reserved by another entity.
- ReservedRegionIDAn identifier for a reserved region.
- ReservedRegionKindA kind of reserved region.
- ReservedRegionQueryOptionsOptions for querying reserved regions.
- RoundedRectangleA rectangular shape with rounded corners, aligned inside the frame of the view containing it.
- SpatialEventCollectionA collection of spatial input events that target a specific view.
- TimelineViewContextInformation passed to a timeline view's content callback.
- TimelineViewDefaultContextInformation passed to a timeline view's content callback.
- UnevenRoundedRectangleA rectangular shape with rounded corners with different values, aligned inside the frame of the view containing it.
Drag and drop
- DocumentConfigurationThe configuration of a document in a DocumentGroup.
- DocumentCreationSourceDescribes the source used to create a new document.
- DropConfigurationDescribes the behavior of the drop.
- DropOperationOperation types that determine how a drag and drop session resolves when the user drops a drag item.
- DropOperationSetA set of drop operations, corresponding to matching cases in DropOperation.
- DropSessionA description of a drop that is in progress.
- DropSessionIDThe identifier of a drag session.
- DropSessionLocalSessionDescribes the session originated within the app.
Focus
- AccessibilityFocusStateBinding
- DefaultFocusEvaluationPriorityPrioritizations for default focus preferences when evaluating where to move focus in different circumstances.
- FocusedValuesReadableKeys of SwiftUI FocusedValues JavaScript can read.
- FocusedValuesWritableKeys of SwiftUI FocusedValues JavaScript can write.
- FocusInteractionsValues describe different focus interactions that a view can support.
Input and interaction
- ButtonRepeatBehaviorThe options for controlling the repeatability of button actions.
- KeyboardShortcutKeyboard shortcuts describe combinations of keys on a keyboard that the user can press in order to activate a button or toggle.
- KeyboardShortcutLocalizationOptions for how a keyboard shortcut participates in automatic localization.
- PencilPreferredActionAn action that the user prefers to perform after double-tapping their Apple Pencil.
- SensoryFeedbackRepresents a type of haptic and/or audio feedback that can be played.
- SensoryFeedbackFlexibilityThe flexibility to be represented by a type of feedback.
- SensoryFeedbackPressFeedbackFeedback that can be played in response to a press (touch down) on a control.
- SensoryFeedbackReleaseFeedbackFeedback that can be played in response to a release (touch up) of a control.
- SensoryFeedbackWeightThe weight to be represented by a type of feedback.
Lists and tables
- ListItemTintA tint effect configuration that you can apply to content in a list.
- ListSectionSpacingThe spacing options between two adjacent sections in a list.
- PaletteSelectionEffectThe selection effect to apply to a palette item.
- SectionCollectionAn opaque collection representing the sections of view.
- SensoryFeedbackSelectionFeedbackFeedback that can be played in response to a specific UI element's values changing.
- TableColumnContentA type used to represent columns within a table.
Preferences
Protocols
State and environment
- EnvironmentValuesReadableKeys of SwiftUI EnvironmentValues JavaScript can read.
- EnvironmentValuesWritableKeys of SwiftUI EnvironmentValues JavaScript can write.
- TransactionThe context of the current state-processing update.
- TransactionChainTransaction with chained calls: SwiftUI.Transaction.addAnimationCompletion(...).
- TransactionReadableKeys of SwiftUI Transaction JavaScript can read.
- TransactionWritableKeys of SwiftUI Transaction JavaScript can write.