Mastodon Combine | My Portfolio

Combine

AsyncCombine: Because Async Code Shouldn’t Be Ugly
AsyncCombine: Because Async Code Shouldn’t Be Ugly

When Swift first introduced Combine, I loved it. The syntax was expressive, pipelines were easy to follow, and @Published made state changes feel almost magical. But as Apple pushed us toward Swift Concurrency, I decided to bite the bullet and migrate one of my apps away from Combine.

The migration …

How to Write Unit Tests for Combine Publishers in Swift Testing
How to Write Unit Tests for Combine Publishers in Swift Testing

Unit testing Combine publishers can feel like you’re wrestling with a slippery eel: asynchronous, stateful, and a bit chaotic if not handled correctly. But fear not! Today, I’ll walk you through how to tame these tricky beasts using Swift Testing and its elegant testing features. Whether …