whats new in WWDC24 Swiftui?
Asked on 06/17/2025
1 search
At WWDC24, several exciting updates were introduced for SwiftUI. Here are some of the highlights:
-
Graphics Capabilities: SwiftUI now includes a new mix modifier on 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: New APIs provide fine-grained control over scroll views. You can now react to changes in content, offsets, and content size with the
onScrollGeometryChange
feature. This allows for experiences like auto-playing videos when content moves on or off the screen. -
Custom Containers: SwiftUI has introduced APIs that make it easier to create custom container views. You can iterate over subviews and wrap them in custom views, similar to built-in containers like List and Picker.
-
Accessibility Improvements: SwiftUI now supports additional accessibility features, such as conditional modifier support and app intent-based accessibility actions.
-
Xcode Previews: A new dynamic linking architecture in Xcode Previews allows for faster iteration by using the same build artifacts for previews and builds. The
previewable
macro lets you use state directly in previews, reducing boilerplate code. -
Swift 6 Language Mode: SwiftUI has improved its APIs to support the new Swift 6 language mode, which includes compile-time data race safety.
-
Interoperability: SwiftUI now offers better interoperability with UIKit and AppKit, allowing for custom animations and gesture recognizers to be used across frameworks.
For more detailed information, you can check out the session What’s new in SwiftUI (00:00:07).

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.

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

What’s new in watchOS 11
Explore new opportunities on Apple Watch, including bringing Double Tap support to your watchOS app, making your Smart Stack widgets even more relevant and interactive, and displaying your iOS Live Activities in the Smart Stack.