All Projects → twostraws → whats-new-in-swift-5-4

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

Licence: other
No description, website, or topics provided.

Programming Languages

swift
15916 projects

What’s new in Swift 5.4?

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

  • Improved implicit member syntax
  • Multiple variadic parameters in functions
  • Creating variables that call a function of the same name
  • Result builders
  • Local functions now support overloading
  • Property wrappers are now supported for local variables
  • Packages can now declare executable targets

This is designed to complement my existing article What’s New in Swift 5.4. You might also want to read What’s New in Swift 5.3, What’s New in Swift 5.2 and What’s New in Swift 5.1.

Alternatively, I have a whole website dedicated to tracking what's new in Swift – you should check it out at https://www.whatsnewinswift.com.

If you hit problems or have questions, you're welcome to tweet me @twostraws or email [email protected].

Screenshot of Xcode 12.5 running this playground.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].