Apple provides Combine publishers for many of their APIs, making it easy for us to integrate those APIs in our Combine pipelines. However, there are many APIs that don’t support Combine even though they produce events over time. Thankfully, Apple gives us the tools we need to wrap APIs in Combine publishers and make them accessible to Combine pipelines.
In this chapter, I’m going to walk you through the process of wrapping existing APIs using Combine.
A Case Study
We’re going to use a ...