CFShow is NSLog for Core Foundation Types

Filed under: MacOSX, Programming, Tips
Tags: , , , ,
Vincent Gable, September 27, 2008 at 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().

No Comments »

No comments yet.

RSS feed for comments on this post.

Leave a comment

Powered by WordPress