what's new in SwiftUI un 2024 ?
Generated on 3/12/2025
1 search
In 2024, SwiftUI introduced several new features and improvements to enhance app development across Apple's platforms. Here are some of the key updates:
-
Fresh App Features: SwiftUI now includes a new TabView, beautiful mesh gradients, and snappy controls to help freshen up your apps. The sidebar in iOS 18 has become more flexible, allowing for easier navigation and interaction.
-
Graphics and Visual Effects: New graphics capabilities include a mix modifier on colors for blending, and extended custom shader features to precompile shaders, reducing frame drops. SwiftUI also offers new APIs for fine-grained control over scroll views, including detecting view visibility changes due to scrolling.
-
Swift 6 Language Mode: SwiftUI has improved its APIs to support the new Swift 6 language mode, which includes compile-time data race safety. Views in SwiftUI are now implicitly isolated to the main actor by default.
-
Interoperability: Significant improvements have been made in the integration of gestures and animations, allowing for better interoperability with UIKit and AppKit. You can now use built-in or custom UI gesture recognizers in your SwiftUI view hierarchy.
-
Xcode Previews: A new dynamic linking architecture in Xcode Previews uses the same build artifacts for previews and when you build and run, improving workflow efficiency. The new previewable macro allows for dynamic properties like state to be used directly in previews.
-
Customizations: SwiftUI has gained new customizations for fine-tuning the look and feel of apps, such as custom hover effects for visionOS and new options for window behavior and styling in macOS.
-
Text and Accessibility: SwiftUI now offers programmatic access to text selection within text editing controls and has enhanced accessibility features, including conditional modifier support and app intent-based accessibility actions.
For more detailed information, you can watch the session What’s new in SwiftUI.

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.

Platforms State of the Union
Discover the newest advancements on Apple platforms.

Platforms State of the Union 5-Minute Recap
Watch a quick recap of the newest advancements on Apple platforms.

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.

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.

What’s new in UIKit
Explore everything new in UIKit, including tab and document launch experiences, transitions, and text and input changes. We’ll also discuss better-than-ever interoperability between UIKit and SwiftUI animations and gestures, as well as general improvements throughout UIKit.

What’s new in Swift
Join us for an update on Swift. We’ll briefly go through a history of Swift over the past decade, and show you how the community has grown through workgroups, expanded the package ecosystem, and increased platform support. We’ll introduce you to a new language mode that achieves data-race safety by default, and a language subset that lets you run Swift on highly constrained systems. We’ll also explore some language updates including noncopyable types, typed throws, and improved C++ interoperability.