I want to be able to debug C structures without having to explicitly type every property that they consist of.
i.e. I want to be able to do something like this:
CGPoint cgPoint = CGPointMake(0,0); NSLog(@"%@",cgPoint);
Obviously the '%@' won't work, hence the question.
Since Stack Overflow’s broken RSS just resurrected this question for me, here’s my almost-general solution: JAValueToString
This lets you write JA_DUMP(cgPoint) and get cgPoint = {0, 0} logged.
JA_DUMP(cgPoint)
cgPoint = {0, 0}