Created
July 30, 2012 15:06
iOS view hierarchy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (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