Hi,
I have this code here, and I am really struggling with using SwiftUI and an MVVM architecture to display data from this NASA API. I want to take the image URL passes through the JSON and display it. I Found this article that shows how to use the SDWebView Swift package, and I would like to use this package to take the image URL that comes out of the JSON and display that image.
However, I am not sure how to setup my View Model... I made this app a bit ago that parses JSONs and puts them in a table, but when it seems like you have to setup your view model differently for creating a table compared to just displaying an image? Do any of you have any tips or resources I can look at ? thanks
1
0
675