I've managed to get drag and drop working on my NSCollectionView
, but there are some issues with the visual appearance and behaviour. The main issue is that the drop zone / placeholder is the wrong size i.e. it's smaller than the collection view's minItemSize
. I've scoured the documentation, but can't see any way to specify this.
The second issue I have is that I'd like the cell image to actually be moved when it's being dragged, rather than just having the semi-transparent copy.
Here's the current behaviour:
And here's the behaviour I'd like to have (as used in Sketch):
Any suggestions would be greatly appreciated. Let me know if any of the code would be useful — I'm not sure which parts would be relevant to solving this. Thanks!