Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@mayoff
Created October 8, 2014 22:49
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mayoff/85f6d7b41b6584deff94 to your computer and use it in GitHub Desktop.
Save mayoff/85f6d7b41b6584deff94 to your computer and use it in GitHub Desktop.
- (void)layoutSubviews {
[super layoutSubviews];
void objc_msgSend();
NSLog(@"%@", ((id(*)(id,SEL))objc_msgSend)(self, @selector(recursiveDescription)));
NSLog(@"hcons: %@", [self constraintsAffectingLayoutForAxis:UILayoutConstraintAxisHorizontal]);
NSLog(@"vcons: %@", [self constraintsAffectingLayoutForAxis:UILayoutConstraintAxisVertical]);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment