Skip to content

Instantly share code, notes, and snippets.

@jeksys
Created October 6, 2011 18:55
Show Gist options
  • Save jeksys/1268284 to your computer and use it in GitHub Desktop.
Save jeksys/1268284 to your computer and use it in GitHub Desktop.
Log GCRect and GCPoint
#define NSLogFrame(description,aFrame) NSLog(@"%@ - {%0.0f:%0.0f}{%0.0f:%0.0f}", description, aFrame.origin.x, aFrame.origin.y, aFrame.size.width, aFrame.size.height);
#define NSLogPoint(description,aFrame) NSLog(@"%@ - {%0.0f:%0.0f}{%0.0f:%0.0f}", description, aFrame.origin.x, aFrame.origin.y, aFrame.size.width, aFrame.size.height);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment