swiftui new feature
Asked on 06/13/2025
1 search
At WWDC, Apple introduced several new features in SwiftUI. Here are some highlights:
-
Graphics Capabilities: SwiftUI now includes a new mix modifier for colors, allowing you to blend colors beautifully. Additionally, custom shaders can be precompiled to avoid frame drops caused by lazy shader compilation.
-
Scroll View Enhancements: There are new APIs for fine-grained control over scroll views, including the ability to react to changes in content and offsets, and detect when a view's visibility changes due to scrolling.
-
Text and Selection: SwiftUI now offers programmatic access to text selection within text editing controls, allowing you to manage text selection and provide text suggestions.
-
Web Content Integration: WebKit now has a full set of SwiftUI APIs, including a new WebView for showing web content in your app, allowing for rich interaction with web pages.
-
3D Charts: SwiftUI supports 3D charts, enabling you to show plots in three dimensions with new Z-specific modifiers.
-
Improved Interoperability: There are significant improvements in the integration of gestures and animations between SwiftUI and UIKit/AppKit, allowing for better interoperability.
-
Swift 6 Language Mode: SwiftUI has improved its APIs to make it easier to adopt the new Swift 6 language mode, which includes compile-time data race safety.
For more detailed information, you can watch the session What’s new in SwiftUI starting at the "Framework foundations: Custom containers" chapter.

What’s new in SwiftUI
Learn how you can use SwiftUI to build great apps for any Apple platform. Explore a fresh new look and feel for tabs and documents on iPadOS. Improve your window management with new windowing APIs, and gain more control over immersive spaces and volumes in your visionOS apps. We’ll also take you through other exciting refinements that help you make expressive charts, customize and layout text, and so much more.

What’s new in SwiftUI
Learn what’s new in SwiftUI to build great apps for any Apple platform. We’ll explore how to give your app a brand new look and feel with Liquid Glass. Discover how to boost performance with framework enhancements and new instruments, and integrate advanced capabilities like web content and rich text editing. We’ll also show you how SwiftUI is expanding to more places, including laying out views in three dimensions.

Platforms State of the Union
Discover the newest advancements on Apple platforms.