• 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: How to drag file promises from IKImageBrowserView?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >How to drag file promises from IKImageBrowserView? (From: Matt Rajca <email@hidden>)

  • Prev by Date: Re: UITextView not updating
  • Next by Date: Posting mouse clicks with multiple displays
  • Previous by thread: How to drag file promises from IKImageBrowserView?
  • Next by thread: Posting mouse clicks with multiple displays
  • Index(es):
    • Date
    • Thread