Re: How to drag file promises from IKImageBrowserView?
Re: How to drag file promises from IKImageBrowserView?
- Subject: Re: How to drag file promises from IKImageBrowserView?
- From: Nick Zitzmann <email@hidden>
- Date: Wed, 29 Jul 2009 16:16:09 -0600
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 (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