Networking in UIKit: Fetching and Displaying Data

preview_player
Показать описание
🚀 Ditch the messy callbacks! Master networking in UIKit with Swift’s modern async/await API!
🔹 What You’ll Learn: ✅ Why async/await is a game-changer for iOS networking
✅ How to fetch JSON data with URLSession
✅ Display API results in a UIImageView, and UITableView
✅ The best way to handle errors with async code
✅ How to optimize UIKit apps with async updates

💡 Perfect for: ✔️ iOS developers upgrading from completion handlers
✔️ Anyone struggling with UIKit networking code
✔️ Developers wanting to write modern, cleaner Swift code

🔥 Download My Project Files & More! 🔥
👉 Get the source code for this project & other Swift resources here:
Subscribe for more bite-sized lessons and full tutorials on Swift, SwiftUI, and UIKit.

Links:

Timestamps:
00:00 - Intro to Async/Await
01:25 - Project Setup
01:38 - Loading a remote image from URL
02:22 - Setting up imageview
03:18 - Fetching Image
06:15 - Grabbing the image from a URL
06:56 - using Picsum
08:43 - Testing
08:59 - using any image URL
10:19 - Using APIs (JSON)
10:49 - Grabbing the image from a URL
11:42 - JSON Handler
15:11 - Displaying our API in a tableview
20:02 - Testing
20:46 - Wrap up
Рекомендации по теме
join shbcf.ru