Vincent Gable

September 27, 2008

CFShow is NSLog for Core Foundation Types

Filed under: MacOSX, Programming, Tips — Tags: , , , , — Vincent Gable @ 7:44 pm

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().

Powered by WordPress