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

misleading comment #33

Open
matthiasclasen opened this issue Nov 4, 2017 · 1 comment
Open

misleading comment #33

matthiasclasen opened this issue Nov 4, 2017 · 1 comment

Comments

@matthiasclasen
Copy link

add_layout_stays has a comment that says: /* Add two required stay constraints for the top left corner */
but looking at the code:

  1. it also creates stay constraints for width and height
  2. it creates weak constraints, not required ones

Who is right, the comment or the code ?

@matthiasclasen
Copy link
Author

looking at the git history, the comment seems to be a leftover from the initial setup, and hasn't been kept up-to-date with later changes

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

No branches or pull requests

1 participant