Making an API call and fetch JSON data in SwiftUI

  Рет қаралды 68,459

DesignCode

DesignCode

4 жыл бұрын

Pulling data from an API is an extremely useful technique in SwiftUI. Full 40-video course: designcode.io/swiftui/

Пікірлер: 85
@olegtitov1525
@olegtitov1525 4 жыл бұрын
Hey Meng, really nice tutorial. I’m learning SwiftUI, built an app with static cards and now will use this knowledge in practice and make cards load from API. Thanks a lot for your videos!
@yeserguitar
@yeserguitar 3 жыл бұрын
Best tutorial! You literally explained everything one needs in 15 minutes, which could be understood after hours of fail!
@jeeves251
@jeeves251 4 жыл бұрын
OMG THANK YOU. Best tutorial ever. Was struggling all day to get my api to return data to a List. You are a brilliant teacher and I love the way you make your code simple enough for a SwiftUI newbie to understand! Thank you a million times!
@purpuro8178
@purpuro8178 4 жыл бұрын
thank you so much. I have been trying to understand this for weeks, and you have explained it so much more clearly than anyone else!
@VinceVideoHD1k995
@VinceVideoHD1k995 2 жыл бұрын
So clear and concise. I have watched so many of videos on this topic and by far yours is the best!
@wolski3714
@wolski3714 Жыл бұрын
This is literally ten best tutorial on yt. With a bit of adapting its suitable for every usage. Thanks man
@bbulliard
@bbulliard 2 жыл бұрын
This is the best Jason explanation on the internet. Thank you for a world class video…bob
@simoneottavianelli3250
@simoneottavianelli3250 2 жыл бұрын
I've been looking for a well done tutorial for days. Thanks!
@charlesm.1638
@charlesm.1638 4 жыл бұрын
Thank you!!!!!! Your video filled the missing pieces I needed.
@rafaafeitos
@rafaafeitos 2 жыл бұрын
Awesome, I was trying to do it for hours. Thank you very much for this brilliant video!
@aungphyoe173
@aungphyoe173 4 жыл бұрын
Thanks...that's a lot clear to me on SwiftUI and APIs session
@XiSlow
@XiSlow 3 жыл бұрын
Beautiful and clean
@rovsen1993
@rovsen1993 4 жыл бұрын
Very cool and interesting tutorial, man)
@alizaidi5610
@alizaidi5610 3 жыл бұрын
Great tutorial!
@brianstevens8390
@brianstevens8390 3 жыл бұрын
Very well done. Thank you for this video.
@Hendrik6
@Hendrik6 3 жыл бұрын
Thanks for sharing! Awesome tutorial. I used that with the OpenWeatherMap API and had to remove the [ ] brackets at let posts = try! JSONDecoder().decode([POST].self, from: data!) --> let weatherData = try! JSONDecoder().decode(WeatherData.self, from: data!). With the [ ] brackets, I got an error describing that the decoder wanted to decode an array but received a dictionary. Without the [ ] brackets, my code is running.
@brotherx6205
@brotherx6205 3 жыл бұрын
beautifully explained, thank you
@ashim44
@ashim44 4 жыл бұрын
Swift UI handle api call using combine framework. This is similar like doing old way. Would be nice if it was more declarative syntax than static functions.
@msvmanikantasrivishnu7788
@msvmanikantasrivishnu7788 4 жыл бұрын
Hey i have windows machine and i want to use sketch can you tell me how to install the virtual mac os in windows and where to download the macos zip. I am having only ipad
@robertricker4908
@robertricker4908 4 жыл бұрын
Dear DesignCode! I really like the music that plays on the background of your videos! Always wanted to ask, who is the composer?
SwiftUI Apple Watch Rings Animation
4:41
DesignCode
Рет қаралды 12 М.
Swift API Calls for Beginners (Networking) - Async Await & JSON
25:35
Inside Out 2: Who is the strongest? Joy vs Envy vs Anger #shorts #animation
00:22
Sigma Kid Hair #funny #sigma #comedy
00:33
CRAZY GREAPA
Рет қаралды 41 МЛН
Fetching JSON data from an API | SwiftUI in 5 minutes | 2020
8:47
Krass Iankov
Рет қаралды 13 М.
What is JSON - JSON Parsing in Swift
24:15
CodeWithChris
Рет қаралды 73 М.
The Story of Next.js
12:13
uidotdev
Рет қаралды 560 М.
How To Work With Any API (API Tutorial using URL Requests)
27:07
CodeWithChris
Рет қаралды 124 М.
I've been using Redis wrong this whole time...
20:53
Dreams of Code
Рет қаралды 348 М.
8 Common SwiftUI Mistakes - and how to fix them!
28:05
Paul Hudson
Рет қаралды 49 М.
SwiftUI Tutorial - Weather App (MVVM, JSON API, CoreLocation)
38:32
Inside Out 2: Who is the strongest? Joy vs Envy vs Anger #shorts #animation
00:22