- Популярные видео
- Авто
- Видео-блоги
- ДТП, аварии
- Для маленьких
- Еда, напитки
- Животные
- Закон и право
- Знаменитости
- Игры
- Искусство
- Комедии
- Красота, мода
- Кулинария, рецепты
- Люди
- Мото
- Музыка
- Мультфильмы
- Наука, технологии
- Новости
- Образование
- Политика
- Праздники
- Приколы
- Природа
- Происшествия
- Путешествия
- Развлечения
- Ржач
- Семья
- Сериалы
- Спорт
- Стиль жизни
- ТВ передачи
- Танцы
- Технологии
- Товары
- Ужасы
- Фильмы
- Шоу-бизнес
- Юмор
Tap Gestures in SwiftUI
Hello everyone, in this video, we will learn the different ways to capture tap gesture events in SwiftUI!
Content:
0:00 - Intro
0:15 - Types of Gestures
0:40 - onTapGesture
1:47 - TapGesture
3:07 - Is updating method useful?
3:46 - Why onChanged is not available?
4:44 - Multiple taps
5:40 - Are you still here?
------
Source code showed in the video:
https://gist.github.com/pitt500/f6a96a70cdf238c4b50171aceafd45b2
------
Resources:
* TapGesture: https://developer.apple.com/documentation/swiftui/tapgesture
* GestureState: https://developer.apple.com/documentation/swiftui/gesturestate
* onTapGesture: https://developer.apple.com/documentation/swiftui/view/ontapgesture(count:perform:)
------
Other videos in the channel:
* Modifiers: https://youtu.be/QJJYDawfugk
* Never type vs Void: https://youtu.be/RHgRq4_gdk8
* Drag Gestures: https://youtu.be/muHDX4ij_EQ
* Where clauses: https://youtu.be/BxpNrBO4ygs
-----
Don't forget to subscribe to the channel, like it, and follow me on social media:
Twitter:
https://twitter.com/swiftandtips
https://twitter.com/pitt500
Finally, ask me for a video you would like to see next 😄!
Credits:
- Music by Wataboi from https://pixabay.com/
- Video edited with Final Cut Pro
Видео Tap Gestures in SwiftUI канала Swift and Tips
Content:
0:00 - Intro
0:15 - Types of Gestures
0:40 - onTapGesture
1:47 - TapGesture
3:07 - Is updating method useful?
3:46 - Why onChanged is not available?
4:44 - Multiple taps
5:40 - Are you still here?
------
Source code showed in the video:
https://gist.github.com/pitt500/f6a96a70cdf238c4b50171aceafd45b2
------
Resources:
* TapGesture: https://developer.apple.com/documentation/swiftui/tapgesture
* GestureState: https://developer.apple.com/documentation/swiftui/gesturestate
* onTapGesture: https://developer.apple.com/documentation/swiftui/view/ontapgesture(count:perform:)
------
Other videos in the channel:
* Modifiers: https://youtu.be/QJJYDawfugk
* Never type vs Void: https://youtu.be/RHgRq4_gdk8
* Drag Gestures: https://youtu.be/muHDX4ij_EQ
* Where clauses: https://youtu.be/BxpNrBO4ygs
-----
Don't forget to subscribe to the channel, like it, and follow me on social media:
Twitter:
https://twitter.com/swiftandtips
https://twitter.com/pitt500
Finally, ask me for a video you would like to see next 😄!
Credits:
- Music by Wataboi from https://pixabay.com/
- Video edited with Final Cut Pro
Видео Tap Gestures in SwiftUI канала Swift and Tips
Комментарии отсутствуют
Информация о видео
29 января 2022 г. 20:00:04
00:06:08
Другие видео канала




















