Fetching Data to List from API | SwiftUI 3.0 | Working with List 2 (part 10)
Welcome to Fx Studio 😎
You want to generate dynamic lists screens from an API that returns JSON, it's a fairly common need in modern applications. 😘
This video is helping you to connect the api, parse data with JSONDecoder and then use Observableobject Protocol and @Published properties to create a SwiftUI list from the results. And we have upgraded the latest features of SwiftUI 3.0. 😎
Functions:
➤ MVVM (base View & ViewModel)
➤ Fetching Data from API (URLSession)
➤ Observableobject Protocol and @Published
➤ Downloader (image data)
➤ Loadable Image View (with url)
➤ Custom Row
➤ Handling API Error
➤ Display View with API State (loading/success/failure)
Hope this video will be useful for you. If you feel good, then subscribe and share it. Thank you very much! 😘
So, let's start 🚀
-----------------------------------
Xcode 13
SwiftUI 3.0
-----------------------------------
See more here:
👉🏻 GitHub: https://github.com/fx-studio/swiftui-notes/tree/main/015-WorkingWithList
👉🏻 Website: https://fxstudio.dev/fetching-data-to-list-from-api-swiftui-notes-44/
👉🏻 Fanpage: https://www.facebook.com/FxStudio.Dev
-----------------------------------
TIMESTAMP:
00:00 Intro
00:33 FETCHING API
00:38 Example URL
01:05 Object Model
03:24 ViewModel
04:52 Load API Function
06:34 Display results
07:28 Downloader
09:02 Loadable Image View
11:40 CustomRow
13:56 List with Custom Row
14:27 HANDLING API WITH ERROR
14:32 Define API State & Error
15:27 ViewModel with API State
17:33 Build ContentView with State
20:07 Display List with API State
21:40 Final Demo
22:10 Outro
Thanks for watching! 🥳
#FetchingAPI #WorkingWithList #SwiftUI #FxStudio
Видео Fetching Data to List from API | SwiftUI 3.0 | Working with List 2 (part 10) канала Fx Studio
You want to generate dynamic lists screens from an API that returns JSON, it's a fairly common need in modern applications. 😘
This video is helping you to connect the api, parse data with JSONDecoder and then use Observableobject Protocol and @Published properties to create a SwiftUI list from the results. And we have upgraded the latest features of SwiftUI 3.0. 😎
Functions:
➤ MVVM (base View & ViewModel)
➤ Fetching Data from API (URLSession)
➤ Observableobject Protocol and @Published
➤ Downloader (image data)
➤ Loadable Image View (with url)
➤ Custom Row
➤ Handling API Error
➤ Display View with API State (loading/success/failure)
Hope this video will be useful for you. If you feel good, then subscribe and share it. Thank you very much! 😘
So, let's start 🚀
-----------------------------------
Xcode 13
SwiftUI 3.0
-----------------------------------
See more here:
👉🏻 GitHub: https://github.com/fx-studio/swiftui-notes/tree/main/015-WorkingWithList
👉🏻 Website: https://fxstudio.dev/fetching-data-to-list-from-api-swiftui-notes-44/
👉🏻 Fanpage: https://www.facebook.com/FxStudio.Dev
-----------------------------------
TIMESTAMP:
00:00 Intro
00:33 FETCHING API
00:38 Example URL
01:05 Object Model
03:24 ViewModel
04:52 Load API Function
06:34 Display results
07:28 Downloader
09:02 Loadable Image View
11:40 CustomRow
13:56 List with Custom Row
14:27 HANDLING API WITH ERROR
14:32 Define API State & Error
15:27 ViewModel with API State
17:33 Build ContentView with State
20:07 Display List with API State
21:40 Final Demo
22:10 Outro
Thanks for watching! 🥳
#FetchingAPI #WorkingWithList #SwiftUI #FxStudio
Видео Fetching Data to List from API | SwiftUI 3.0 | Working with List 2 (part 10) канала Fx Studio
Комментарии отсутствуют
Информация о видео
31 октября 2021 г. 9:00:02
00:22:22
Другие видео канала