When I drag an NSTableView (view based) item over the dock, the dock freezes. I.e. it does the genie effect when entering the Dock area, but then it is just stuck.
I've implemented:
func tableView(_ tv: NSTableView, pasteboardWriterForRow row: Int)
-> NSPasteboardWriting?
to make the row draggable, it is returning an own NSObject implementing NSPasteboardWriting, nothing special really (declares a string and a custom type).
Also D&D is working just fine within the app. It is just for outside drags, when it starts to fail.
Q: Any idea what I may be doing wrong? :-)
Sample code: https://gist.github.com/helje5/48728983951ab3362af43b967c554475
P.S.: I also have a custom view implementing NSDraggingSource
itself, and that seems to work just fine.
tableView.setDraggingSourceOperationMask
? – Willeke