• 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
Re: Newbie, How to drag from a view to editors and the finder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie, How to drag from a view to editors and the finder


  • Subject: Re: Newbie, How to drag from a view to editors and the finder
  • From: Nick Zitzmann <email@hidden>
  • Date: Thu, 21 Apr 2005 07:10:02 -0600


On Apr 21, 2005, at 12:23 AM, Nestor Cardozo wrote:

Do I need to declare NSFilesPromisePboardType in my pasteboard? do I need to set the data or write the data to for the NSFilesPromisePboardType? as I did it for the NSPDFPasteboardType? If the latter is true, how do you do it?

You can't. NSFilePromisePboardType pasteboards depend on a private class called NSFilePromiseDragSource, so the only supported way of initiating a file-promise drag is to call the - dragPromisedFilesOfTypes:... method. Check the list archives for more information; there's been a lot of talk about file-promise drags in the past: <http://www.cocoabuilder.com/>


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


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Newbie, How to drag from a view to editors and the finder (From: Nestor Cardozo <email@hidden>)

  • Prev by Date: Re: Click & Hold on NSButton
  • Next by Date: Re: Click & Hold on NSButton
  • Previous by thread: Newbie, How to drag from a view to editors and the finder
  • Next by thread: problem with floats/floatForKey
  • Index(es):
    • Date
    • Thread