async
Podcast: “Swift 5.7, generics, and the road to Swift 6”, with special guest Ben Cohen
Ben Cohen, manager of the Swift team at Apple, joins John on this WWDC22 special to discuss Swift 5.7, how generics have been made more powerful and easy to use…
Podcast: “Swift concurrency in practice”, with special guest Ben Scheirman
Ben Scheirman returns to the show to discuss how Swift’s built-in concurrency features, such as async/await and tasks, can be used in practice when building app…
Using Swift’s defer keyword within async and throwing contexts
How Swift’s defer keyword can be incredibly useful when working with code scopes that have multiple exit points, such as throwing or async functions.
Where View.task gets its main-actor isolation from
(摘要暂无, 请查看原文)
Wrapping async-await with a completion handler in Swift
It is not often when we need to wrap an async function with a completion handler. Typically, the reverse is what happens. This need can happen in codebases wher…






