• 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
Dragging Promised Files Into an NSOutlineView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Dragging Promised Files Into an NSOutlineView


  • Subject: Dragging Promised Files Into an NSOutlineView
  • From: Michael Tsai <email@hidden>
  • Date: Wed, 15 Feb 2006 15:43:53 -0500

I have an outline view that I would like to accept promised file drags
using NSFilesPromisePboardType. The problem is that I don't know how to
tell when the promised files have been written to disk.

I can get the locations where the files will be saved by sending
-namesOfPromisedFilesDroppedAtDestination: to the NSDraggingInfo from
inside of -outlineView:acceptDrop:item:childIndex:. However, the
documentation states that the files might not have been written to disk
by the time -namesOfPromisedFilesDroppedAtDestination: returns, and
indeed that's what happens. Is there some method that's called when the
promise has been fully redeemed? I tried overriding
-concludeDragOperation: on the outline view, but that's called way too
soon--right when I release the mouse button to end the drag.

--Michael
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: tableview dataSource and bindings
  • Next by Date: warning: C++ constructors and destructors
  • Previous by thread: Re: tableview dataSource and bindings
  • Next by thread: warning: C++ constructors and destructors
  • Index(es):
    • Date
    • Thread