The problem with using a class is that it doesn't work with the @Published property wrapper within an ObservableObject container class
Topic:
Programming Languages
SubTopic:
Swift
Tags: