I’ve been stuck on this problem for a while with SwiftUI, and I’m now considering taking the Storyboard approach.
I have implemented 2 files. *(I have replied to the post with further screenshots)
MealModel - Contains structs to store data from API
MealService - Fetches and parses API data
I can’t get access any of the properties of my Results object. I am trying to access through MealService object which has an array of Results property. I want to iterate through the array of results, to display them in a list, but I can only access .self.
Any help would be much appreciated. Thanks!