Skip to content
This repository has been archived by the owner on Oct 21, 2019. It is now read-only.

Height should be optional when setting a min height #3

Closed
jshier opened this issue Jun 16, 2014 · 1 comment
Closed

Height should be optional when setting a min height #3

jshier opened this issue Jun 16, 2014 · 1 comment

Comments

@jshier
Copy link

jshier commented Jun 16, 2014

Right now an assertion will fire if there's no NSLayoutRelationEqual relation on a height constraint, even if there's a NSLayoutRelationGreaterThanOrEqual relation in place. It seems unnecessary to have both, as the equal relation could be created on the fly. I was stuck for a little while until I realized that it was a requirement. At the very least it should be made clearer in the documentation, as explicit height constraints aren't always required for a fully constrained layout.

@MatejBalantic
Copy link
Owner

This library is no longer maintained and is being archived.

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

No branches or pull requests

2 participants