I’ve been trying to implement a drag and drop feature like the one in Interface Builder where the image is one thing over the source window and a different image when over the target window. Having tried various ways to achieve this it looked to me like it’s not possible. I wondered whether IB was actually using real drag & drop at all.
So I tried dragging from the IB library to my own destination window, with a breakpoint on the draggingEntered: method. Sure enough it wasn’t called.
Then it struck me. When you initially drag a window out of the IB Library, you then drag it to nothingness. The desktop doesn’t know what it is. So real drag & drop wouldn’t work for IB. It’s an internal implementation of drag&drop.
Posted by stevewaddicor 