what's new in Swift?
Asked on 06/16/2025
2 searches
At WWDC, Apple introduced several new features and improvements in Swift, particularly with the release of Swift 6 and Swift 6.2. Here are some of the highlights:
-
Swift 6 Language Mode: This new mode introduces data race safety, which helps in writing correct concurrent programs by diagnosing data races at compile time. This feature is opt-in, allowing developers to adopt it when ready.
-
Embedded Swift: A new subset of Swift designed for highly constrained systems, such as firmware for embedded devices and operating system kernels. It supports core Swift features like value and reference types, closures, optionals, and more.
-
Development Workflow Improvements: Swift 6.2 brings enhancements to writing, building, and debugging code. For example, the Swift extension in VS Code now supports background indexing, improving editor features like "Jump to Definition."
-
Library Updates: Swift 6.2 modernizes more of Foundation's API surface and introduces new APIs for everyday programming tasks, such as launching subprocesses.
-
Performance Enhancements: Swift 6.2 introduces inline arrays, which allow arrays with a fixed size to be stored on the stack, unlocking compiler optimizations for performance gains. A new span type provides a safe alternative to pointers for fast memory access.
-
Concurrency Improvements: Swift continues to evolve its concurrency model, making it more approachable and capable for performance-critical code.
-
Non-Copyable Types: Swift 6 introduces non-copyable types, which are not copyable by default, enhancing memory safety and performance.
For more detailed information, you can refer to the sessions What’s new in Swift and What’s new in Swift.

What’s new in Swift
Join us for an update on Swift. We’ll talk about workflow improvements that make you more productive, and new and modernized library APIs for fundamental programming tasks. We’ll show examples of Swift adoption throughout more layers of the software stack. Finally, we’ll explore new language features for both improving approachability of concurrency, and achieving peak performance when you need it.

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.

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.