Debug oneliner
To quickly get the rect of a view add this to your .pch
#define RectLog(x) NSLog(@"%s rect: %@",#x, NSStringFromCGRect(x.frame))
Now you can do
UIView *aWellNamedView = [[UIView alloc] initWithFrame:CGRectMake(0,0,250,300)];
RectLog(aWellNamedView);
Which will print out:
aWellNamedView rect: {{0, 0}, {250, 300}}
Which is nice.