Re: NSURLPboardType broken for dropping files in Panther...?
Re: NSURLPboardType broken for dropping files in Panther...?
- Subject: Re: NSURLPboardType broken for dropping files in Panther...?
- From: Kurt Marek <email@hidden>
- Date: Tue, 4 Nov 2003 10:06:36 -0800
This example code works perfectly. Thanks to mmalc for helping out.
Note that my problem had to do with attempting to setValue withKeyPath
on the selector from the drag operation within the imageView. mmalc's
example does it by firing imageViewURLChanged in myDocument after the
imageView changes. This seems to get around whatever problem I was
having with attempting to set the value using a keyPath from within the
imageView.
Kurt
On Nov 3, 2003, at 9:27 PM, mmalcolm crawford wrote:
On Nov 3, 2003, at 7:25 PM, Kurt Marek wrote:
Thanks for the app. It doesn't work on my system running 10.3.
Dragging a file from the Finder to the imageView does nothing.
Dragging a link from Safari works great. I think NSURLPoardType for
files in the Finder is broken under Panther as was suggested by Rob.
Umm, so check for NSFilenamesPboardType (and if you get *one*, turn
that into an URL)?
<http://homepage.mac.com/mmalc/CocoaExamples/ImageURLDragAndDrop.zip>
(updated).
mmalc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.