TechnologiesUI & App Frameworks

SwiftUICore

iOSmacOStvOSwatchOSvisionOS

SwiftUICore provides the core declarative UI primitives that underlie SwiftUI: views, the environment, layout, and accessibility descriptors. You use it to drive layout and animation through protocols such as Animatable, AlignmentID, and DynamicProperty, and types like AnimationContext, CubicKeyframe, and CoordinateSpace, while reading display traits through enums like ColorScheme, ColorSchemeContrast, DynamicTypeSize, and ControlSize. It also supplies accessibility descriptors and traits, including AccessibilityTraits, AccessibilityTextContentType, and AXChartDescriptorRepresentable, across iOS, macOS, tvOS, watchOS, and visionOS.

Dynamic Properties and Data Flow 7

Protocols and storage that drive view updates and propagate data through the view hierarchy.

  • Pr
    DynamicPropertyiOS 13.0+
    An interface for a stored variable that updates an external property of a
  • Pr
    DynamicViewContentiOS 13.0+
    A type of view that generates views from an underlying collection of data.
  • Cl
    AnyLocationiOS 13.0+
    The base type of type-erased locations with value-type Value.
  • Cl
    AnyLocationBaseiOS 13.0+
    The base type of all type-erased locations.
  • St
    ForEachiOS 13.0+
    A structure that computes views on demand from an underlying collection of
  • St
    ForEachSectionCollectioniOS 18.0+
    A collection which allows a view to be treated as a collection of its
  • St
    ForEachSubviewCollectioniOS 18.0+
    A collection which allows a view to be treated as a collection of its

Environment 8

Types for defining, storing, and reading environment values shared across views.

  • Pr
    EnvironmentKeyiOS 13.0+
    A key for accessing values in the environment.
  • Pr
    EnvironmentalModifieriOS 13.0+
    A modifier that must resolve to a concrete modifier in an environment before
  • St
    EnvironmentValuesiOS 13.0+
    A collection of environment values propagated through a view hierarchy.
  • Pr
    ContainerValueKeyiOS 18.0+
    A key for accessing container values.
  • St
    ContainerValuesiOS 18.0+
    A collection of container values associated with a given view.
  • Pr
    PreferenceKeyiOS 13.0+
    A named value produced by a view.
  • St
    PreferredColorSchemeKeyiOS 13.0+
    A key for specifying the preferred color scheme.
  • Pr
    TransactionKeyiOS 17.0+
    A key for accessing values in a transaction.

Layout 19

Protocols and structures that measure subviews and arrange them within a coordinate space.

  • Pr
    AlignmentIDiOS 13.0+
    A type that you use to create custom alignment guides.
  • Pr
    DepthAlignmentID
    A protocol for defining a custom depth alignment guide in three-dimensional layout.
  • St
    DepthAlignmentKey
    A single sort key type for alignment guides in Z. You don't use this
  • Pr
    LayoutValueKeyiOS 16.0+
    A key for accessing a layout value of a layout container's subviews.
  • St
    LayoutPropertiesiOS 16.0+
    Layout-specific properties of a layout container.
  • St
    LayoutSubviewiOS 16.0+
    A proxy that represents one subview of a layout.
  • St
    LayoutSubviewsiOS 16.0+
    A collection of proxy values that represent the subviews of a layout view.
  • St
    ViewDimensionsiOS 13.0+
    A view's size and alignment guides in its own coordinate space.
  • St
    ViewDimensions3D
    A view's 3D size and alignment guides in its own coordinate space.
  • St
    ViewSpacingiOS 16.0+
    A collection of the geometric spacing preferences of a view.
  • St
    GeometryProxyiOS 13.0+
    A proxy for access to the size and coordinate space (for anchor resolution)
  • St
    GeometryProxy3D
    A proxy for access to the size and coordinate space of the container view.
  • Pr
    CoordinateSpaceProtocoliOS 17.0+
    A frame of reference within the layout system.
  • En
    CoordinateSpaceiOS 13.0+
    A resolved coordinate space created by the coordinate space protocol.
  • St
    GlobalCoordinateSpaceiOS 17.0+
    The global coordinate space at the root of the view hierarchy.
  • St
    LocalCoordinateSpaceiOS 17.0+
    The local coordinate space of the current view.
  • St
    NamedCoordinateSpaceiOS 17.0+
    A named coordinate space.
  • En
    LayoutDirectioniOS 13.0+
    A direction in which SwiftUI can lay out content.
  • En
    LayoutDirectionBehavioriOS 17.0+
    A description of what should happen when the layout direction changes.

Subviews and Sections 4

Collections that expose a view's child subviews and sections for traversal.

  • St
    SubviewsCollectioniOS 18.0+
    An opaque collection representing the subviews of view.
  • St
    SubviewsCollectionSliceiOS 18.0+
    A slice of a SubviewsCollection.
  • St
    SectionCollectioniOS 18.0+
    An opaque collection representing the sections of view.
  • St
    SectionConfigurationiOS 18.0+
    Specifies the contents of a section.

Animation 8

Protocols and contexts that make values interpolatable and drive custom animations.

  • Pr
    AnimatableiOS 13.0+
    A type that describes how to animate a property of a view.
  • Pr
    VectorArithmeticiOS 13.0+
    A type that can serve as the animatable data of an animatable type.
  • Pr
    AnimationStateKeyiOS 17.0+
    A key for accessing animation state values.
  • St
    AnimationContextiOS 17.0+
    Contextual values that a custom animation can use to manage state and
  • St
    AnimationStateiOS 17.0+
    A container that stores the state for a custom animation.
  • St
    AnimationCompletionCriteriaiOS 17.0+
    The criteria that determines when an animation is considered finished.
  • St
    SpringiOS 17.0+
    A representation of a spring's motion.
  • St
    UnitCurveiOS 17.0+
    A function defined by a two-dimensional curve that maps an input

Keyframes 8

Building blocks for declaring keyframe-based animation timelines and tracks.

  • Pr
    KeyframesiOS 17.0+
    A type that defines changes to a value over time.
  • Pr
    KeyframeTrackContentiOS 17.0+
    A group of keyframes that define an interpolation curve of an animatable
  • St
    KeyframeTimelineiOS 17.0+
    A description of how a value changes over time, modeled using keyframes.
  • St
    KeyframeTrackiOS 17.0+
    A sequence of keyframes animating a single property of a root type.
  • St
    CubicKeyframeiOS 17.0+
    A keyframe that uses a cubic curve to smoothly interpolate between values.
  • St
    LinearKeyframeiOS 17.0+
    A keyframe that uses simple linear interpolation.
  • St
    MoveKeyframeiOS 17.0+
    A keyframe that immediately moves to the given value without interpolating.
  • St
    SpringKeyframeiOS 17.0+
    A keyframe that uses a spring function to interpolate to the given value.

Timelines 6

Schedules and data sources that drive content updates over time.

  • Pr
    TimelineScheduleiOS 15.0+
    A type that provides a sequence of dates for use as a schedule.
  • En
    TimelineScheduleModeiOS 15.0+
    A mode of operation for timeline schedule updates.
  • St
    EveryMinuteTimelineScheduleiOS 15.0+
    A schedule for updating a timeline view at the start of every minute.
  • St
    ExplicitTimelineScheduleiOS 15.0+
    A schedule for updating a timeline view at explicit points in time.
  • St
    PeriodicTimelineScheduleiOS 15.0+
    A schedule for updating a timeline view at regular intervals.
  • St
    TimeDataSourceiOS 18.0+
    A source of time related data.

Shapes 6

Protocols and shapes for defining insettable and rounded rectangular geometry.

  • Pr
    InsettableShapeiOS 13.0+
    A shape type that is able to inset itself to produce another shape.
  • Pr
    RoundedRectangularShapeiOS 26.0+
    A protocol of ``InsettableShape`` that describes a rounded rectangular
  • St
    RoundedRectangularShapeCornersiOS 26.0+
    A type describing the corner styles of a ``RoundedRectangularShape``.
  • St
    ConcentricRectangleiOS 26.0+
    A shape whose corners you configure, individually or uniformly, to be
  • En
    RoundedCornerStyleiOS 13.0+
    Defines the shape of a rounded rectangle's corners.
  • En
    ShapeRoleiOS 15.0+
    Ways of styling a shape.

Shape Styles and Materials 8

Fills, materials, and shadow styles used to render shapes and backgrounds.

  • Pr
    ShapeStyleiOS 13.0+
    A color or pattern to use when rendering a shape.
  • St
    MaterialiOS 15.0+
    A background material type.
  • St
    MaterialActiveAppearanceiOS 18.0+
    The behavior for how materials appear active and inactive.
  • St
    SeparatorShapeStyleiOS 17.0+
    A style appropriate for foreground separator or border lines.
  • St
    TintShapeStyleiOS 15.0+
    A style that reflects the current tint color.
  • St
    ShadowStyleiOS 16.0+
    A style to use when rendering shadows.
  • St
    BackgroundProminenceiOS 17.0+
    The prominence of backgrounds underneath other views.
  • En
    ProminenceiOS 15.0+
    A type indicating the prominence of a view hierarchy.

Rendering and Visual Effects 10

Renderers, shaders, and effects that produce or transform a view's visual output.

  • Cl
    ImageRendereriOS 16.0+
    An object that creates images from SwiftUI views.
  • Pr
    TextRendereriOS 17.0+
    A value that can replace the default text view rendering behavior.
  • St
    TextProxyiOS 18.0+
    A proxy for a text view that custom text renderers use.
  • St
    Shader
    A reference to a function in a Metal shader library, along with its
  • Pr
    VisualEffectiOS 17.0+
    Visual Effects change the visual appearance of a view without changing its
  • St
    EmptyVisualEffectiOS 17.0+
    The base visual effect that you apply additional effect to.
  • En
    BlendModeiOS 13.0+
    Modes for compositing a view with overlapping content.
  • En
    ColorRenderingModeiOS 13.0+
    The set of possible working color spaces for color-compositing operations.
  • St
    ContentTransitioniOS 16.0+
    A kind of transition that applies to the content within a single view,
  • St
    TransitionPropertiesiOS 17.0+
    The properties a `Transition` can have.

Hover Effects 4

Protocols and effects that customize how views respond to pointer hover.

  • Pr
    CustomHoverEffect
    A type that represents how a view should change when a pointer hovers
  • Pr
    HoverEffectContent
    A type that describes the effects of a view for a particular hover
  • St
    EmptyHoverEffect
    A base hover effect used to build additional effects.
  • St
    EmptyHoverEffectContent
    An empty base effect that you use to build other effects.

Symbol Rendering 4

Modes and variants that control how SF Symbols are rendered and styled.

  • St
    SymbolColorRenderingModeiOS 26.0+
    A method of filling a layer in a symbol image.
  • St
    SymbolRenderingModeiOS 15.0+
    A symbol rendering mode.
  • St
    SymbolVariableValueModeiOS 26.0+
    A method of rendering the variable value of a symbol image.
  • St
    SymbolVariantsiOS 15.0+
    A variant of a symbol.

Text and Attributed Content 12

Protocols and types governing text attributes, formatting, selectability, and typesetting.

  • Pr
    TextAttributeiOS 17.0+
    A value that you can attach to text views and that text renderers can query.
  • Pr
    AttributedTextFormattingDefinitioniOS 26.0+
    A protocol for defining how text can be styled in a view.
  • Pr
    AttributedTextValueConstraintiOS 26.0+
    A protocol for defining a constraint on the value of a certain attribute.
  • En
    AttributedTextFormattingiOS 26.0+
    A namespace for types related to attributed text formatting definitions.
  • Pr
    TextSelectability
    A type that describes the ability to select text.
  • St
    DisabledTextSelectability
    A selectability type that disables text selection by the person using your app.
  • St
    EnabledTextSelectability
    A selectability type that enables text selection by the person using your app.
  • Pr
    TextVariantPreferenceiOS 18.0+
    A protocol for controlling the size variant of text views.
  • St
    FixedTextVariantiOS 18.0+
    The default text variant preference that chooses the largest available
  • St
    SizeDependentTextVariantiOS 18.0+
    The size dependent variant preference allows the text to take the available
  • St
    TypesettingLanguageiOS 17.0+
    Defines how typesetting language is determined for text.
  • En
    SystemFormatStyleiOS 18.0+
    A collection of format styles for displaying live-updating time

Scrolling 5

Types that describe scroll geometry, position, and content-offset behavior.

  • St
    ScrollGeometryiOS 18.0+
    A type that defines the geometry of a scroll view.
  • St
    ScrollPositioniOS 18.0+
    A type that defines the semantic position of where a scroll view is
  • St
    ScrollTargetiOS 17.0+
    A type defining the target in which a scroll view should try and scroll to.
  • St
    ScrollContentOffsetAdjustmentBehavioriOS 18.0+
    A type that defines the different kinds of content offset adjusting
  • St
    PinnedScrollableViewsiOS 14.0+
    A set of view types that may be pinned to the bounds of a scroll view.

Interaction Traits 4

Option sets that classify content shapes and gesture input kinds for interaction.

  • St
    ContentShapeKindsiOS 15.0+
    A kind for the content shape of a view.
  • St
    GestureInputKinds
    An option set that specifies which input kinds a gesture should recognize.
  • St
    ButtonSizingiOS 26.0+
    The sizing behavior of `Button`s and other button-like controls.
  • En
    ControlSizeiOS 15.0+
    The size classes, like regular or small, that you can apply to controls

Accessibility 5

Descriptors, traits, and keys that expose views to assistive technologies.

  • Pr
    AXChartDescriptorRepresentableiOS 15.0+
    A type to generate an `AXChartDescriptor` object that you use to provide
  • St
    AccessibilityCustomContentKeyiOS 15.0+
    Key used to specify the identifier and label associated with
  • St
    AccessibilityTextContentTypeiOS 15.0+
    Textual context that assistive technologies can use to improve the
  • St
    AccessibilityTraitsiOS 13.0+
    A set of accessibility traits that describe how an element behaves.
  • St
    RedactionReasonsiOS 14.0+
    The reasons to apply a redaction to data displayed on screen.

Display Traits and Appearance 7

Enumerations that report the display environment such as color scheme, contrast, and type size.

  • En
    ColorSchemeiOS 13.0+
    The possible color schemes, corresponding to the light and dark appearances.
  • En
    ColorSchemeContrastiOS 13.0+
    The contrast between the app's foreground and background colors.
  • En
    ContentSizeCategory
    An enumeration of the user's preferred content size categories.
  • En
    DynamicTypeSizeiOS 15.0+
    A Dynamic Type size, which specifies how large scalable content should be.
  • En
    LegibilityWeightiOS 13.0+
    The Accessibility Bold Text user setting options.
  • En
    UserInterfaceSizeClassiOS 13.0+
    A set of values that indicate the visual size available to the view.
  • En
    WorldRecenterPhase
    A type that represents information associated with a phase of a

Structures 122

  • St
    AlignmentiOS 13.0+
    An alignment in both axes.
  • St
    Alignment3D
    An alignment in all three axes.
  • St
    AlignmentKeyiOS 13.0+
    A single sort key type for alignment guides in both axes.
  • St
    AnchoriOS 13.0+
    An opaque value derived from an anchor source and a particular view.
  • St
    AngleiOS 13.0+
    A geometric angle whose value you access in either radians or degrees.
  • St
    AngularGradientiOS 13.0+
    An angular gradient.
  • St
    AnimatablePairiOS 13.0+
    A pair of animatable values, which is itself animatable.
  • St
    AnimatableValuesiOS 26.0+
  • St
    AnimationiOS 13.0+
    The way a view changes over time to create a smooth visual transition from
  • St
    AnyGestureiOS 13.0+
    A type-erased gesture.
  • St
    AnyGradientiOS 16.0+
    A color gradient.
  • St
    AnyLayoutiOS 16.0+
    A type-erased instance of the layout protocol.
  • St
    AnyShapeiOS 16.0+
    A type-erased shape value.
  • St
    AnyShapeStyleiOS 15.0+
    A type-erased ShapeStyle value.
  • St
    AnyTransitioniOS 13.0+
    A type-erased transition.
  • St
    AnyViewiOS 13.0+
    A type-erased view.
Show 106 more
  • St
    AsymmetricTransitioniOS 17.0+
    A composite `Transition` that uses a different transition for
  • St
    BackgroundStyleiOS 14.0+
    The background style in the current context.
  • St
    BindableiOS 17.0+
    A property wrapper type that supports creating bindings to the mutable
  • St
    BindingiOS 13.0+
    A property wrapper type that can read and write a value owned by a source of
  • St
    BlurReplaceTransitioniOS 17.0+
    A transition that animates the insertion or removal of a view by
  • St
    CanvasiOS 15.0+
    A view type that supports immediate mode drawing.
  • St
    CapsuleiOS 13.0+
    A capsule shape aligned inside the frame of the view containing it.
  • St
    CircleiOS 13.0+
    A circle centered on the frame of the view containing it.
  • St
    ColoriOS 13.0+
    A representation of a color that adapts to a given context.
  • St
    ColorMatrixiOS 15.0+
    A matrix to use in an RGBA color transformation.
  • St
    ContainerRelativeShapeiOS 14.0+
    A shape that is replaced by an inset version of the current
  • St
    DebugReplaceableViewiOS 26.0+
    Erases view opaque result types in debug builds.
  • St
    DepthAlignment
    An alignment position along the depth axis.
  • St
    EdgeInsetsiOS 13.0+
    The inset distances for the sides of a rectangle.
  • St
    EdgeInsets3D
    The inset distances for the faces of a 3D volume.
  • St
    EllipseiOS 13.0+
    An ellipse aligned inside the frame of the view containing it.
  • St
    EllipticalGradientiOS 15.0+
    A radial gradient that draws an ellipse.
  • St
    EmptyAnimatableDataiOS 13.0+
    An empty type for animatable data.
  • St
    EmptyModifieriOS 13.0+
    An empty, or identity, modifier, used during development to switch
  • St
    EmptyViewiOS 13.0+
    A view that doesn't contain any content.
  • St
    EnvironmentiOS 13.0+
    A property wrapper that reads a value from a view's environment.
  • St
    EnvironmentObjectiOS 13.0+
    A property wrapper type for an observable object that a parent or ancestor
  • St
    EventModifiersiOS 13.0+
    A set of key modifiers that you can add to a gesture.
  • St
    ExclusiveGestureiOS 13.0+
    A gesture that consists of two gestures where only one of them can succeed.
  • St
    FillShapeViewiOS 17.0+
    A shape provider that fills its shape.
  • St
    FillStyleiOS 13.0+
    A style for rasterizing vector shapes.
  • St
    FontiOS 13.0+
    An environment-dependent font.
  • St
    ForegroundStyleiOS 13.0+
    The foreground style in the current context.
  • St
    GeometryReaderiOS 13.0+
    A container view that defines its content as a function of its own size and
  • St
    GeometryReader3D
    A container view that defines its content as a function of its own
  • St
    GestureMaskiOS 13.0+
    Options that control how adding a gesture to a view affects other gestures
  • St
    GradientiOS 13.0+
    A color gradient represented as an array of color stops, each having a
  • St
    GraphicsContextiOS 15.0+
    An immediate mode drawing destination, and its current state.
  • St
    GroupiOS 13.0+
    A type that collects multiple instances of a content type --- like views,
  • St
    GroupElementsOfContentiOS 18.0+
    Transforms the subviews of a given view into a resulting content view.
  • St
    GroupSectionsOfContentiOS 18.0+
    Transforms the sections of a given view into a resulting content view.
  • St
    HStackiOS 13.0+
    A view that arranges its subviews in a horizontal line.
  • St
    HStackLayoutiOS 16.0+
    A horizontal container that you can use in conditional layouts.
  • St
    HierarchicalShapeStyleiOS 15.0+
    A shape style that maps to one of the numbered content styles.
  • St
    HierarchicalShapeStyleModifieriOS 17.0+
    Styles that you can apply to hierarchical shapes.
  • St
    HorizontalAlignmentiOS 13.0+
    An alignment position along the horizontal axis.
  • St
    IdentityTransitioniOS 17.0+
    A transition that returns the input view, unmodified, as the output
  • St
    ImageiOS 13.0+
    A view that displays an image.
  • St
    ImagePaintiOS 13.0+
    A shape style that fills a shape by repeating a region of an image.
  • St
    KeyframeAnimatoriOS 17.0+
    A container that animates its content with keyframes.
  • St
    KeyframeTrackContentBuilderiOS 17.0+
    The builder that creates keyframe track content from the keyframes
  • St
    KeyframesBuilderiOS 17.0+
    A builder that combines keyframe content values into a single value.
  • St
    LayoutRotationUnaryLayout
  • St
    LazyHStackiOS 14.0+
    A view that arranges its children in a line that grows horizontally,
  • St
    LazyStateiOS 17.0+
    A property wrapper type that can read and write a value managed by SwiftUI.
  • St
    LazyVStackiOS 14.0+
    A view that arranges its children in a line that grows vertically,
  • St
    LinearGradientiOS 13.0+
    A linear gradient.
  • St
    LocalizedStringKeyiOS 13.0+
    The key used to look up an entry in a strings file or strings dictionary
  • St
    MatchedGeometryPropertiesiOS 14.0+
    A set of view properties that may be synchronized between views
  • St
    MeshGradientiOS 18.0+
    A two-dimensional gradient defined by a 2D grid of positioned
  • St
    ModifiedContentiOS 13.0+
    A value with a modifier applied to it.
  • St
    MoveTransitioniOS 17.0+
    Returns a transition that moves the view away, towards the specified
  • St
    NamespaceiOS 14.0+
    A dynamic property type that allows access to a namespace defined
  • St
    ObservedObjectiOS 13.0+
    A property wrapper type that subscribes to an observable object and
  • St
    OffsetShapeiOS 13.0+
    A shape with a translation offset transform applied to it.
  • St
    OffsetTransitioniOS 17.0+
    Returns a transition that offset the view by the specified amount.
  • St
    OpacityTransitioniOS 17.0+
    A transition from transparent to opaque on insertion, and from opaque to
  • St
    OpenURLActioniOS 14.0+
    An action that opens a URL.
  • St
    PathiOS 13.0+
    The outline of a 2D shape.
  • St
    PhaseAnimatoriOS 17.0+
    A container that animates its content by automatically cycling through
  • St
    PlaceholderContentViewiOS 17.0+
    A placeholder used to construct an inline modifier, transition, or other
  • St
    ProjectionTransformiOS 13.0+
  • St
    ProposedViewSizeiOS 16.0+
    A proposal for the size of a view.
  • St
    PushTransitioniOS 17.0+
    A transition that when added to a view will animate the view's insertion by
  • St
    RadialGradientiOS 13.0+
    A radial gradient.
  • St
    RectangleiOS 13.0+
    A rectangular shape aligned inside the frame of the view containing it.
  • St
    RectangleCornerInsetsiOS 26.0+
    The inset sizes for the corners of a rectangle.
  • St
    RectangleCornerRadiiiOS 16.0+
    Describes the corner radius values of a rounded rectangle with
  • St
    RotatedShapeiOS 13.0+
    A shape with a rotation transform applied to it.
  • St
    RoundedRectangleiOS 13.0+
    A rectangular shape with rounded corners, aligned inside the frame of the
  • St
    SafeAreaRegionsiOS 14.0+
    A set of symbolic safe area regions.
  • St
    ScaleTransitioniOS 17.0+
    Returns a transition that scales the view.
  • St
    ScaledMetriciOS 14.0+
    A dynamic property that scales a numeric value.
  • St
    ScaledShapeiOS 13.0+
    A shape with a scale transform applied to it.
  • St
    ShaderFunction
    A reference to a function in a Metal shader library.
  • St
    ShaderLibrary
    A Metal shader library.
  • St
    SimultaneousGestureiOS 13.0+
    A gesture containing two gestures that can happen at the same time with
  • St
    SlideTransitioniOS 17.0+
    A transition that inserts by moving in from the leading edge, and
  • St
    SpaceriOS 13.0+
    A flexible space that expands along the major axis of its containing stack
  • St
    SpatialContainer
    A layout container that aligns overlapping content in 3D space.
  • St
    StateiOS 13.0+
    A property wrapper type that can read and write a value managed by SwiftUI.
  • St
    StateObjectiOS 14.0+
    A property wrapper type that instantiates an observable object.
  • St
    StrokeBorderShapeViewiOS 17.0+
    A shape provider that strokes the border of its shape.
  • St
    StrokeShapeViewiOS 17.0+
    A shape provider that strokes its shape.
  • St
    StrokeStyleiOS 13.0+
    The characteristics of a stroke that traces a path.
  • St
    SubviewiOS 18.0+
    An opaque value representing a subview of another view.
  • St
    TapGestureiOS 13.0+
    A gesture that recognizes one or more taps.
  • St
    TextiOS 13.0+
    A view that displays one or more lines of read-only text.
  • St
    TransactioniOS 13.0+
    The context of the current state-processing update.
  • St
    TransformedShapeiOS 13.0+
    A shape with an affine transform applied to it.
  • St
    TupleContentiOS 26.0+
    Content created from a tuple of content to be treated as siblings.
  • St
    TupleViewiOS 13.0+
    A View created from a swift tuple of View values.
  • St
    UnevenRoundedRectangleiOS 16.0+
    A rectangular shape with rounded corners with different values, aligned
  • St
    UnitPointiOS 13.0+
    A normalized 2D point in a view's coordinate space.
  • St
    UnitPoint3D
    A normalized 3D point in a view's coordinate space.
  • St
    VStackiOS 13.0+
    A view that arranges its subviews in a vertical line.
  • St
    VStackLayoutiOS 16.0+
    A vertical container that you can use in conditional layouts.
  • St
    VerticalAlignmentiOS 13.0+
    An alignment position along the vertical axis.
  • St
    ViewBuilderiOS 13.0+
    A custom parameter attribute that constructs views from closures.
  • St
    ZStackiOS 13.0+
    A view that overlays its subviews, aligning them in both axes.
  • St
    ZStackLayoutiOS 16.0+
    An overlaying container that you can use in conditional layouts.

Enumerations 14

  • En
    AccessibilityHeadingLeveliOS 15.0+
    The hierarchy of a heading in relation to other headings.
  • En
    AxisiOS 13.0+
    The horizontal or vertical dimension in a 2D coordinate system.
  • En
    Chirality
    The chirality, or handedness, of a pose.
  • En
    ContentModeiOS 13.0+
    Constants that define how a view's content fills the available space.
  • En
    EdgeiOS 13.0+
    An enumeration to indicate one edge of a rectangle.
  • En
    Edge3D
    An edge or face of a 3D volume.
  • En
    HorizontalDirectioniOS 18.0+
    A direction on the horizontal axis.
  • En
    HorizontalEdgeiOS 15.0+
    An edge on the horizontal axis.
  • En
    ScrollPhaseiOS 18.0+
    A type that describes the state of a scroll gesture of a
  • En
    TextAlignmentiOS 13.0+
    An alignment position for text along the horizontal axis.
  • En
    TransitionPhaseiOS 17.0+
    An indication of which the current stage of a transition.
  • En
    VerticalDirectioniOS 18.0+
    A direction on the vertical axis.
  • En
    VerticalEdgeiOS 15.0+
    An edge on the vertical axis.
  • En
    VisibilityiOS 15.0+
    The visibility of a UI element, chosen automatically based on

Protocols 9

  • Pr
    CustomAnimationiOS 17.0+
    A type that defines how an animatable value changes over time.
  • Pr
    GeometryEffectiOS 13.0+
    An effect that changes the visual appearance of a view, largely without
  • Pr
    GestureiOS 13.0+
    An instance that matches a sequence of events to a gesture, and returns a
  • Pr
    LayoutiOS 16.0+
    A type that defines the geometry of a collection of views.
  • Pr
    ShapeiOS 13.0+
    A 2D shape that you can use when drawing a view.
  • Pr
    ShapeViewiOS 17.0+
    A view that provides a shape that you can use for drawing operations.
  • Pr
    TransitioniOS 17.0+
    A description of view changes to apply when a view is added to and removed
  • Pr
    ViewiOS 13.0+
    A type that represents part of your app's user interface and provides
  • Pr
    ViewModifieriOS 13.0+
    A modifier that you apply to a view or another view modifier, producing a

Type Aliases 2

  • Ty
    ContentBuilder
    A custom parameter attribute that constructs views and other content types
  • Ty
    EmptyContent
    Content which contains nothing.

Extends 18

CGPointFormatStyleNeverPoint3DCGSizeSize3DAttributeScopesAttributeDynamicLookupFloatDoubleCGFloatOptionalRect3DAngle2DRangeReplaceableCollectionMutableCollectionVector3DCGRect
← UI & App Frameworks