• 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: webloc drag-and-drop
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >webloc drag-and-drop (From: Devon E Bowen <email@hidden>)

  • Prev by Date: Looking for a hidden feature to help documenting a Cocoa application
  • Next by Date: Re: webloc drag-and-drop
  • Previous by thread: webloc drag-and-drop
  • Next by thread: Re: webloc drag-and-drop
  • Index(es):
    • Date
    • Thread