Ios swift – Type 'CounterModel' does not conform to protocol 'PersistentModel` – SwiftData
I am trying to make a sample app which uses SwiftData to keep track of sports goals. I have a struct: Team which has values id (UUID), name (string), score (int), and editing (bool). I have a SwiftData model class…