file size in cocoa

Discussion in 'Mac Programming' started by NSDuo, Jun 24, 2008.

  1. NSDuo macrumors newbie

    Jan 16, 2008
    I've looked in every cocoa development site I know of and I've searched google a hundred times, and I'm mostly getting recipes for hot cocoa as my results. Despite how good this cocoa is, it's not helping me with my problem. I need to find the size of a specific file with Objective C and I'm not sure how to do it.
  2. kpua macrumors 6502

    Jul 25, 2006
    The documentation is the first place you should turn to for questions like these.

    Check out the documentation for NSFileManager. In particular, look up the method attributesOfItemAtPath:error:

Share This Page