Archived: This is obsolete.
A collection of miscellaneous scripts, headers and classes that have proven to be useful.
It is invariably useful to have log statements that print only for debug builds.
Simply:
- Set up DEBUG to be defined for your project's debug configuration.
#include STDebug.h
- Use
debugLog()
just as you wouldNSLog()
. The only difference is that if DEBUG is not defined, the logging won't be used.
Convenience macros are provided to aid in printing NSIndexPath and BOOLs to the log.