• 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: Thu, 22 May 2008 01:49:51 -0500

On May 22, 2008, at 1:40 AM, Jens Alfke wrote:


On 21 May '08, at 10:50 PM, Charles Srstka wrote:

What becomes the purpose of the Carbon File Manager, anyway? Cocoa's already got a file manager. And yet even after seven years, with all the new APIs, new language features, and new paradigms that have been added to Cocoa, its file manager still has absolutely no support for forks or anything non-path based.

It's not Cocoa's goal to provide Objective-C APIs to every single feature of the system, just to the most common ones that are used in applications. If you compare <Files.h> with NSFileManager, it's like night and day — the former is an enormous API (even if you filter out the old deprecated functions) that provides a lot of functionality that isn't present in the latter. And vital functionality too, for the OS as a whole, even if most apps don't need it.

Is it really vital functionality, though? Resource forks have been deprecated for some time now, and FSRefs, while useful and well-liked by many users, don't really seem to be on Apple's radar these days. FSRefs are also highly filesystem-dependent, and HFS+, the only file system (as far as I know) that currently fully supports them, is showing its age and ready to be replaced, possibly by a file system like ZFS that wasn't invented by Apple.


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: File Manager and FSRefs [was: creating a resource fork and writing raw bytes to it]
      • From: Jens Alfke <email@hidden>
    • Re: creating a resource fork and writing raw bytes to it
      • From: Shawn Erickson <email@hidden>
    • 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>)
 >Re: creating a resource fork and writing raw bytes to it (From: Charles Srstka <email@hidden>)
 >Re: creating a resource fork and writing raw bytes to it (From: Mike Fischer <email@hidden>)
 >Re: creating a resource fork and writing raw bytes to it (From: Charles Srstka <email@hidden>)
 >Re: creating a resource fork and writing raw bytes to it (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: Moving SplitView Divider Position
  • Next by Date: Re: fundamental question: how do I call controller methods from other classes?
  • 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