ycliper

Популярное

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

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

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

Топ запросов

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

Scroll Programmatically with ScrollViewReader in a NavigationLink - iTunes Search API - PART 7/7

ios development swift

swiftui app

swiftui scrollviewreader

scrolling in swiftui

swiftui check ios version

swiftui available

swiftui available modifier

swiftui fetch request

swiftui fetch request not updating

swiftui complex navigation

onReceive

onreceive swiftui

onchange swiftui

itunes search api

itunes search

itunes search api tutorial

swiftui programatic scrolling

how to scroll swiftui

swiftui programmatically scroll

swiftui scroll view reader

Автор: Karin Prater

Загружено: 2022-08-04

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

Описание: In the 7th part of the iTunes Search API tutorial series, we will implement the detail view for songs. This includes programmatically scrolling to the selected song when the detail view appears.
We need to do 2 fetch requests when opening the NavigationLink, which is done with 2 separate view models. These make the code more organised and reusable.
Last I want to change the minimum deployment target back from iOS 16 to 15. Therefore I need to show part of the code conditionally by checking the available iOS version and having an alternative for the Grid view-

Overview
00:00 Introduction
03:14 NavigationLink to Song Detail View
05:27 Song Detail View
5:39 fetching the data for Song Detail View
14:55 Reusable view for Album Header
19:36 Scroll programmatically with ScrollViewReader
33:06 onAppear vs onChange, how to update the UI
38:21 conditionally show views for different iOS versions
43:37 wrap up

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 file for starting point:
https://github.com/gahntpo/ItunesSear...

⬇️ End:
https://github.com/gahntpo/ItunesSear...

#SwiftUI #AsyncImage

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
Scroll Programmatically with ScrollViewReader in a NavigationLink - iTunes Search API - PART 7/7

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

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

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

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

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

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

Xcode Tips and Tricks: How to Clean Up Xcode & Free Up Space on Your Mac!

Xcode Tips and Tricks: How to Clean Up Xcode & Free Up Space on Your Mac!

How to save data to local storage - iOS File System and Sandboxing

How to save data to local storage - iOS File System and Sandboxing

КОГДА ИСЧЕЗНЕТ УКРАИНА? | #ВзглядПанченко

КОГДА ИСЧЕЗНЕТ УКРАИНА? | #ВзглядПанченко

Publish Your macOS App Outside the App Store: Notarization, DMG, & Gumroad Guide

Publish Your macOS App Outside the App Store: Notarization, DMG, & Gumroad Guide

"У нас огромные бессмысленные потери! Остановитесь" Военблогеры рассказали о цене наступления России

Eigenvectors and eigenvalues | Chapter 14, Essence of linear algebra

Eigenvectors and eigenvalues | Chapter 14, Essence of linear algebra

How to Start Coding | Programming for Beginners | Learn Coding | Intellipaat

How to Start Coding | Programming for Beginners | Learn Coding | Intellipaat

AI on Mac Made Easy: How to run LLMs locally with OLLAMA in Swift/SwiftUI

AI on Mac Made Easy: How to run LLMs locally with OLLAMA in Swift/SwiftUI

Причина СВО? СТРАНУ РАЗВОРОВАЛИ, РАБОТЫ У ЛЮДЕЙ НЕТ И КУШАТЬ НЕЧЕГО

Причина СВО? СТРАНУ РАЗВОРОВАЛИ, РАБОТЫ У ЛЮДЕЙ НЕТ И КУШАТЬ НЕЧЕГО

WWDC24: Key Updates for macOS Development with SwiftUI

WWDC24: Key Updates for macOS Development with SwiftUI

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



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



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