Okay, so I decided to try to experiment with NSFilePromiseProvider, in order to 
replace some legacy code using old-fashioned drag-and-drop methods. Seems 
simple enough; just have the outline view delegate’s 
-outlineView:pasteboardWriterForItem: method return an NSFilePromiseProvider. 
However, for some reason, when I drag something from the outline view to the 
Finder, the drag-and-drop system seems to completely ignore my 
NSFilePromiseProviderDelegate methods, and calls the old-fashioned 
-outlineView:namesOfPromisedFilesDroppedAtDestination:forDraggedItems: method 
instead. If it's not there, it throws an exception. What the heck?

Project is at: http://www.charlessoft.com/FilePromisesTest.zip

I mean, it works, but it works using the older system. I want it to use the 
modern system. Why won’t it?

Charles
_______________________________________________

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