Can you apply a Identifiable behavior to your class, create an id to each value in the array and then iterate through the id value?
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: