• 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: NSFileManager and Resource Forks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSFileManager and Resource Forks


  • Subject: Re: NSFileManager and Resource Forks
  • From: email@hidden
  • Date: Wed, 27 Oct 2010 09:17:40 -0600

Thanks Charles.

On Oct 27, 2010, at 9:13 AM, Charles Srstka wrote:

On Oct 26, 2010, at 9:26 PM, email@hidden wrote:

Is there a way to write a resource fork for a file at a path?

If you want to read/write individual resources, you’ll have to use the Carbon Resource Manager. However, if you want to read/write the resource map directly to/from the file, you can do that with NSFileManager by appending “/..namedfork/rsrc” to the end of the pathname.


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


References: 
 >Re: NSFileManager and Resource Forks (From: Charles Srstka <email@hidden>)

  • Prev by Date: RE: custom outline view
  • Next by Date: Re: Thread not registered mystery under GC
  • Previous by thread: Re: NSFileManager and Resource Forks
  • Next by thread: Re: NSFileManager and Resource Forks
  • Index(es):
    • Date
    • Thread