Why we using #ifdef DEBUG in iphone -


thanks sending me answer in advance....i m beginner in iphone.

i excited why using #ifdef debug in iphone.also wanting information how use , limitation.

a code in

#ifdef debug //some code #endif 

is executed in debug builds. why use it? because can add logging debug builds in order information performance or else want know code.


Comments

Popular posts from this blog

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

php - PHPDoc: @return void necessary? -

c++ - Convert big endian to little endian when reading from a binary file -