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:
For os_log use
os_log
os_log("results in true/false: %{bool}d", myBool) os_log("results in YES/NO: %{BOOL}d", myBool)
If you are on the latest OS, you can also use string interpolation. For more info look at Format Custom Values in Message Strings