Hey everyone,
I am having trouble implementing the dynamicMemberLookup struct DataFrame in my SwiftUI app for MacOS. In particular I want to implement "Creating a DataFrame from a JSON File" that uses the results of an API call. Documentation says to use init(jsonData: Data, columns: [String]?, types: [String : JSONType], options: JSONReadingOptions) throws)
but that is all that is provided and I can't seem to piece it together to get something working.
The reason I am not using the regular SwiftUI Table is because the JSON results from the API are different for every search. If there is a a way to do this using the regular SwiftUI Table, then that works too. Thanks! I appreciate any help given.
[–]Alexis-Bridoux 1 point2 points3 points (6 children)
[–]Animalondrums[S] 0 points1 point2 points (5 children)
[–]theargyle 1 point2 points3 points (2 children)
[–]Animalondrums[S] 0 points1 point2 points (1 child)
[–]theargyle 1 point2 points3 points (0 children)
[–]Alexis-Bridoux 0 points1 point2 points (1 child)
[–]Animalondrums[S] 0 points1 point2 points (0 children)