Skip to content

Instantly share code, notes, and snippets.

Created July 30, 2012 15:06
iOS view hierarchy
- (void) printViews:(UIView *)cell marker:(NSString *)s{
for(UIView *v in cell.subviews){
NSString *s2 = [s stringByAppendingString:@"*"];
NSLog(@"%@ %@", s2, v);
[self printViews:v marker:s2];
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment