Tuesday, October 12, 2010

Remove NSLog from release builds

Add the following to project's .pch

#ifndef __OPTIMIZE__
    #define NSLog(...) NSLog(__VA_ARGS__)
#else
    #define NSLog(...) {}
#endif


More info

No comments:

Post a Comment