Drag Gestures in SwiftUI

Drag Gestures in SwiftUI

Swift and Tips

2 года назад

5,154 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@BenGeorgia
@BenGeorgia - 12.03.2023 00:36

That was awesome! ty much.

Ответить
@pepa007
@pepa007 - 21.10.2022 22:21

Thank you. How would I detect that the view is being dragged over (on top of) another view? Something like if I wanted to highlight a drop area. But I am actually not implementing drag & drop, just need that highlight effect when dragging over something. Do I need to be comparing the drag location with the bounds of that bottom view? Or is there some easier method to detect if views overlap?

Ответить
@kholoudalhamzawy8220
@kholoudalhamzawy8220 - 22.08.2022 17:42

you are one of the best!! keep going please i hope you cover more and more topics in future ❤

Ответить
@MrNelford
@MrNelford - 22.04.2022 01:30

Great video. I found this really useful. Can I also add a quick question: Can you move 2 objects at the same time where they maintain relative distance away from each other?

Ответить
@FuzeGamer11
@FuzeGamer11 - 20.02.2022 23:41

Great video, thanks!

Ответить
@andrejkling3886
@andrejkling3886 - 16.01.2022 13:05

Yes... more practical lessons about that please. Thank you

Ответить
@waynedahlberg927
@waynedahlberg927 - 16.01.2022 06:03

How to drag from one view to another view? Great tutorial

Ответить
@developerfriendly
@developerfriendly - 16.01.2022 02:23

Thanks for the video 👍 Can you also make a tutorial on "pinch to zoom on images" using gestures in SwifUI ?

Ответить