What's new in SwiftUI for WWDC 2025

Asked on 2025-06-15

1 search

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

  1. Performance Improvements: SwiftUI has seen significant performance enhancements, particularly in scrolling and list management. Lists on macOS, for example, can now load and update much faster, with improvements up to 16 times in some cases. These enhancements are designed to make apps feel more responsive and efficient across all Apple platforms.

  2. New APIs and Features:

    • Web Content Integration: SwiftUI now supports embedding web content directly using WebKit's new declarative WebView component. This allows for more seamless integration of web content within SwiftUI apps.
    • Rich Text Editing: The text editor in SwiftUI now supports rich text editing. By changing the binding of your text editor's text from a string to an attributed string, you can enable rich text editing with customizable styling.
    • 3D Charts and Spatial Layouts: SwiftUI now supports 3D charts, thanks to RealityKit, and offers new tools for creating 3D layouts. This includes depth alignments and layout-aware rotations, allowing developers to create rich 3D experiences in a familiar way.
  3. Widgets and Interoperability: Widgets have been expanded to Vision OS and CarPlay, with new APIs for live activities and push-based updates. There are also improvements in scene interoperability and drag-and-drop controls.

  4. RealityKit Integration: SwiftUI has enhanced its integration with RealityKit, making it easier to work with 3D content. This includes improved coordinate conversion APIs and the ability to present SwiftUI popovers directly from RealityKit entities.

For more detailed information, you can check out the session What’s new in SwiftUI (19:12) and Platforms State of the Union (44:39).