Last active
May 6, 2017 15:07
-
-
Save denkeni/3e0f398983738a7851e87e28227d515f to your computer and use it in GitHub Desktop.
Auto Layout Programmatically 3-3
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
let subview = UIStackView() | |
subview.axis = .horizontal | |
subview.alignment = .center | |
subview.distribution = .equalSpacing | |
subview.addArrangedSubview(arrangedSubview1) | |
subview.addArrangedSubview(arrangedSubview2) | |
subview.addArrangedSubview(arrangedSubview3) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment