Given the example of an array like this:
idx = [ 0xe, 0x3, 0x6, 0x8, 0x2 ]
I want to get an integer and string representation of each of
Once you have an NSString you can just use the methods in that class, like intValue or longValue or floatValue
To get the decimal and hexadecimal equivalents, you would do:
int number = 0xe; // or 0x3, 0x6, 0x8, 0x2
NSString * decimalString = [NSString stringWithFormat:@"%d", number];
NSString * hexString = [NSString stringWithFormat:@"%x", number];