• 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: Michael Ash <email@hidden>
  • Date: Tue, 7 Apr 2009 12:32:55 -0400

On Tue, Apr 7, 2009 at 11:09 AM, Jo Phils <email@hidden> wrote:
> Hello,
>
> My apologies if this has been answered before but isn't there a simple way to get the file size as it shows under Size in Finder without using Carbon and without enumerating the directory?  My understanding is NSFileSize will not do it?

Can I ask why "without using Carbon" is a requirement? Using Carbon
won't destroy your program and won't give you a strange disease. It
won't even hurt your 64-bit compatibility; the only part of Carbon
that went away for 64-bit is HIToolbox, the GUI bits. If it does what
you want in a reasonable fashion then you ought to use it.

Mike
_______________________________________________

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: Jean-Daniel Dupas <email@hidden>
References: 
 >finder file size (From: Jo Phils <email@hidden>)

  • Prev by Date: Re: Invalid strings
  • Next by Date: Floating window on top of everything
  • Previous by thread: Re: finder file size
  • Next by thread: Re: finder file size
  • Index(es):
    • Date
    • Thread