Taking advantage of NSLog

I’ve recently started developing with the iPhone SDK, and have always utilized console output for debug output.  However, with XCode, the Console is constantly being littered with messages about garbage collection.

[code]Xcode(19838,0xb0103000) malloc: free_garbage: garbage ptr = 0x208ca10, has non-zero refcount = 1[/code]

Because of this, my Console is almost useless and I have to add extra stuff to my output messages to find them easier (ie; appending 5-10 asterix’s).  After eventually becoming fed up with this, I started looking around and found this great blog post.  The author of 0xced wrote an XCode plugin that basically tells it to ‘shut up’.  Works great, and my Console is now usable.  Thanks again to

Leave a Reply