SwiftUI Gestures (Long Press, Drag, Tap) - Xcode 12, 2021, iOS Development

preview_player
Показать описание
In this video we will learn how to add and usage gestures in your SwiftUI app. Gestures are a great way to make views interactive and fluid. We will look at drag and long press gestures in particular. We will work with the latest version of Xcode and SwiftUI.

#swift #swiftUI #gestures

** Like my teaching style? Check out some of my most popular courses!

Join this channel to get access to perks, code, groups, and more:

** Get Skillshare free for 2 Months and learn iOS

** Manage all your investments from app earnings on Betterment!

** Grow your own Youtube tech channel with TubeBuddy:
Рекомендации по теме
Комментарии
Автор

Nicely explained…but, how do you drag and drop images from an HStack to a ZStack or VStack? I’ve looked many places and found no explanation of how to do this. Thanks

ShelterDogs-GoodfortheSoul
Автор

Could have explained drag gesture more precisely to get rid of UI glitches. But still, long tap, you nailed your explanation.

sraavanchevireddy
Автор

It would be good if you can explain how to fix the position issue on the second drag. Sure, the drag gesture seems simple, and I'm sure getting the drag end position persistent is simple as well. But having it explained would be very helpful.

jkristia
Автор

can you make. a counting gesture? we touch the screen and it goes from 0 to 1, and when we touch it again it goes up to 2 and again and again.

coolmania
Автор

Noob question. Why are there no parenthesis after views such as VStack or Text but only curly braces.

MrSenChoi
Автор

I liked the tutorial, pinpointing what i was looking for. But it is little bit too fast.

murtix