Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aspect fit example #148

Merged
merged 3 commits into from
Jan 19, 2015
Merged

Aspect fit example #148

merged 3 commits into from
Jan 19, 2015

Conversation

kouky
Copy link
Contributor

@kouky kouky commented Jan 19, 2015

Adds an aspect fit iOS example. An implementation of a very detailed interface builder stackoverflow answer.

Also addresses issue #131 which requests an example on aspect ratio and #145 which regards using multipliedBy.

@cloudkite
Copy link
Contributor

Nice work! thanks 👍

cloudkite added a commit that referenced this pull request Jan 19, 2015
@cloudkite cloudkite merged commit 114969c into SnapKit:master Jan 19, 2015
@kouky kouky deleted the aspect-fit-example branch January 19, 2015 22:15
@sunnycn2013
Copy link

how to use UILayoutPriority ?

@kouky
Copy link
Contributor Author

kouky commented Jan 26, 2015

@ccguo that's correct, it includes an example of using constraint priorities. From the source code you can see that MASLayoutPriority is just a typedef for UILayoutPriority

https://github.com/Masonry/Masonry/blob/master/Masonry/MASUtilities.h#L17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants