Create a Combine Publisher From a ClosedRange
Daily Coding Tip 128

There are various ways to easily create a Combine Publisher from placeholder data.
Originally I had intended to use an array of numbers for this, but I ended up just adding the numbers from 0 to 10 to an array, and there’s obviously a better way to do this. I’m using a ClosedRange, which Apple’s documentation descr…


