• 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
Drag&Drop procedure fired twice right after another
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Drag&Drop procedure fired twice right after another


  • Subject: Drag&Drop procedure fired twice right after another
  • From: Dominik Pich <email@hidden>
  • Date: Thu, 1 Mar 2007 18:37:29 +0100

Hi,
we have a custom view that accepts path via drag&drop and displays images.


Up on draggingEntered we look for the specific data on the pasteboard,
in prepareForDragOperation we return YES
in wantsPeriodicUpdates we return NO
and in draggingUpdated content is added for preview
in performDragOperation we do nothing really nothing
in ConcludeDragging we finish by keeping the previewed data already in the view


The issue is that when i move the mouse while already having released the button the above is all done again:
2007-03-01 16:37:20.426 draggingEntered
2007-03-01 16:37:20.856 performDragOperation
2007-03-01 16:37:20.906 concludeDragOperation
2007-03-01 16:37:20.946 draggingEntered
2007-03-01 16:37:21.035 performDragOperation
2007-03-01 16:37:21.081 concludeDragOperation


Any idea WHY the whole procedure happens twice?



_______________________________________________

Cocoa-dev mailing list (email@hidden)

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


  • Prev by Date: How to import data in Core Data app?
  • Next by Date: Re: Array exception when changing the bounds size of a view
  • Previous by thread: Re: How to import data in Core Data app?
  • Next by thread: Get position and attributes of hovered word
  • Index(es):
    • Date
    • Thread