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:
There's no format specifier that I know of. You can do this:
NSLog(@"You got: %@", (booleanValue ? @"YES" : @"NO"));
Alternately, you could write a little function or macro using the logic above that takes a BOOL and returns the appropriate string. You can then use that function in your log statements.