Last active
June 11, 2020 01:33
-
-
Save cardoso/6e5b570fd838beba0a691a684c90e593 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
extension JoinViewController { | |
func setupConstraints() { | |
view.addConstraints([ | |
userButton.centerXAnchor.constraint(equalTo: view.centerXAnchor), | |
userButton.centerYAnchor.constraint(equalTo: view.safeAreaLayoutGuide.centerYAnchor, constant: -100), | |
agentButton.centerXAnchor.constraint(equalTo: view.centerXAnchor), | |
agentButton.centerYAnchor.constraint(equalTo: userButton.centerYAnchor, constant: 100) | |
]) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment