You can follow me wherever I post comments. At least here and on NSLog();. Maybe they will add more later. or maybe I will start commenting in more places.
CFShow(coreFoundationThingy) will print out a description of coreFoundationThingy to the console. Output looks something like: {value = w:1186.000000 h:687.000000 type = kAXValueCGSizeType} If NSLog() is printing something out as an NSCFType, try CFShow().
Or: How to Make NSLog() Useful With Your Objects Say you have an archaically named NSArray that you want to inspect — it’s easy to do, since NSLog(@"The bestiary is %@", bestiary); prints out the array’s contents 2008-09-16 19:46:06.445 Tester[2678:10b] The bestiary is ( Cheetah, Pumpa, Jaguar, Pant ...
I have noticed a pattern in my Cocoa code, which I have been able to simplify. I often print out the value of a variable for debugging. 99 times out of 100, the code looks like this: NSLog(@"actionURL = %@", actionURL);, where actionURL is some variable. But using the macros, I can say LOG_ID(action ...