• 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: Drag and Drop from NSTableView to Finder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Drag and Drop from NSTableView to Finder


  • Subject: Re: Drag and Drop from NSTableView to Finder
  • From: development2 <email@hidden>
  • Date: Thu, 14 Jun 2007 16:05:47 -0600

Thanks. Yes I saw this before. But it really is not helping me. Here is my problem.

I have some images in a table that are not yet in a file. They are currently stored in the program as GCImageRef's. Now I can drag and image to the desktop but it is not dropping on the desktop because I don't know how to put the GCImageRef or NSImage (whatever I have to turn it into I will) into the NSPateboard object. Also what if I want to drag more than one at a time to the desktop.

Sorry I am probably being very dense here, but I am just not getting this.

Any help would greatly be appreciated.




On Jun 13, 2007, at 5:29 PM, I. Savant wrote:

On Jun 13, 2007, at 7:05 PM, development2 wrote:
Is there any examples of Dragging an Image from an NSTableView to the Finder. I am having a problem finding an example or getting this to work.


  The topic you want is "Dragging File Promises".

http://developer.apple.com/documentation/Cocoa/Conceptual/ DragandDrop/Tasks/DraggingFiles.html#//apple_ref/doc/uid/ 20001288-102943

You can also find information by googling "NSFilesPromisePboardType" (found in the document above). There are lots of examples.

--
I.S.



_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
40bitblasters.com


This email sent to email@hidden


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: 
 >Drag and Drop from NSTableView to Finder (From: development2 <email@hidden>)
 >Re: Drag and Drop from NSTableView to Finder (From: "I. Savant" <email@hidden>)

  • Prev by Date: Re: Core Data Beginner Question
  • Next by Date: Re: Core Data Beginner Question
  • Previous by thread: Re: Drag and Drop from NSTableView to Finder
  • Next by thread: -[NSPredicate evaluateWithObject:] and NSArray
  • Index(es):
    • Date
    • Thread