How To Make API Call and Cache Images in SwiftUI

Опубликовано: 05 Октябрь 2024
на канале: iOS Insights
275
7

Did you enjoy this video and would you like to learn more about how I can help you https://iosinsights.co.uk/work-with/?

Support us on Patreon:   / shop  

Welcome to the tutorial on How To Make API Call and Cache Images in SwiftUI. In this video, we will explore the basics of SwiftUI and learn how to make network requests using Swift. We'll also cover topics such as MVVM architecture, working with JSON data, decoding JSON using Codable, and using URLSession for making API calls. Additionally, we'll dive into SwiftUI's powerful features, including asynchronous image loading, working with URLs for displaying images, animations, and creating a list of items.
If you're new to SwiftUI or looking for a beginner-friendly tutorial, you're in the right place! This tutorial is perfect for beginners who want to learn SwiftUI and build their first app. We'll walk through step-by-step, ensuring you understand the concepts and techniques used.
By the end of this tutorial, you'll have the knowledge and skills to create your own SwiftUI app and make API calls to retrieve and display data. So, let's get started with How To Make API Call and Cache Images in SwiftUI!

Apple 2022 MacBook Pro laptop with M2 chip: 13-inch Retina display, 8GB RAM, 256GB SSD storage, Touch Bar, backlit keyboard, FaceTime HD camera; Silver

https://amzn.to/3z7rfjm

Apple iPhone 14 (128 GB) - Starlight

https://amzn.to/3TLcYSP

Apple 2022 12.9-inch iPad Pro (Wi-Fi, 128GB) - Space Grey (6th generation)

https://amzn.to/3LRXGtx