sabbath-school-lessons
sabbath-school-lessons copied to clipboard
Network Call issue in SwiftUI App
Not sure why this happens, but whenever I try to use the "quarterly_group" data from the JSON, nothing displays in my View even if I'm not using the parameter. I can see from my console that the network call is successful, but nothing displays. I have a screenshot of my data model with and without the "quarterly group variables" & also a screenshot with the results. When I comment it out, the view shows my quarterly lists perfectly, but when I try to include it, nothing shows. What I really want to accomplish is filter out the list to only include Quarterlies from the "Standard Adult" Group
Data Model with the quarterly_group variable
Result in the View
Data Model with the quarterly_group variable Commented out
Result in View
My network call code
Upon further testing, it seems as if there is a problem when it comes to using nested objects, or am I doing something wrong?
@kevoniori have you checked the iOS repo on the implementation details? https://github.com/Adventech/sabbath-school-ios