Hi everyone!
I have some problems with displaying list in view using @EnvironmentObject. Could You look in my project and give me a hint?
Hi everyone!
I have some problems with displaying list in view using @EnvironmentObject. Could You look in my project and give me a hint?
The problem was that your json code has the yearsOfExperience
as a String value rather than a Int.
For example your first json entry has this:
"yearsOfExperience": "35"
whereas it should be this:
"yearsOfExperience": 35
Apart from that, you are on the right track.