Fancy drag drop

2008-07-24 Thread Nicolas L.
HI all! I'm interested in the way Interface Builder, Instruments and probably a couple of other apps handle drag and drop. You know, how the item dragged from the Library panel changes depending where it's about to be dropped. I've subclassed my table views and overridden the methods to

Re: Fancy drag drop

2008-07-24 Thread Ron Lue-Sang
On Jul 24, 2008, at 8:20 AM, Nicolas L. wrote: HI all! I'm interested in the way Interface Builder, Instruments and probably a couple of other apps handle drag and drop. You know, how the item dragged from the Library panel changes depending where it's about to be dropped. I've

Re: Fancy drag drop

2008-07-24 Thread Philip Dow
It's not trivial, but you want to create a transparent window and show it while simultaneously returning an empty image. Then in the draggedImage:movedTo method you can update the position of the window and depending on ui window element it is over, change the shape. ~Phil On Jul 24,