
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…
Keep reading with a 7-day free trial
Subscribe to Type Safely to keep reading this post and get 7 days of free access to the full post archives.