• 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: Jens Alfke <email@hidden>
  • Date: Wed, 21 May 2008 23:40:00 -0700


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.


Similarly for LaunchServices vs NSWorkspace, or Quartz vs NSGraphicsContext/NSBezierPath, or NSStream vs CFStream vs BSD sockets. In fact it's not really "vs". They both exist, and you use whichever you need. Neither level is going away.

—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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: Charles Srstka <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>)

  • Prev by Date: Re: ObjC Question - labeled arguments
  • Next by Date: Re: Moving SplitView Divider Position
  • 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