Presentation: Swift Structured Concurrency @ CocoaHeads Taipei

I shared my experience with using Swift 5.5’s new concurrency features (async await) with the CocoaHeads Taipei community in Septemebr 2021, when iOS 15 was still in beta.

I used a wide range of the new concurrency features in my Tetris AI app with a SwiftUI front end. My experience can be summarized in three points:

  1. I was worried about the uncontrollable proliferation of async functions, but it turned out to be quite manageable.
  2. The concept that await is a “suspension point” is very important.
  3. The way that the new concurrency feature changes the code structure is, as advertised, pretty cool!