API Differences in SwiftUICore in macOS 26.0

It's more difficult than it used to be to find what changed in Apple SDKs. This page is automatically generated and shows what is new in SwiftUICore in the macOS 26.0 SDK.

Table of Contents

Protocols

AttributedTextFormattingDefinition
AttributedTextValueConstraint
RoundedRectangularShape

Classes

DebugReplaceableViewStorageBase

Structs

AnimatableValues
AttributedTextFormatting
AnyDefinition
AttributedTextFormatting
AttributeContainerProxy
AttributedTextFormatting.AttributeContainerProxy
Scoped
AttributedTextFormatting
DefinitionBuilder
AttributedTextFormatting
EmptyDefinition
AttributedTextFormatting
TupleDefinition
AttributedTextFormatting
ValueConstraint
AttributedTextFormatting
_Inputs
AttributedTextFormatting
_Outputs
ButtonSizing
Color
ResolvedHDR
Color.ResolvedHDR
_Animatable
ConcentricRectangle
DebugReplaceableView
DefaultGlassEffectShape
Edge.Corner
Style
Font
Resolved
Glass
GlassEffectContainer
GlassEffectTransition
RectangleCornerInsets
RoundedRectangularShapeCorners
SymbolColorRenderingMode
SymbolVariableValueMode
Text
AlignmentStrategy
Text
WritingDirectionStrategy
_ContainerRoundedRectangularShapeModifier
_TagTraitWritingModifier

Enums

AttributedTextFormatting
Chirality
Edge
Corner
SemanticRequirement
WorldRecenterPhase

Typealiases

AttributedTextFormattingDefinition
public typealias ValueConstraint = SwiftUICore.AttributedTextFormatting.ValueConstraint
AttributedTextValueConstraint
public typealias Attributes = SwiftUICore.AttributedTextFormatting.AttributeContainerProxy<Self.Scope, Self.AttributeKey>
Color.ResolvedHDR
public typealias AnimatableData = SwiftUICore.Color.ResolvedHDR._Animatable
Color.ResolvedHDR
public typealias Resolved = Swift.Never
Edge.Corner.Style
public typealias FloatLiteralType = Swift.Float
Edge.Corner.Style
public typealias IntegerLiteralType = Swift.Int
ModifiedContent
public typealias AnimatableData = SwiftUICore.AnimatablePair<Content.AnimatableData, Modifier.AnimatableData>
Swift.Optional
public typealias Body = @_opaqueReturnTypeOf("$sSq7SwiftUIAA34AttributedTextFormattingDefinitionRzlE4bodyQrvp", 0) __<Wrapped>
Swift.Optional
public typealias Scope = Wrapped.Scope
_ConditionalContent
public typealias Body = SwiftUICore._ConditionalContent<TrueContent, FalseContent>
_ConditionalContent
public typealias Scope = TrueContent.Scope

Functions & Methods

Angle
public func encode(to encoder: any Swift.Encoder) throws
AttributedTextFormattingDefinition
public static func _makeDefinition(_ inputs: SwiftUICore.AttributedTextFormatting._Inputs<Self>) -> SwiftUICore.AttributedTextFormatting._Outputs<Self>
AttributedTextFormattingDefinition
public func constrain(_ string: inout Foundation.AttributedString)
AttributedTextFormattingDefinition
public func constrain(_ container: inout Foundation.AttributeContainer)
AttributedTextValueConstraint
public static func _makeDefinition(_ inputs: SwiftUICore.AttributedTextFormatting._Inputs<Self>) -> SwiftUICore.AttributedTextFormatting._Outputs<Self>
Capsule
public func corners(in size: CoreFoundation.CGSize?) -> SwiftUICore.Capsule.Corners?
Circle
public func corners(in size: CoreFoundation.CGSize?) -> SwiftUICore.Circle.Corners?
Color.ResolvedHDR
public static func _apply(to type: inout SwiftUICore._ShapeStyle_ShapeType)
Color.ResolvedHDR
public func _apply(to shape: inout SwiftUICore._ShapeStyle_Shape)
Color.ResolvedHDR
public func encode(to encoder: any Swift.Encoder) throws
Color
internal func _linearScale(_ factor: Swift.Float) -> SwiftUICore.Color
Color
public func exposureAdjust(_ stops: Swift.Double) -> SwiftUICore.Color
Color
public func headroom(_ headroom: Swift.Double?) -> SwiftUICore.Color
Color
public func resolveHDR(in environment: SwiftUICore.EnvironmentValues) -> SwiftUICore.Color.ResolvedHDR
ControlSize
public static func < (lhs: SwiftUICore.ControlSize, rhs: SwiftUICore.ControlSize) -> Swift.Bool
EdgeInsets
public func inset(by corners: SwiftUICore.RectangleCornerInsets, edges: SwiftUICore.Edge.Set = .all) -> SwiftUICore.EdgeInsets
Font.Resolved
public static func == (lhs: SwiftUICore.Font.Resolved, rhs: SwiftUICore.Font.Resolved) -> Swift.Bool
Font.Resolved
public func hash(into hasher: inout Swift.Hasher)
Font.TextStyle
public func encode(to encoder: any Swift.Encoder) throws
Font
public func bold(_ isActive: Swift.Bool) -> SwiftUICore.Font
Font
public func italic(_ isActive: Swift.Bool) -> SwiftUICore.Font
Font
public func lowercaseSmallCaps(_ isActive: Swift.Bool) -> SwiftUICore.Font
Font
public func monospaced(_ isActive: Swift.Bool) -> SwiftUICore.Font
Font
public func pointSize(_ size: CoreFoundation.CGFloat) -> SwiftUICore.Font
Font
public func resolve(in context: SwiftUICore.Font.Context) -> SwiftUICore.Font.Resolved
Font
public func scaled(by factor: CoreFoundation.CGFloat) -> SwiftUICore.Font
Font
public func smallCaps(_ isActive: Swift.Bool) -> SwiftUICore.Font
Font
public func uppercaseSmallCaps(_ isActive: Swift.Bool) -> SwiftUICore.Font
ForEach
internal static func create(_ data: Data, @SwiftUICore.ViewBuilder content: @escaping (Data.Element) -> Content) -> SwiftUICore.ForEach<Data, ID, Content>
ForEach
internal static func create(_ data: Data, id: Swift.KeyPath<Data.Element, ID>, @SwiftUICore.ViewBuilder content: @escaping (Data.Element) -> Content) -> SwiftUICore.ForEach<Data, ID, Content>
ForEach
@_semantics("swiftui.requires_constant_range") internal static func create(_ data: Swift.Range<Swift.Int>, @SwiftUICore.ViewBuilder content: @escaping (Swift.Int) -> Content) -> SwiftUICore.ForEach<Data, ID, Content>
Foundation.AttributeScopes.SwiftUIAttributes.BackgroundColorAttribute
public static func decode(from decoder: any Swift.Decoder) throws -> Foundation.AttributeScopes.SwiftUIAttributes.BackgroundColorAttribute.Value
Foundation.AttributeScopes.SwiftUIAttributes.BackgroundColorAttribute
public static func encode(_ value: Foundation.AttributeScopes.SwiftUIAttributes.BackgroundColorAttribute.Value, to encoder: any Swift.Encoder) throws
Foundation.AttributeScopes.SwiftUIAttributes.FontAttribute
public static func decode(from decoder: any Swift.Decoder) throws -> SwiftUICore.Font
Foundation.AttributeScopes.SwiftUIAttributes.FontAttribute
public static func encode(_ value: SwiftUICore.Font, to encoder: any Swift.Encoder) throws
Foundation.AttributeScopes.SwiftUIAttributes.ForegroundColorAttribute
public static func decode(from decoder: any Swift.Decoder) throws -> Foundation.AttributeScopes.SwiftUIAttributes.ForegroundColorAttribute.Value
Foundation.AttributeScopes.SwiftUIAttributes.ForegroundColorAttribute
public static func encode(_ value: Foundation.AttributeScopes.SwiftUIAttributes.ForegroundColorAttribute.Value, to encoder: any Swift.Encoder) throws
Foundation.AttributeScopes.SwiftUIAttributes.StrikethroughStyleAttribute
public static func decode(from decoder: any Swift.Decoder) throws -> Foundation.AttributeScopes.SwiftUIAttributes.StrikethroughStyleAttribute.Value
Foundation.AttributeScopes.SwiftUIAttributes.StrikethroughStyleAttribute
public static func encode(_ value: Foundation.AttributeScopes.SwiftUIAttributes.StrikethroughStyleAttribute.Value, to encoder: any Swift.Encoder) throws
Foundation.AttributeScopes.SwiftUIAttributes.UnderlineStyleAttribute
public static func decode(from decoder: any Swift.Decoder) throws -> Foundation.AttributeScopes.SwiftUIAttributes.UnderlineStyleAttribute.Value
Foundation.AttributeScopes.SwiftUIAttributes.UnderlineStyleAttribute
public static func encode(_ value: Foundation.AttributeScopes.SwiftUIAttributes.UnderlineStyleAttribute.Value, to encoder: any Swift.Encoder) throws
Image
public func symbolColorRenderingMode(_ mode: SwiftUICore.SymbolColorRenderingMode?) -> SwiftUICore.Image
Image
public func symbolVariableValueMode(_ mode: SwiftUICore.SymbolVariableValueMode?) -> SwiftUICore.Image
ModifiedContent
public static func _makeVisualEffect(effect: SwiftUICore._GraphValue<SwiftUICore.ModifiedContent<Content, Modifier>>, inputs: SwiftUICore._ViewInputs, body: @escaping (SwiftUICore._Graph, SwiftUICore._ViewInputs) -> SwiftUICore._ViewOutputs) -> SwiftUICore._ViewOutputs
OpenURLAction
public func callAsFunction(_ url: Foundation.URL, prefersInApp: Swift.Bool)
Rectangle
public func corners(in size: CoreFoundation.CGSize?) -> SwiftUICore.Rectangle.Corners?
Result
public static func systemAction(_ url: Foundation.URL? = nil, prefersInApp: Swift.Bool) -> SwiftUICore.OpenURLAction.Result
RoundedRectangle
public func corners(in size: CoreFoundation.CGSize?) -> SwiftUICore.RoundedRectangle.Corners?
Shape
public static func rect(corners: SwiftUICore.Edge.Corner.Style, isUniform: Swift.Bool = false) -> Self
Shape
public static func rect(topLeadingCorner: SwiftUICore.Edge.Corner.Style, topTrailingCorner: SwiftUICore.Edge.Corner.Style, bottomLeadingCorner: SwiftUICore.Edge.Corner.Style, bottomTrailingCorner: SwiftUICore.Edge.Corner.Style) -> Self
Shape
public static func rect(uniformTopCorners: SwiftUICore.Edge.Corner.Style, uniformBottomCorners: SwiftUICore.Edge.Corner.Style) -> Self
Shape
public static func rect(uniformLeadingCorners: SwiftUICore.Edge.Corner.Style, uniformTrailingCorners: SwiftUICore.Edge.Corner.Style) -> Self
Shape
public static func rect(uniformTopCorners: SwiftUICore.Edge.Corner.Style, bottomLeadingCorner: SwiftUICore.Edge.Corner.Style, bottomTrailingCorner: SwiftUICore.Edge.Corner.Style) -> Self
Shape
public static func rect(uniformBottomCorners: SwiftUICore.Edge.Corner.Style, topLeadingCorner: SwiftUICore.Edge.Corner.Style, topTrailingCorner: SwiftUICore.Edge.Corner.Style) -> Self
Shape
public static func rect(uniformLeadingCorners: SwiftUICore.Edge.Corner.Style, topTrailingCorner: SwiftUICore.Edge.Corner.Style, bottomTrailingCorner: SwiftUICore.Edge.Corner.Style) -> Self
Shape
public static func rect(uniformTrailingCorners: SwiftUICore.Edge.Corner.Style, topLeadingCorner: SwiftUICore.Edge.Corner.Style, bottomLeadingCorner: SwiftUICore.Edge.Corner.Style) -> Self
UnevenRoundedRectangle
public func corners(in size: CoreFoundation.CGSize?) -> SwiftUICore.UnevenRoundedRectangle.Corners?
UnitPoint
public func encode(to encoder: any Swift.Encoder) throws
View
nonisolated internal func _fixedSize() -> some SwiftUICore.View
View
nonisolated public func attributedTextFormattingDefinition<D>(_ definition: D) -> some SwiftUICore.View where D : SwiftUICore.AttributedTextFormattingDefinition
View
nonisolated public func attributedTextFormattingDefinition<S>(_ scope: S.Type) -> some SwiftUICore.View where S : Foundation.AttributeScope
View
nonisolated public func attributedTextFormattingDefinition<S>(_ path: Swift.KeyPath<Foundation.AttributeScopes, S.Type>) -> some SwiftUICore.View where S : Foundation.AttributeScope
View
nonisolated public func buttonSizing(_ sizing: SwiftUICore.ButtonSizing) -> some SwiftUICore.View
View
nonisolated public func containerCornerOffset(_ edges: SwiftUICore.Edge.Set, sizeToFit: Swift.Bool = false) -> some SwiftUICore.View
View
nonisolated public func containerShape(_ shape: some RoundedRectangularShape) -> some SwiftUICore.View
View
nonisolated public func controlSize<T>(_ range: T) -> some SwiftUICore.View where T : Swift.RangeExpression, T.Bound == SwiftUICore.ControlSize
View
nonisolated public func glassEffect(_ glass: SwiftUICore.Glass = .regular, in shape: some Shape = DefaultGlassEffectShape()) -> some SwiftUICore.View
View
nonisolated public func glassEffectID(_ id: (some (Hashable & Sendable))?, in namespace: SwiftUICore.Namespace.ID) -> some SwiftUICore.View
View
public func glassEffectTransition(_ transition: SwiftUICore.GlassEffectTransition) -> some SwiftUICore.View
View
public func glassEffectUnion(id: (some (Hashable & Sendable))?, namespace: SwiftUICore.Namespace.ID) -> some SwiftUICore.View
View
nonisolated public func lineHeight(_ lineHeight: Foundation.AttributedString.LineHeight?) -> some SwiftUICore.View
View
nonisolated public func multilineTextAlignment(strategy: SwiftUICore.Text.AlignmentStrategy) -> some SwiftUICore.View
View
public func onOpenURL(prefersInApp: Swift.Bool) -> some SwiftUICore.View
View
nonisolated public func symbolColorRenderingMode(_ mode: SwiftUICore.SymbolColorRenderingMode?) -> some SwiftUICore.View
View
nonisolated public func symbolVariableValueMode(_ mode: SwiftUICore.SymbolVariableValueMode?) -> some SwiftUICore.View
View
nonisolated public func writingDirection(strategy: SwiftUICore.Text.WritingDirectionStrategy) -> some SwiftUICore.View
VisualEffect
package func combining<Effect>(_ effect: Effect) -> SwiftUICore.ModifiedContent<Self, Effect> where Effect : SwiftUICore.VisualEffect
_ConditionalContent
public static func _makeDefinition(_ inputs: SwiftUICore.AttributedTextFormatting._Inputs<SwiftUICore._ConditionalContent<TrueContent, FalseContent>>) -> SwiftUICore.AttributedTextFormatting._Outputs<SwiftUICore._ConditionalContent<TrueContent, FalseContent>>
public func _animatableMacroKind() -> SwiftUICore.AnimatableValues<>

Properties & Constants

AttributedTextValueConstraint
public var body: Self
Color.ResolvedHDR
public var animatableData: SwiftUICore.Color.ResolvedHDR.AnimatableData
Color.ResolvedHDR
public var description: Swift.String
Edge.Corner.Set
public var debugDescription: Swift.String
Edge.Corner
public var debugDescription: Swift.String
EnvironmentValues
public var buttonSizing: SwiftUICore.ButtonSizing
EnvironmentValues
public var lineHeight: Foundation.AttributedString.LineHeight?
EnvironmentValues
public var symbolColorRenderingMode: SwiftUICore.SymbolColorRenderingMode?
EnvironmentValues
public var symbolVariableValueMode: SwiftUICore.SymbolVariableValueMode?
Font
public static var `default`: SwiftUICore.Font
GeometryProxy
public var containerCornerInsets: SwiftUICore.RectangleCornerInsets
ImageRenderer
final public var allowedDynamicRange: SwiftUICore.Image.DynamicRange?
ModifiedContent
public var animatableData: SwiftUICore.AnimatablePair<Content.AnimatableData, Modifier.AnimatableData>
ScrollPosition
public var x: CoreFoundation.CGFloat?
ScrollPosition
public var y: CoreFoundation.CGFloat?
Swift.Optional
public var body: some SwiftUICore.AttributedTextFormattingDefinition<Wrapped.Scope>
SwiftUIAttributes
public let alignment: Foundation.AttributeScopes.CoreTextAttributes.TextAlignmentAttribute
SwiftUIAttributes
public let lineHeight: Foundation.AttributeScopes.CoreTextAttributes.LineHeightAttribute
_ConditionalContent
public var body: SwiftUICore._ConditionalContent<TrueContent, FalseContent>

Conformances

Angle
Swift.Codable
Capsule
SwiftUICore.RoundedRectangularShape
Chirality
Swift.BitwiseCopyable
Circle
SwiftUICore.RoundedRectangularShape
Color.ResolvedHDR
Swift.BitwiseCopyable
Color.ResolvedHDR
Swift.Codable
Color.ResolvedHDR
Swift.CustomStringConvertible
Color.ResolvedHDR
SwiftUICore.Animatable
Color.ResolvedHDR
SwiftUICore.ShapeStyle
ControlSize
Swift.Comparable
Edge.Corner.Set
Swift.CustomDebugStringConvertible
Edge.Corner.Style
Swift.ExpressibleByFloatLiteral
Edge.Corner.Style
Swift.ExpressibleByIntegerLiteral
Edge.Corner
Swift.CustomDebugStringConvertible
Edge.Corner
Swift.RawRepresentable
Font.TextStyle
Swift.Codable
Foundation.AttributeScopes.SwiftUIAttributes.AdaptiveImageGlyphAttribute
Foundation.CodableAttributedStringKey
Foundation.AttributeScopes.SwiftUIAttributes.BackgroundColorAttribute
Foundation.CodableAttributedStringKey
Foundation.AttributeScopes.SwiftUIAttributes.FontAttribute
Foundation.CodableAttributedStringKey
Foundation.AttributeScopes.SwiftUIAttributes.ForegroundColorAttribute
Foundation.CodableAttributedStringKey
Foundation.AttributeScopes.SwiftUIAttributes.StrikethroughStyleAttribute
Foundation.CodableAttributedStringKey
Foundation.AttributeScopes.SwiftUIAttributes.UnderlineStyleAttribute
Foundation.CodableAttributedStringKey
GlassEffectContainer
Swift.Sendable
ModifiedContent
Swift.Sendable
ModifiedContent
SwiftUICore.Animatable
ModifiedContent
SwiftUICore.VisualEffect
Rectangle
SwiftUICore.RoundedRectangularShape
RectangleCornerInsets
Swift.BitwiseCopyable
RoundedRectangle
SwiftUICore.RoundedRectangularShape
SemanticRequirement
Swift.BitwiseCopyable
SemanticRequirement
Swift.Equatable
SemanticRequirement
Swift.Hashable
Swift.Optional
SwiftUICore.AttributedTextFormattingDefinition
UnevenRoundedRectangle
SwiftUICore.RoundedRectangularShape
UnitPoint
Swift.Codable
WorldRecenterPhase
Swift.Equatable
WorldRecenterPhase
Swift.Hashable
_ConditionalContent
SwiftUICore.AttributedTextFormattingDefinition
_ContainerRoundedRectangularShapeModifier
SwiftUICore.ViewModifier
_TagTraitWritingModifier
SwiftUICore.ViewModifier

Initializers

AccessibilityCustomContentKey
@_disfavoredOverload public init(_ label: Foundation.LocalizedStringResource)
Angle
public init(from decoder: any Swift.Decoder) throws
Color.ResolvedHDR
public init(from decoder: any Swift.Decoder) throws
Color
public init(_ resolved: SwiftUICore.Color.ResolvedHDR)
Color
public init<T>(_ color: T) where T : Swift.Hashable, T : SwiftUICore.ShapeStyle, T.Resolved == SwiftUICore.Color.ResolvedHDR
Edge.Corner.Style
public init(floatLiteral value: SwiftUICore.Edge.Corner.Style.FloatLiteralType)
Edge.Corner.Style
public init(integerLiteral value: SwiftUICore.Edge.Corner.Style.IntegerLiteralType)
Font.TextStyle
public init(from decoder: any Swift.Decoder) throws
UnitPoint
public init(from decoder: any Swift.Decoder) throws
_ConditionalContent
internal init(storage: SwiftUICore._ConditionalContent<TrueContent, FalseContent>.Storage)