The program still has animation "back to the drag source"


#1

Hi all,
I type in the codes in chap 21, everything seems ok but that there is animation that “the letter will come back to the drag source” even if the drop destination is updated. It it unreasonable, could anyone help me out?
Thanks in advance.

lood339


#2

The same happens to me.
Is it normal ?

the performDragOperation return always an error :

This means : Error: can’t read from the draggingPasteboard.
But the operation is done ! And the letter is copied to the 2nd view.

If I drag from an other application like textedit, there is no back effect.

SOLVED : The "return “YES” was missing in readFromPasteboard.