Skip to content

twostraws/whats-new-in-swift-5-8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

What’s new in Swift 5.8?

This is an Xcode playground that demonstrates the new features introduced in Swift 5.8:

  • Lift all limitations on variables in result builders
  • Function back deployment
  • Allow implicit self for weak self captures, after self is unwrapped
  • Concise magic file names
  • Opening existential arguments to optional parameters
  • Collection downcasts in cast patterns are now supported

This is designed to complement my existing article What’s New in Swift 5.8. You might also want to read previous articles about the evolution of Swift 5:

Alternatively, here you can find a complete breakdown of all Swift changes from 1.0 through 5.8, including downloadable playgrounds: what's new in Swift.

If you hit problems or have questions, you're welcome to tweet me @twostraws or email paul@hackingwithswift.com.

Screenshot of Xcode 14.3 running this playground.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages