Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

NSDuo

macrumors newbie
Original poster
Jan 16, 2008
18
0
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.
 
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:
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.