Swift by Sundell cover image

99: “Structured concurrency”, with special guest Doug Gregor

Swift by Sundell

00:00

Async-Await APIs in SwiftUI?

I noticed also looking at SwiftUI that there are quite a lot of those new async-await powered APIs as well. For example, the way that refresh logic and viewbound tasks can now be attached to a view or you can implement pull to refresh in a list which is really nice. And so one of the nice things here about being able to express, you know, asynchronous code in a manner that fits well with the system? It's very interesting because part of the whole goal ofBeingDeclarative is that the framework takes on the lifecycle management for you. And with synchronous code, we're kind of doing the same thing.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app