add ARC support

doesn't allow Objective-C object to be within a C struct, let's just switch our problem NSString to a C string!
Use consistent integer types
Update example code to use C strings instead of ObjC strings

The ARC fix updated the struct, but not the uses in the examples.