Reading time: 4 min
This recipe shows how to implement an async binding in SwiftUI. Just like a regular Binding, async binding creates a two-way connection between a property that stores data, and a view that displays and changes the data - except that those changes are expressed with async blocks.
Reading time: 1 min
This quick recipe shows how to implement a Combine map operator that takes an
async block. To do this, you need to:
Taskto run async code in a sync context.
- Use the
Futurepublisher to publish the new value the
flatMapto transfer from your current p...
Reading time: 11 min
Here you can find recipes for common tasks you need when working with the new Swift 5.5 concurrency model.
Where applicable, there's before and after comparison that shows how things where done before async/await (mostly with GCD) and how they can be done now.
This list will be updated as S...