What’s New in Swift 5.1? | raywenderlich.com

Swift 5.1 is finally out! This article will take you through the advancements and changes the language has to offer in its latest version.


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/4187396-what-s-new-in-swift-5-1

but Swift 5.1 is not released yet, isn’t it?

hello, but where swift 5.1 ?

Swift 5.1 is not released yet. it’s a clickbait

Hi,
Check out this link. And search for 5.1 in your browser. I’m pretty sure you can see a table with info about the release dates & download link.

47%20pm

Most of the software has alpha and beta versions & most of them are available on the internet for testing purpose before final public release.

Ok, I see that the first snapshot of Swift 5.1 was published on July, 10 and there are no releases yet.
Right in the beginning this article says Swift 5.1 is finally out! which means that it is finally released which is not true.
Some things from that article are still in review on swift forums, so it is too early to write that article IMO.

Agreed, they should rename the article title I guess.

Swift 5.1 is in Xcode 11. As we have done every year for the past many years, we have moved all of our tutorial development onto the new Xcode. We’re no longer developing content for Xcode 10.

I’m finding the compatibility of Swift 5.1 a bit confusing. Even Apple’s own documentation is not clear. Some language features seem to be available for any iOS version, but others are tied to iOS 13. For example BidirectionalCollection.difference(from:) only works with iOS13 whereas Self for static members works for any version of iOS.

I think your test in diffing ordered collections should be for IOS version, not Swift language version. i.e. if #available(iOS 13, *)

This tutorial is more than six months old so questions are no longer supported at the moment for it. Thank you!