closure


Swift 5.3 and Trailing Closures

As I write this, it’s still less than three months since WWDC 2020, and Swift 5.3 is still being licked into shape. It’s not terribly revolutionary; here are a few highlights: @main instead of @UIApplicationMain, and the ability to declare a @main struct in place of a main.swift file (SE-0281) Synthesis of Comparable conformity for …

Swift 5.3 and Trailing Closures Read More »