• 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: finder file size
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: finder file size


  • Subject: Re: finder file size
  • From: "Gerriet M. Denkmann" <email@hidden>
  • Date: Thu, 9 Apr 2009 07:51:15 +0700


On 9 Apr 2009, at 02:03, "Sean McBride" <email@hidden> wrote:

On 4/7/09 9:04 PM, Jo Phils said:

As for not using Carbon I suppose there's no reason I can't use it. I
was just thinking with Finder going away from Carbon and since I'm just
learning Cocoa I was trying to avoid it if I could. But if it's the
best way I can use it...

Carbon is an overloaded term, it means many things all at once.

Yes. This has confused me a lot.

I would propose to use only the term "Carbon application" as defined in:

"Carbon application" ::= app whose main.c file is very big (more than 5000 characters) and contains InstallApplicationEventHandler().

as opposed to:
"Cocoa application" ::= app with a very small main.m (less than 100 characters) which contains NSApplicationMain().


And NOT to use the term "Carbon" (other than in "Carbon application"), but to use the term "C-function" instead.

Like:
"To get the file size one can use some methods in NSFileManager, or, if one needs more detailed information (e.g. physical size, sizes of resource fork), one can use the C-functions documented in the File Manager Reference (defined in Files.h), which are part of the CoreServices.framework."



To give an example of my confusion about the term "Carbon": The aforementioned "File Manager Reference" contains this sentence: "In Carbon, this name must be a leaf name; the name cannot contain a semicolon."


Or: "the Carbon File Manager does not return the number of files in this field"

Neither of these two sentences makes any sense for me.


A somehow unrelated question:
What would be a rational reason to create a new "Carbon application" today?



Kind regards,

Gerriet.


P.S. Does anyone have a link to the official Apple definition of "Carbon application" ?


_______________________________________________

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: finder file size
      • From: Scott Ribe <email@hidden>
    • Re: finder file size
      • From: Michael Ash <email@hidden>
    • Re: finder file size
      • From: Steve Christensen <email@hidden>
  • Prev by Date: Re: Storing bundle loaded main class instances in NSArray
  • Next by Date: Re: finder file size
  • Previous by thread: Re: finder file size
  • Next by thread: Re: finder file size
  • Index(es):
    • Date
    • Thread