On Jul 29, 2009, at 2:33 PM, Matt Rajca wrote:

[pasteboard declareTypes:[NSArray arrayWithObject:NSFilesPromisePboardType] owner:self]; [pasteboard setPropertyList:fileExtensions forType:NSFilesPromisePboardType];

NSFilesPromisePboardType is a special pasteboard type that cannot be set up in this way. The only supported method of setting one up is to use the -dragPromisedFilesOfType:... method. See <http://developer.apple.com/documentation/Cocoa/Conceptual/DragandDrop/Tasks/DraggingFiles.html#//apple_ref/doc/uid/20001288-102943 > for details.

Is there any way to support the dragging of file promises from IKImageBrowserView so I could later save the actual data to disk asynchronously?

There might, if you subclassed IKImageBrowserView and completely rewrote the way it handled starting a drag. But other than that, no.

Nick Zitzmann
<http://www.chronosnet.com/>

_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to