How to Read Local JSON file with List - Swift 5 in Xcode | SwiftUI Tutorial

preview_player
Показать описание
In this tutorial, I will show you how to read local JSON file, update or show data in TableView(List) with SwiftUI in Xcode. and in this SwiftUI tutorial for beginners. If you are looking for SwiftUI tutorial video, this is perfect SwiftUI tutorial for you.

This tutorial
Learn how to use JSONDecoder, ObservedObject, ObservableObject and etc. in SwiftUI, Xcode 11, Swift 5

-- Others tutorials --
1. How to create TabBar in SwiftUI

2. How to display WebView and PDF View with SegmentedControl

So if you are looking for SwiftUI. This is perfect channel for the beginners.
Please ‘like’ and subscribe to my channel, and click the ‘bell’ icon to get video updates.

Our supporter for creating this video.
LION.C
Рекомендации по теме
Комментарии
Автор

Thanks for sharing this code! My Xcode crushed when I run this code and it shows it have a implicitly unwrapped optional in below code:
let url = URL(fileURLWithPath: path!)
I am just a beginner, many thanks for your reply if you know this answer:) Thx!

yangzhao
Автор

I tried it didn't work any advices?

rcnttbu
Автор

u don`t have to call sync on main thread

arsars