It does. Making a call to draggingSourceOperationMask in your acceptDrop method will give you the operation that is active. No need to cache it.
-Tony On Jun 10, 2010, at 11:12 AM, Jens Alfke wrote: > > On Jun 9, 2010, at 11:12 PM, Graham Cox wrote: > >> In –outlineView:acceptDrop:item:childIndex: I can work out much the same set >> of conditions as above and mostly do the right thing, but since a move or a >> copy is equally likely, I need a way to determine what the last drag >> operation returned during validation actually was. There doesn't seem to be >> a way to do this by requesting it from any of the parameters passed to that >> method. > > Well, since acceptDrop takes the same parameters as validateDrop, it seems > you should be able to work out the same operation that validateDrop arrived > at. I often end up writing a subroutine that takes the dragging info and > items and works out the operation and other useful stuff, and then have both > of those methods call it. > > —Jens > > _______________________________________________ > > 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/tonyrom%40hotmail.com > > This email sent to tony...@hotmail.com > It_______________________________________________ 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 arch...@mail-archive.com