I've got a cross platform codebase that expects drag and drop
operations to be performed synchronously, as has always been the case
on Mac OS and Windows. Now I'm looking at upgrading us to use the 10.7
multi-image dragging API, but I have the problem of
beginDraggingSessionWithItems:event:source: being asynchronous.

Since WWDC 2011's session 115 says "the drag actually starts .. next
turn of the runloop", I simply ran my own event loop until
draggingSession:endedAtPoint:operation: tells me the drag session is
over. This appears to work perfectly.

So I'm wondering: is this supported? or should I continue to use the
older synchronous APIs?

-- Joe Ranieri
_______________________________________________

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to