Last active
March 11, 2016 10:24
-
-
Save mickeyl/890e370a51b767f980b0 to your computer and use it in GitHub Desktop.
Poor man's UIStackView :)
This file contains hidden or 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
-(CGSize)intrinsicContentSize | |
{ | |
if ( _zeroIntrinsicContentSizeIfHidden && self.hidden ) | |
{ | |
return CGSizeZero; | |
} | |
return [super intrinsicContentSize]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment