Sample code for 30+ languages & platforms
Objective-C

Compute CRC32 of a File

Calculates the CRC32 of a file's contents and returns the 32-bit CRC as a hex string.

Chilkat Objective-C Downloads

Objective-C
#import <CkoZipCrc.h>
#import <NSString.h>

CkoZipCrc *zipCrc = [[CkoZipCrc alloc] init];
//  Use a relative for absolute path to the file..
int crc = [zipCrc FileCrc: @"qa_data/hamlet.xml"];
NSString *hexStr = [zipCrc ToHex: crc];
NSLog(@"%@",hexStr);