I want to do something like this:
NSLog(@\"You got: %x\", booleanValue);
where x is the specifier. But I can\'t find one! I want to avoid:
You can cast it to an int and use %d:
%d
NSLog(@"You got: %d", (int)booleanValue);
Or use something like this:
NSLog(@"You got: %@", booleanValue ? @"YES" : @"NO");