Try the search, it's linked to some great forums

Tuesday, July 5, 2011

NSLog debugger statements - proper use of;

Use these # statements for NSLog debugger statements so that they DON'T execute on final apps;
#ifdef DEBUG
    NSLog(@"Setup popover should display %@",  anyObject);
#endif

The %@ displays the name (actually descriptor) of anyObject object.  Good for troubleshooting!