what new swiftui

Generated on 5/1/2025

1 search

At WWDC 2024, Apple introduced several new features and improvements in SwiftUI. Here are some of the highlights:

  1. Graphics Capabilities: SwiftUI now allows for more advanced graphics, including a new mix modifier on colors to blend them together. Custom shaders can be precompiled to avoid frame drops.

  2. Scroll View Enhancements: There are new APIs for more granular control over scroll views, including reacting to changes in content and offsets, and detecting when a view's visibility changes due to scrolling.

  3. Text Management: SwiftUI now offers programmatic access to text selection within text editing controls, allowing for features like suggested rhymes or text completions.

  4. Swift 6 Language Mode: The new Swift 6 language mode introduces compile-time data race safety, and SwiftUI has improved its APIs to support this.

  5. Interoperability: Significant improvements have been made to the integration of gestures and animations, allowing for better interoperability between SwiftUI and UIKit/AppKit.

  6. Accessibility: New accessibility features include conditional modifier support and app intent-based accessibility actions.

  7. Xcode Previews: A new dynamic linking architecture in Xcode previews allows for faster iteration by switching between preview and build without needing to rebuild the project.

For more detailed information, you can watch the session What’s new in SwiftUI.

Platforms State of the Union

Platforms State of the Union

Discover the newest advancements on Apple platforms.

Migrate your TVML app to SwiftUI

Migrate your TVML app to SwiftUI

SwiftUI helps you build great apps on all Apple platforms and is the preferred toolkit for bringing your content into the living room with tvOS 18. Learn how to use SwiftUI to create familiar layouts and controls from TVMLKit, and get tips and best practices.

SwiftUI essentials

SwiftUI essentials

Join us on a tour of SwiftUI, Apple’s declarative user interface framework. Learn essential concepts for building apps in SwiftUI, like views, state variables, and layout. Discover the breadth of APIs for building fully featured experiences and crafting unique custom components. Whether you’re brand new to SwiftUI or an experienced developer, you’ll learn how to take advantage of what SwiftUI has to offer when building great apps.

Platforms State of the Union 5-Minute Recap

Platforms State of the Union 5-Minute Recap

Watch a quick recap of the newest advancements on Apple platforms.

What’s new in watchOS 11

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.

What’s new in SwiftUI

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.