Created
December 28, 2016 21:23
-
-
Save wh1pch81n/200119e6c0cef6978f9b050457dcf3b0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// DHConstraintBuilder | |
//1 | |
view_cb.addConstraints(() |-^ greenView_cb ^-^ 15.5 ^-^ redView_cb ^-| ()).H | |
//2 | |
view_cb.addConstraints(() |-^ blueView_cb ^-| ()).H | |
//3 | |
view_cb.addConstraints(() |-^ greenView_cb ^-^ blueView_cb ^-| ()).V | |
//4 | |
view_cb.addConstraints(() |-^ redView_cb ^-^ blueView_cb).V | |
//5 | |
view_cb.addConstraints(greenView_cb.lengthEqual(to: redView_cb)).H | |
//6 | |
view_cb.addConstraints(greenView_cb.lengthEqual(to: blueView_cb)).V |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment