swiftUI features avalabel only in xcode26&
Asked on 06/17/2025
1 search
In Xcode 26, there are several new features available for SwiftUI. Some of these features include:
-
Dynamic Linking Architecture for Previews: Xcode previews now have a new dynamic linking architecture that allows you to switch between a preview and build and run without needing to rebuild your project, increasing your iteration speed. You can also use state directly in previews using the
@Previewable
macro, eliminating the boilerplate of wrapping your preview content in a view. -
Text and Selection Management: SwiftUI now offers programmatic access to and control of text selection within text editing controls.
-
Graphics Capabilities: New graphics capabilities include a mix modifier on color to blend colors and extended custom shader features with precompilation to avoid frame drops.
-
Scrolling Enhancements: There are new APIs for fine-grained control of scroll views, including the ability to react to changes in content offsets and sizes.
-
Improved Interoperability: SwiftUI has improved interoperability with UIKit and AppKit, allowing for better integration and use of gesture recognizers and animations across these frameworks.
For more detailed information, you can refer to the session What’s new in SwiftUI (14:17) from WWDC 2024.

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 UIKit
Modernize your app with the latest APIs in UIKit, including enhanced menu bar support, automatic observation tracking, a new UI update method, and improvements to animations. We’ll also cover how you can include SwiftUI scenes in your UIKit app and explore SF Symbols, HDR color pickers, and more.