Drag and drop images to other application using NSFilesPromisePboardType
Drag and drop images to other application using NSFilesPromisePboardType
- Subject: Drag and drop images to other application using NSFilesPromisePboardType
- From: Dikshith Rai <email@hidden>
- Date: Wed, 4 Feb 2009 18:54:06 +0530
Hi All,
I am trying to drag files from my application to iPhoto,Mail,Preview
etc (any application that accepts image files).
I am using NSFilesPromisePboadType.The reason for using
NSFilesPromisePboadType is application data is stored as a package and
I need to extract image from the package when I drag and drop. It
works well when I drag images from my app to the Finder.
I get this call back when there is a mouseUp
- (NSArray *)namesOfPromisedFilesDroppedAtDestination:(NSURL
*)dropDestination
But Incase of applications like iPhoto,Mail,Preview etc, this method
is not being called.
Does this mean that application like iPhoto does not support
NSFilesPromisePboadType or am I not doing it in the right way?
Can somebody please tell me how can I drag images to applications
like iPhoto?
Thanks in advance.
Dikshith
_______________________________________________
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