-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
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.
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
Related posts
-
Is there anything inherently wrong with the way I am updating this array of custom objects?
-
How to load images in UICollectionViews efficiently?
-
SDWebImage doesn't work like intended (Doesn't apply blur to image)
-
Getting json and parsing it from an API
-
Setting up Development & Distribution of Xamarin App (without help from original developer)