• 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
Drag and drop images to other application using NSFilesPromisePboardType
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Drag and drop images to other application using NSFilesPromisePboardType
      • From: Corbin Dunn <email@hidden>
  • Prev by Date: why popupbuttoncell always select second item in tableview ?
  • Next by Date: Re: NSService - I need a headslap
  • Previous by thread: Re: why popupbuttoncell always select second item in tableview ?
  • Next by thread: Re: Drag and drop images to other application using NSFilesPromisePboardType
  • Index(es):
    • Date
    • Thread