🔮 Swift 5.8 Release: You Can Use Future Features Now

Tom Smykowski
5 min readMar 13, 2023

Swift 5.8 was released some time ago, so let's look at the most interesting changes that can improve your code quality

In this comprehensive article, I will take a closer look at updates and improvements that Swift 5.8 brings to the table and delineate how they can significantly benefit developers in their programming endeavors.

Tom Smykowski - Probably The Last Human Tech Editor On The Internet

So, buckle up and get ready to discover how Swift 5.8 is taking programming to the next level.

💪 Extend The Availability To Prior Releases

The implementation of your codebase just got a lot more versatile. Introducing the @backDeployed(before:) attribute, which allows you to extend the functionality of a function to older operating system releases that did not originally include it as part of the Application Binary Interface (ABI).

To illustrate this, let’s consider a scenario where a struct named Temperature is introduced in a macOS Software Development Kit(SDK) in macOS 12.

--

--

Tom Smykowski

Software Engineer & Tech Editor. Top 2% on StackOverflow, 3mil views on Quora. Won Shattered Pixel Dungeon.