Drag And Drop SwiftUI Views With The .onDrop Modifier
Daily Coding Tip 066

We’re going to start with what is possibly the most complicated part.
The delegate for receiving something that’s been dragged and dropped is appropriately named DropDelegate. The main thing we’re doing is storing the value of the text that was dropped. If you’re unfamiliar with UTTypes, they basically specify file…


