Cocoa: What was I doing again?

It is very easy to loose context of what is going on in your debug output. I like the following:

NSLog(@"%@ received %@", self, NSStringFromSelector(_cmd));

Comments

blog comments powered by Disqus
Fork me on GitHub