• 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: creating a resource fork and writing raw bytes to it
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: creating a resource fork and writing raw bytes to it


  • Subject: Re: creating a resource fork and writing raw bytes to it
  • From: Charles Srstka <email@hidden>
  • Date: Wed, 21 May 2008 23:11:42 -0500

On May 21, 2008, at 11:11 AM, Mike Fischer wrote:

There are hacks that rely on special pathnames to access the resource fork of a file. (Something like /path/to/file/..namedfork/ rsrc) But I would not recommend using them as there is no guarantee that they will continue to work in the future (or even now in the context of Cocoa file operations). Also they might only work on certain volume formats.

I suppose I could end up eating my words, but I'd be surprised if ..namedfork/rsrc went away given that doing so would break a really huge number of applications at this point, the fact that it's currently the only way to access a resource fork from Cocoa/POSIX without using Carbon calls, and the fact that Carbon seems to be becoming deprecated these days.


Charles
_______________________________________________

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


  • Follow-Ups:
    • Re: creating a resource fork and writing raw bytes to it
      • From: Mike Fischer <email@hidden>
References: 
 >Re: creating a resource fork and writing raw bytes to it (From: Mike Fischer <email@hidden>)

  • Prev by Date: Re: Guidance for Cocoa's steep learning curve
  • Next by Date: Re: Guidance for Cocoa's steep learning curve
  • Previous by thread: Re: creating a resource fork and writing raw bytes to it
  • Next by thread: Re: creating a resource fork and writing raw bytes to it
  • Index(es):
    • Date
    • Thread