+ 1
Structs are Value-Types. Perfect for âModelsâ and âViewsâ in SwiftUI; on the other hand, classes are Reference-Types, which you need for your âView Modelsâ. This is an example I could show using the popular MVVM design pattern. I donât think there is any major difference in readability for the two. To sum up, use whatever you need in your situation but if you are not sure, then use Struct.