/samples/MarkerMurder/MarkerMurder_Prefix.pch

http://github.com/route-me/route-me · Unknown · 20 lines · 14 code · 6 blank · 0 comment · 0 complexity · 4a1d67656122ee713fb5f5645e09707d MD5 · raw file

  1. //
  2. // Prefix header for all source files of the 'SampleApp' target in the 'SampleApp' project
  3. //
  4. #ifdef __OBJC__
  5. #import <Foundation/Foundation.h>
  6. #import <UIKit/UIKit.h>
  7. #if DEBUG
  8. #define RMLog(args...) NSLog( @"%@", [NSString stringWithFormat: args])
  9. #define LogMethod() NSLog(@"%s logged method call: -[%@ %s] (line %d)", _cmd, self, _cmd, __LINE__)
  10. #else
  11. #define RMLog(args...) // do nothing.
  12. #define LogMethod()
  13. #endif
  14. #endif