I have a path to file contained in an NSString. Is there a method to get its file size?
Following the answer from Oded Ben Dov, I would rather use an object here:
NSNumber * mySize = [NSNumber numberWithUnsignedLongLong:[[[NSFileManager defaultManager] attributesOfItemAtPath:someFilePath error:nil] fileSize]];