Objective-C extensions for debugging UIViews.
Simply plop this repo into your project, and you should be good to go.
UIView *view = [[UIView alloc] init];
[view giveBorder]; // give the view a randomly colored 1px border
[view borderSubviews]; // random-color borders all subviews