Dynamic list data using Rest API | SwiftUI | Flawless code

Опубликовано: 30 Март 2026
на канале: Flawless Code
394
6

In this video we are going to learn how to use load data from api and converting the JSON to object using Codable protocol and load the objects in list dynamically in SwiftUI. For this tutorial we have used Xcode 11.5.
For this tutorial we are loading the data from JSON Placeholder. Use below link to use mock API.
Rest API URL - https://jsonplaceholder.typicode.com/...
What we can learn from this video:
NavigationView, navigationBarTitle, List, URLSession
Load data from api and convert into objects using Codable protocol
How to fetch data from API.
Music in this video:
Learn more: https://support.google.com/youtube/an...
Listen ad-free with YouTube Premium:    / premium  
Song: On & On
Artist: Cartoon, Daniel Levi
Licensed to YouTube by AEI (on behalf of NCS): LatinAutor, Featherstone Music (publishing), ASCAP, and 19 Music Rights Societies