What’s new in Swift (2-minute recap)
You’re more of a video kind of person? I’ve got you covered! Here’s a video with the same content than this article 🍿
Advertisement
What will you ship?
Shipaton starts August 1.
Build a mobile app, publish it, and enter it for a chance to win.
Any idea is welcome, as long as you actually ship it.
I've watched the WWDC session "What’s new in Swift", here's what you need to know.
The compiler now surfaces a warning when errors are not handled inside a Task.
It was really easy to ignore these errors without even realizing it, so I'm glad there's now a warning by default.
When you use different visibility levels for the properties of a struct, Swift now generates an initializer for each visibility level.
Thanks to the alignment of OS version numbers, there's now a blanket statement to refer to all of them at once.
Warnings can be ignored on a per function basis.
And they can also be enabled on a per function basis.
The module selector operator (`::`) has made its way to Swift, allowing us to disambiguate naming collisions.
That's all for this article!
These are the additions to Swift itself, but the WWDC session also covers a few more topics, like Swift's Standard Library,
So I recommend you give it a look: https://developer.apple.com/videos/play/wwdc2026/262/