What’s been deprecated in Swift this year?
Generated on 8/3/2024
1 search
This year, several features have been deprecated in Swift. Here are the key deprecations:
-
Non-Copyable Types: Swift 6 introduces non-copyable types, which suppress the default copyability of Swift types. This is useful for scenarios where unique ownership is required, such as managing system resources like files. This change helps prevent runtime issues like multiple writers to the same file and resource leaks. (What’s new in Swift)
-
Concurrency Model: Swift 6 also introduces a new language mode that achieves data race safety, expanding Swift's safety guarantees to concurrent programs. This is part of the ongoing improvements to the concurrency model that started with async/await and actors. (What’s new in Swift)
For more detailed information, you can refer to the session "What’s new in Swift".

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

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.

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