emeus icon indicating copy to clipboard operation
emeus copied to clipboard

misleading comment

Open matthiasclasen opened this issue 8 years ago • 1 comments
trafficstars

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 avatar Nov 04 '17 18:11 matthiasclasen

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

matthiasclasen avatar Nov 05 '17 13:11 matthiasclasen