API Differences in SwiftUI in macOS 15.4

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 SwiftUI in the macOS 15.4 SDK.

Table of Contents

Structs

ContentToolbarPlacement
ScrollTargetBehaviorProperties
ScrollTargetBehaviorPropertiesContext
TabViewCustomization
SectionCustomization
TabViewCustomization
TabCustomization

Typealiases

ScrollTargetBehavior
typealias Properties = SwiftUI.ScrollTargetBehaviorProperties
ScrollTargetBehavior
typealias PropertiesContext = SwiftUI.ScrollTargetBehaviorPropertiesContext

Functions & Methods

AnyScrollTargetBehavior
public func properties(context: SwiftUI.AnyScrollTargetBehavior.PropertiesContext) -> SwiftUI.AnyScrollTargetBehavior.Properties
PagingScrollTargetBehavior
public func properties(context: SwiftUI.PagingScrollTargetBehavior.PropertiesContext) -> SwiftUI.PagingScrollTargetBehavior.Properties
ScrollTargetBehavior
func properties(context: Self.PropertiesContext) -> Self.Properties
ScrollTargetBehavior
public func properties(context: Self.PropertiesContext) -> Self.Properties
SwiftUICore.View
nonisolated public func contentToolbar<Content>(for placement: SwiftUI.ContentToolbarPlacement, @SwiftUICore.ViewBuilder content: () -> Content) -> some SwiftUICore.View where Content : SwiftUICore.View
SwiftUICore.View
nonisolated public func contentToolbar<Content>(for placement: SwiftUI.ContentToolbarPlacement, @SwiftUI.ToolbarContentBuilder content: () -> Content) -> some SwiftUICore.View where Content : SwiftUI.ToolbarContent
SwiftUICore.View
nonisolated public func dialogPreventsAppTermination(_ prevents: Swift.Bool?) -> some SwiftUICore.View
SwiftUICore.View
nonisolated public func presentationPreventsAppTermination(_ prevents: Swift.Bool?) -> some SwiftUICore.View
SwiftUICore.View
public func writingToolsAffordanceVisibility(_ visibility: SwiftUICore.Visibility) -> some SwiftUICore.View
TabContent
nonisolated public func disabled(_ disabled: Swift.Bool) -> some SwiftUI.TabContent<Self.TabValue>
ViewAlignedScrollTargetBehavior
public func properties(context: SwiftUI.ViewAlignedScrollTargetBehavior.PropertiesContext) -> SwiftUI.ViewAlignedScrollTargetBehavior.Properties

Initializers

NSHostingView
public init?(coder: Foundation.NSCoder, rootView: Content)