ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

Loading and caching images from URL in SwiftUI - AsyncImage or custom view model logic

how to work with any api in swift

swift web api example

swift download image tutorial

swift cache

AsyncImage

loading images in swiftui

downloading images in swiftui

caching images in swiftui

nscache example

asyncimage swiftui

asyncimage cache swiftui

asyncimagephase

asyncimage ios

asyncimage ios 14

swiftui loading animation

swiftui loading state

Karin Prater

ios development swift

iosdevelopment

ios development 2021

ios developer 2021

how to write an ios app

Автор: Karin Prater

Загружено: 2021-08-25

Просмотров: 11067

Описание: In this tutorial I will show you how to load images from an URL. First, I will use AsyncImage, which was added for SwiftUI this year for iOS 15. You will learn different implementation including loading and error states. I will also show an example for a custom loading view. This allows for more control.In order to improve the optimisation of the loading, I will talk about caching the images. This helps to lower the data consumption.

Overview
00:00 introduction
01:18 AsyncImage for iOS 15+
08:44 custom image view with image loading
20:56 performance optimisation with caching
27:12 bad example for loading images lazy
33:19 wrap up

😻 The example API is the cat API.https://thecatapi.com/

🤩 Learn more
Part 1: working with the Web, HTTP, JSON, and REST APIs    • iOS Swift Tutorial: Working with the Web: ...  
Part 2: Parsing JSON    • iOS Swift Tutorial - Working with the Web ...  
Part 3: Networking in SwiftUI    • SwiftUI Tutorial: How to make a API call, ...  

If you liked what you learned and you want to see more, check out one of my courses!
👨‍💻 my SwiftUI course https://school.swiftyplace.com/course...
👨‍💻 my Core Data and SwiftUI course https://school.swiftyplace.com/course...
👩🏻‍💻 Combine course
https://school.swiftyplace.com/course...

⬇️ Project starter files: https://github.com/gahntpo/CatAPISwiftUI

#SwiftUI #AsyncImage

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
Loading and caching images from URL in SwiftUI - AsyncImage or custom view model logic

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

SwiftUI example project - Astronomy Picture of the Day API - Part 1 - MVVM and Combine framework

SwiftUI example project - Astronomy Picture of the Day API - Part 1 - MVVM and Combine framework

Как парсить json в SWIFT. Parse JSON SWIFT. Работа с JSON iOS SWIFT

Как парсить json в SWIFT. Parse JSON SWIFT. Работа с JSON iOS SWIFT

Swift API Calls for Beginners (Networking) - Async Await & JSON

Swift API Calls for Beginners (Networking) - Async Await & JSON

Website Hacking for Beginners | SQL Injection

Website Hacking for Beginners | SQL Injection

iOS 17 Data Flow with Observation Framework

iOS 17 Data Flow with Observation Framework

Трамп объявил о прекращении огня / Конец российского наступления?

Трамп объявил о прекращении огня / Конец российского наступления?

iOS Swift Tutorial - Working with the Web - How to parse JSON into model objects with Codable

iOS Swift Tutorial - Working with the Web - How to parse JSON into model objects with Codable

Бэкапы, файлы и прочее

Бэкапы, файлы и прочее

Make a MacOS App from Start to Finish with SwiftUI - Screenshot app - PART 1

Make a MacOS App from Start to Finish with SwiftUI - Screenshot app - PART 1

ИВАН ВАСИЛЬЕВИЧ МЕНЯЕТ ПРОФЕССИЮ 2025 @ЖестЬДобройВоли #пародия

ИВАН ВАСИЛЬЕВИЧ МЕНЯЕТ ПРОФЕССИЮ 2025 @ЖестЬДобройВоли #пародия

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]