This is a sample project based upon https://stackoverflow.com/a/79398905/1271826.
The salient aspects are:
-
Do not update cell with progress by reloading the snapshot if you're going to be doing
isHighlightedsorts of animations. Just have the cell update itself. -
I have simplified the JSON,
carouselData. I have also simplified the cell. But this is unrelated to the basic fix, namely stop reloading the cell. -
FWIW, I have retired
IndexPathbased updating. I have also created a newDownloadobject to keep track of the individual downloads. -
Since OP was using Combine elsewhere, I used
ObservableObjectwith@Publishedproperty to monitor the state changes.
Developed in Xcode 16.2 and Swift 5.
Rob Ryan January 30, 2025
