I've decided it would be easiest if I replace my NSLog calls with another function....
+(void)logThis:(NSString*)line{
#ifdef DEBUG
NSLog(line);
#endif
}
However, I'm going to have to replace 215 NSLog calls, it would be a lot quicker if my function accepted multiple paramaters like NSLog, then all I would have to do is find and replace NSLog with my function name / class, then the extra bracket to a square bracket.
Can anyone tell me now I can add such parameter acceptance into my function ?
OR a quicker / better solution, which wouldn't mean adding more lines of code instead of NSLog ?