Swift by Sundell cover image

93: “Combine and Core Data”, with special guest Donny Wals

Swift by Sundell

00:00

Structuring Code with Combine: Operators, Testing, and Subjects

The chapter explores structuring code using Combine by defining operators on publishers to create reusable components, emphasizing the benefits of small operators in debugging and testing. It discusses strategies for managing branching pipelines and highlights the use of subjects for value emissions in pipelines. The conversation also delves into effective testing approaches for code utilizing Combine, including asynchronous testing using Xcode's test expectations and custom extensions.

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