Skip to content

Instantly share code, notes, and snippets.

@inekipelov
Created February 17, 2021 11:44
Show Gist options
  • Save inekipelov/1e44be9cfbb0c0c0b15fa47e9dcca5c3 to your computer and use it in GitHub Desktop.
Save inekipelov/1e44be9cfbb0c0c0b15fa47e9dcca5c3 to your computer and use it in GitHub Desktop.
H: (Horizontal) //horizontal direction
V: (Vertical) //vertical direction
| (pipe) //superview
- (dash) //standard spacing (generally 8 points)
[] (brackets) //name of the object (uilabel, unbutton, uiview, etc.)
() (parentheses) //size of the object
== equal widths //can be omitted
-16- non standard spacing (16 points)
<= less than or equal to
>= greater than or equal to
@250 priority of the constraint //can have any value between 0 and 1000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment