Synchronous multi-image dragging
Synchronous multi-image dragging
- Subject: Synchronous multi-image dragging
- From: Joseph Ranieri <email@hidden>
- Date: Thu, 15 Mar 2012 00:49:43 -0400
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 (email@hidden)
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:
This email sent to email@hidden