The 3 Different Ways To Make Network/API Calls and Parse JSON Response in Swift | iOS

Опубликовано: 11 Апрель 2026
на канале: Jason Dubon
719
17

In this video, I go over the three ways of making a network call and then parsing the JSON we receive form the API. We will be working with the Swapi API.

Source Code: https://github.com/MexJason/StarWarsApp

Let me know in the comment section what videos you would like to see in the future. Feel free to reach out to me if you need any help or advice. Happy Coding :)

Swapi API: https://swapi.dev/

List of Topics To Know for iOS Interviews: https://docs.google.com/spreadsheets/...

Follow Me On Twitter:   / jasondubonyt  

More On Tableviews:    • Create TableView Programmatically (Swift 5...  
HIgher Order Functions:    • Swift Tutorial: Filter, Map, Reduce - How ...  

0:00 Intro
0:21 Star Wars API
2:08 Project Setup
6:10 Creating Network Manager
7:40 Creating Models To Parse JSON
12:30 Our First Method
20:24 Implementing Our First Method
26:20 Our Second Method Using Result
32:40 Implementing Our Second Method
35:58 Our Third Method Using Async/Await
40:44 Implementing Our Async/Await Network Call
44:50 Outro


Setup:
Cam: https://amzn.to/3KOFxtS
Laptop: https://amzn.to/3RCMVuQ
Microphone: https://amzn.to/3RouScc
Rodecaster Pro: https://amzn.to/3QiaWpY
USB-C: https://amzn.to/3TFSDxH

#softwareengineer #developer #learningtocode