what's new in SwiftUI wwdc25

Asked on 06/17/2025

1 search

At WWDC 2025, Apple introduced several exciting updates to SwiftUI. Here are some of the key highlights:

  1. Web Content and APIs: SwiftUI now supports embedding web content directly in your app with new WebKit APIs, including a declarative WebView component and a Web Page API for programmatically controlling web content. These APIs are built with modern Swift technologies like observation and strict concurrency.

  2. Rich Text Editing: The SwiftUI text editor has been enhanced to support rich text editing. By changing the binding of your text editor's text from a string to an attributed string, you can create a rich text editor with customizable styling.

  3. 3D Charts and RealityKit Integration: Swift Charts now support 3D, thanks to RealityKit. This includes support for interacting with the camera to rotate and zoom in on your charts. Additionally, RealityKit entities now conform to Observable, simplifying interaction with SwiftUI.

  4. Performance Improvements: There are significant performance improvements, especially in lists and scrolling. Lists of over 100,000 items now load 6 times faster on macOS, and scrolling performance has been enhanced across all platforms.

  5. New Design System: A new design system has been introduced, enabling a bright and fluid experience consistent across Apple platforms. This includes updates to navigation containers, sidebars, and tab bars.

  6. Widgets and Controls: Widgets are now available on Vision OS and CarPlay, with new APIs for relevance on WatchOS. There are also new controls for WatchOS and macOS.

  7. Scene and Layout Enhancements: SwiftUI has expanded its capabilities with new scene and layout features, including scene bridging for UIKit and AppKit lifecycle apps and new tools for crafting immersive 3D experiences.

For more detailed information, you can check out the session What’s new in SwiftUI (00:01:22) and Platforms State of the Union (00:41:37).