Created
April 20, 2014 23:54
-
-
Save mdznr/11128485 to your computer and use it in GitHub Desktop.
Some quick additions to UIViewAutoresizing to make creating flexible dimensions and flexible margins easier.
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
#define UIViewAutoresizingFlexibleDimensions (UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight) | |
#define UIViewAutoresizingFlexibleMargins (UIViewAutoresizingFlexibleTopMargin | UIViewAutoresizingFlexibleBottomMargin | UIViewAutoresizingFlexibleLeftMargin | UIViewAutoresizingFlexibleRightMargin) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment