Re: Drag a JPEG from Finder to Cocoa
Re: Drag a JPEG from Finder to Cocoa
- Subject: Re: Drag a JPEG from Finder to Cocoa
- From: Ivan Myrvold <email@hidden>
- Date: Sun, 30 Sep 2001 19:42:37 +0400
On sxndag, september 30, 2001, at 03:38 , Andreas Monitzer wrote:
On Sunday, September 30, 2001, at 01:05 , Ivan Myrvold wrote:
To answer myself, I think I made this problem bigger than it really
is. From what I have been reading of the documentation, I just have to
have an NSImageView in my window, which I can drag a picture to from
Finder. It will magically be shown in the NSImageView, without me
having to do anything special in the code.
OK, I have to try this out when I come home (where my development
machine is), sounds almost too good to be true.
So what is all this about NSDraggingDestination and NSDraggingInfo
then? It looks like I can forget about that for now, at least.
That's true as long as you don't need the file name. NSImageView
doesn't remember it.
andy
--
"He was addicted to life. But we cured him"
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Tried it out at home. Hmmm, the dragged image just jumps back into
Finder, and no picture is shown. There must be something that I have
missed.
Ivan