NSLog BOOL (caveman debuggin’)
- 2 August, 2011 -
- Debug, Objective C -
- Tags :
- 0 Comments
Often times, if you absolutly have to debug using the console, it is nice to at least make the output more legible:
1 | NSlog(@"The Coffee is hot : %@",(coffee.isHot ? @"YES" : @"NO")); |
output – “The Coffee is hot : YES”