emeus
emeus copied to clipboard
misleading comment
trafficstars
add_layout_stays has a comment that says: /* Add two required stay constraints for the top left corner */ but looking at the code:
- it also creates stay constraints for width and height
- it creates weak constraints, not required ones
Who is right, the comment or the code ?
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