Re: webloc drag-and-drop
Re: webloc drag-and-drop
- Subject: Re: webloc drag-and-drop
- From: Nick Zitzmann <email@hidden>
- Date: Tue, 19 Jul 2005 14:38:05 -0600
On Jul 19, 2005, at 02:09 PM, Devon E Bowen wrote:
I'm trying to allow my app to accept drag-and-dropped URLs. I set
up the "Document Type" info and I get the path of the webloc file
delivered to my application:openFile: method. But the URL seems to
be saved in the resource fork of this file and not in the file
itself. How can I open the resource fork in Cocoa and access the
hidden URL inside it?
There are no built-in classes for accessing resource forks. You could
use Carbon or a third-party class that uses Carbon, e.g.
NDResourceFork: <http://homepage.mac.com/nathan_day/pages/
source_frames.html>
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden