Created
December 20, 2019 07:51
-
-
Save sTinGe/7ca886f4e1d4d1639d65a2295336d41d to your computer and use it in GitHub Desktop.
This file contains 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
// add constraints through Autolayout Visual Format Language | |
view.addConstraints( | |
NSLayoutConstraint.constraints( | |
withVisualFormat: "H:|-50-[button]", | |
options: .alignAllTop, | |
metrics: nil, | |
views: objects | |
) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment