Is there a way to print value of Boolean flag in NSLog?
Here is how you can do it:
BOOL flag = NO; NSLog(flag ? @"YES" : @"NO");