I have an array full of NSString's in hex and what to create a char array from them. I'm not sure how this can be done.
So I have an array
NSArray *myArray = [NSArray arrayWithObjects:@"0xAA", @"0xBB", @"0xCC", nil];
from this I want to create a c char array, something similar to this
const unsigned char testing[] = { 0xAA, 0xBB, 0xCC };
Any advice would be appreciated
Thanks