I'm starting to experiment with SwiftUI and I have a situation where I want the latest combination of 5 sliders. I had everything working with 4 sliders, using CombineLatest4
, then realized I need another slider, but there's no CombineLatest5
.
Any help appreciated.
To clarify the working 4-slider version:
Publishers
.CombineLatest4($slider1, $slider2, $slider3, $slider4)
.debounce(for: 0.3, scheduler: DispatchQueue.main)
.subscribe(subscriber)
Use of unresolved identifier 'CombineLatest'
when nesting them this way. I'll add my "working"CombineLatest4()
version to the question, just for clarity. – Timbuktu