• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Synchronous multi-image dragging
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Synchronous multi-image dragging
      • From: Raleigh Ledet <email@hidden>
  • Prev by Date: Re: Memory, Swap used by whom?
  • Next by Date: Re: Undomanager for custom object?
  • Previous by thread: Re: Making a NSPanel to look active
  • Next by thread: Re: Synchronous multi-image dragging
  • Index(es):
    • Date
    • Thread