I have a view that allows users to drag copies of the items it contains. I'd like to add autoscrolling to the view, which will move the drag's source item. However, I can find no way to change the drag properties so that upon failure the image will slide back to where the item *is* rather than where it *was* before the view autoscrolled.

I did find the NSDraggingInfo protocol's slideDraggedImageTo: which I suppose I could have called in my draggedImage:endedAt:operation: dragging source method. But this method is a strange one! The Leopard release notes state the following:

"-[NSDraggingInfo slideDraggedImageTo:] is now implemented to behave as documented. This change is enabled only for applications built on Leopard or later to avoid changing behavior of older binaries in ways that may be incorrect."

So it's working "as documented" which would be great, but the documentation says it's deprecated (as of Leopard!) with no alternative method! Was -slideDraggedImageTo: really deprecated in the exact release it was also fixed? Or are the release notes just making a little joke ("it now behaves as...deprecated")?

(And even if it weren't deprecated, would it have enabled me to do what I want?)

thanks,
-natevw
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to