• 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: NSURLPboardType broken for dropping files in Panther...?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >NSURLPboardType broken for dropping files in Panther...? (From: Rob In der Maur <email@hidden>)
 >Re: NSURLPboardType broken for dropping files in Panther...? (From: Kurt Marek <email@hidden>)
 >Re: NSURLPboardType broken for dropping files in Panther...? (From: mmalcolm crawford <email@hidden>)
 >Re: NSURLPboardType broken for dropping files in Panther...? (From: Kurt Marek <email@hidden>)
 >Re: NSURLPboardType broken for dropping files in Panther...? (From: mmalcolm crawford <email@hidden>)

  • Prev by Date: KVC to-many relationships
  • Next by Date: Re: Detecting login/logout?
  • Previous by thread: Re: NSURLPboardType broken for dropping files in Panther...?
  • Next by thread: vout automatically draws to screen??
  • Index(es):
    • Date
    • Thread