All Projects → twostraws → Whats New In Swift 5 3

twostraws / Whats New In Swift 5 3

An Xcode playground that demonstrates the new features introduced in Swift 5.3.

Programming Languages

swift
15916 projects

What’s new in Swift 5.3?

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

  • Multi-pattern catch clauses
  • Multiple trailing closures
  • Synthesized Comparable conformance for enums
  • self is no longer required in many places
  • Type-Based Program Entry Points
  • where clauses on contextually generic declarations
  • Enum cases as protocol witnesses
  • Refined didSet Semantics
  • A new Float16 type
  • Swift Package Manager gains binary dependencies, resources, and more

This is designed to complement my existing article What’s New in Swift 5.3. You might also want to read 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 11.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].