I\'d like to do the following in Xcode:
Find all NSLog commands without comments, and replace it with //NSLog...
In other words, I want to comment all NSLog
#ifdef RELEASE #define NSLog(...) do { } while (0) #endif
is the best way i found so far.