Re: Accepting files dragged from iTunes in a Cocoa app
Re: Accepting files dragged from iTunes in a Cocoa app
- Subject: Re: Accepting files dragged from iTunes in a Cocoa app
- From: email@hidden (Stefan Haller)
- Date: Wed, 10 Sep 2008 18:02:08 +0200
Gregory Weston <email@hidden> wrote:
> Stefan Haller wrote:
>
> > In a Carbon application I solved the problem by handling the
> > kDragPromisedFlavorFindFile flavor, which worked quite well. How do I
> > do this in a Cocoa app though? I can't find any NS*PboardType that
> > seems to relate to it.
>
> I think you want to have a look at Tech Note 1085 <http://
> developer.apple.com/technotes/tn/tn1085.html>. It looks like iTunes
> is mimics the behavior of Find File described in there.
I'm pretty familiar with the mechanisms from that tech note; I just
don't know how to do this in *Cocoa*; that's why I was posting to this
list, not to carbon-dev.
Best,
Stefan
--
Stefan Haller
Berlin, Germany
http://www.haller-berlin.de/
_______________________________________________
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