deferredToData,ĭateDecodingStrategy: JSONDecoder.DateDecodingStrategy =. useDefaultKeys,ĭataDecodingStrategy: JSONDecoder.DataDecodingStrategy =. KeyDecodingStrategy: JSONDecoder.KeyDecodingStrategy =. In terms of the contentView, I've only just created a button to test whether the data will pull through (it won't) and haven't gone any further than that. I may just be completely on the wrong track, I've never tried downloading JSON so just don't where to start. I am assuming there is something wrong with how I've created it? I have tried so many versions: 2 separate structs, nesting one inside the other, used Identifiable, removed identifiable. I used an extension for downloading JSON from Paul's tutorial 'How to Download JSON from the internet.' but although I managed to get it to work with his example struct, I can't with mine. Hi - I'm trying to create the 'Friendface' app on day 60 but cannot seem to pull the JSON data into the app.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |