Replaced all int data types with SInt32 (with exception of main routine).  Replaced all printf statements with NSLog.