whats new in swiftui in wwdc 2025?

Asked on 2025-08-05

1 search

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

  1. Widgets and CarPlay: Widgets are now available on Vision OS and CarPlay, with new APIs for relevance on watchOS and live activities on CarPlay. There's also a push-based updating API for widgets.

  2. Web Content Integration: SwiftUI now supports embedding web content directly in your app with a full set of SwiftUI APIs for WebKit, including a new declarative WebView component.

  3. Rich Text Editing: The SwiftUI text editor now supports 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.

  4. 3D Charts and RealityKit: Swift Charts now support 3D, allowing for interaction with the camera to rotate and zoom in on charts. RealityKit entities now conform to Observable, simplifying interaction with SwiftUI.

  5. Performance Improvements: There are significant performance improvements, especially in scrolling and list handling. Lists on macOS with over 100,000 items now load six times faster, and scrolling performance has been enhanced across all platforms.

  6. Spatial Layouts: New volumetric APIs and spatial container features allow for richer 3D layouts, making it easier to build compelling volumetric experiences in SwiftUI.

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