Getting Data From API in Swift + iOS (Xcode 15 tutorial) - Beginners

preview_player
Показать описание
In this video we'll learn how to get data from a url - using a network call and remote API. We'll also see the Codable protocol in action to convert JSON data.

As always, we'll be working in swift!

#swift #api #json

Рекомендации по теме
Комментарии
Автор

As someone who is pivoting into iOS dev more seriously lately, your tutorials have been so insanely helpful. Thank you so much for pumping out such high quality content so consistently!

JacobPernell
Автор

I'm a backend developer and I was really curious how UI team eats my api response in their code. Now I know a little of it. I'm happy!!

AkashVermaNITian
Автор

For those following this tutorial in 2022, it looks like the API has changed. The format for day_length is now String instead of Int. Anyway, thank you for the informative tutorial!

azukipan
Автор

best iOS API tutorial I have seen so far, and I have seen a lot

DistribuidoraUSAcom
Автор

If I could smash the like button MORE, I would gladly do so! Thanks for this short but straightforward tutorial

JamesEtallaz
Автор

Wow just learning iOS, watched another video n I felt confused but this was nice and clear to me.

georgerevell
Автор

Awesome, Great, Mind blowing, Simplified, Clean Tutorial . Thanks @iOS Academy

GG-hkiz
Автор

Great video! Even though I've been practicing network calls and following a lot of tutorials, I still got some new information from this one. Thanks! One thing I'd like to see is some further explanation on the syntax with URLSession. That is where I struggle the most - I have a hard time following which objects point to what once I get to URLSession. It would be cool to see a video using delegate and datasource as well. Thank you very much!

sarahstice
Автор

Great one! Can you please share the url you used? I don't see it in the description, Thanks!

lokapavani
Автор

Great video! Very interesting how different developing an app in Swift/Objective-C is compared to a JS framework like React Native, but then that’s like comparing apples to oranges (no pun intended lol)

YoshiHDify
Автор

Hey Afraz, in a production environment what do you prefer URLSession or some third party library like Alamofire?

AkshanshGusain
Автор

I like the idea of putting the desired format in comments

bitsurfer
Автор

This is great but how do you get JSON to display in .text and image as well?

AtesotFlavor
Автор

Question: why didn't you use any sort of thread management here? Like GCD?

I thought tasks requiring heavy operation (apis, database retrievals) required you to always use a thread manager to run them in the background. Why was this not the case here?

homie
Автор

I actually liked the initial zooming so i could see what the code was doing, but it did get a little too zoomed in when it went further.

bjkorb
Автор

I haven't watched yet, But I know It's gonna be cool.

Денис-жфр
Автор

After fetch the API response, I would have wanted to fetch that response as an object like struct or array and use that in my code. Can you add these to your next API tutorial as well? Thank you!

codergirl
Автор

What is calling the ViewController class when you run the app?

johnsorensen
Автор

Wow I thought C# was good compared to Java and Kotlin but what you just showed me there was so simple in comparison, absolutely amazing thanks. if that doesnt make me start using Xcode nothing will cheers. thanks for zooming my eyes are getting old :)

JasonPurkiss
Автор

my api is having movie categories and i want to select one category, give it as an input to call my second api. plx help

aksanazir