- Популярные видео
- Авто
- Видео-блоги
- ДТП, аварии
- Для маленьких
- Еда, напитки
- Животные
- Закон и право
- Знаменитости
- Игры
- Искусство
- Комедии
- Красота, мода
- Кулинария, рецепты
- Люди
- Мото
- Музыка
- Мультфильмы
- Наука, технологии
- Новости
- Образование
- Политика
- Праздники
- Приколы
- Природа
- Происшествия
- Путешествия
- Развлечения
- Ржач
- Семья
- Сериалы
- Спорт
- Стиль жизни
- ТВ передачи
- Танцы
- Технологии
- Товары
- Ужасы
- Фильмы
- Шоу-бизнес
- Юмор
SwiftUI example project - Astronomy Picture of the Day API - Part 1 - MVVM and Combine framework
An example project that demonstrates fetching data from the network with Combine and SwiftUI.
In this tutorial, we will learn how to make a REST API call in Swift. We will talk about URLSession to make fetch requests. Then we will parse the returned JSON data with Codable and display the data.
APOD API https://api.nasa.gov
00:00 Introduction
02:39 project setup
13:18 Networking with JSON and Decodable
25:35 Introduction to Multithreading and Grand Central Dispatch
30:16 SwiftUI preview with data for the Networking layers
36:08 Fetching images
40:13 Changing the date for the APOD
53:38 Add an loading animation
PART 2 https://youtu.be/bS_XrFyX8Bk
⬇️ download project files https://github.com/gahntpo/AstroPic
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/courses/swiftui-course
👨💻 my Core Data and SwiftUI course https://school.swiftyplace.com/courses/swiftui-and-core-data
👩🏻💻 Combine course
https://school.swiftyplace.com/courses/master-combine-framework
#SwiftUI #Networking # CombineFramework #MVVM
Видео SwiftUI example project - Astronomy Picture of the Day API - Part 1 - MVVM and Combine framework канала Karin Prater
In this tutorial, we will learn how to make a REST API call in Swift. We will talk about URLSession to make fetch requests. Then we will parse the returned JSON data with Codable and display the data.
APOD API https://api.nasa.gov
00:00 Introduction
02:39 project setup
13:18 Networking with JSON and Decodable
25:35 Introduction to Multithreading and Grand Central Dispatch
30:16 SwiftUI preview with data for the Networking layers
36:08 Fetching images
40:13 Changing the date for the APOD
53:38 Add an loading animation
PART 2 https://youtu.be/bS_XrFyX8Bk
⬇️ download project files https://github.com/gahntpo/AstroPic
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/courses/swiftui-course
👨💻 my Core Data and SwiftUI course https://school.swiftyplace.com/courses/swiftui-and-core-data
👩🏻💻 Combine course
https://school.swiftyplace.com/courses/master-combine-framework
#SwiftUI #Networking # CombineFramework #MVVM
Видео SwiftUI example project - Astronomy Picture of the Day API - Part 1 - MVVM and Combine framework канала Karin Prater
ios development swift iosdevelopment SwiftUI Combine framework iOS Combine swift mvvm swiftui api json swiftui combine mvvm swiftui combine networking swiftui mvvm combine swiftui mvvm example swiftui mvvm api swiftui mvvm project structure swift api app swiftui networking swiftui networking tutorial swiftui networking example
Комментарии отсутствуют
Информация о видео
11 января 2022 г. 18:00:31
00:56:15
Другие видео канала




















