Hey folks! In this tutorial let's look into allowing a user to drag and drop a view in our iOS App when working with SwiftUI.
This is part 3 of a 3 part series! Check out the first part here:
https://youtu.be/A26ydUJu7DE
Have fun and see you in the videos.
Cheers!
Timestamps:
00:00 Intro
01:38 Starter Code
05:02 Start Drag and drop implementation
08:24 Transferable protocol
13:42 Handle Dragged Item
18:11 Test Drag and Drop
18:39 Recap of all steps
#swift #swiftui #gestures #ios #programming #draganddrop
code on github:
Тэги:
#swiftui #swift #ios #tap #swipe_left #swipe_right #gesture #swipe_tutorial #swiftui_tutorial_tap