How to parse & decode JSON data in SwiftUI Tutorial 2022 (Xcode)
Indently
0:00 / 0:00
How to parse & decode JSON data in SwiftUI Tutorial 2022 (Xcode)
21 697 просмотров · 4 года назад
Indently
366 тыс. подписчиков
21 697 просмотров · 4 года назад
In today’s lesson we will be looking at how we can decode and parse JSON data in SwiftUI. Once you get the hang of this, it all becomes very easy!
Source code: https://github.com/federicocotogno/JS...
Quicktype: https://app.quicktype.io/
00:00 Intro
00:26 Adding JSON data
01:32 Creating the model
03:27 JSON Decoder
07:06 Static variables
08:05 ContentView
09:50 Xcode bug
11:35 DetailView
14:17 Finishing touches