Monday 26 October 2009

The Art of NSLog

Ever wanted to know how to disable debug messages in release mode? How to print out the name of the current function that is being called? The current line in the source code?

All this can be done with the help of NSLog and some macros.


No comments: