60: Swift 你給我等一等

weak self podcast

線上收聽與節目筆記

新買的麥克風終於搞定,感謝 iPlayground 大力支持!既然讓大家久等了,這集就來聊 Swift async/await 的相關議題。

Async/await second pitch

  • SE-0296 Async/await
  • 主要是語法、用途
  • async is part of type
  • await is the suspension point
  • overload
  • await try 的順序
  • closure
  • protocol conformance
  • [discussion] await imply try or not
  • [discussion] reasync

Structured Concurrency

  • SE-NNNN Structured Concurrency
  • async/awiat 會逐一完成
  • async let 可以建立 sub task ,離開該 scope 就取消了 (disposebag, cancellable set)
  • Time out is easy (by only timeout the major block)
  • Cancel as well

近期 Apple 開發者新聞

AirPods Max

  • 官網
  • 總結:你買不到
  • 金屬外框、類似 iPad Air 4 配色
  • 385 g 頗重

結語

更多 weak self


weak self podcast logo

weak self podcast

集結弱弱的我,也可以組成強大的社群。在 iOS 開發圈打滾的台灣工程師,專為 Apple & iOS 開發者而製作的 Podcast。主持人一三波肥。內容涵蓋了 iOS 與 Apple 開發圈的新知討論、踩坑經驗、人物採訪、社群活動、職場生活。

回首頁聽眾朋友怎麼說?weak self 歷史

線上收聽

可使用 OvercastListen NotesGoogle Podcasts 網站。

訂閱方式

weak self 支援任何 podcast 播放軟體,只要訂閱我們的 RSS 網址即可。

Listen on Apple Podcasts Listen on Google Podcasts Listen on Overcast Listen on Pocket Casts Listen on Spotify Listen in Castro

贊助 weak self

謝謝,請見說明