Last active
June 10, 2020 01:38
-
-
Save cardoso/c511a9d89d6f907d01be6691eed2cbc7 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([ | |
patientButton.centerXAnchor.constraint(equalTo: view.centerXAnchor), | |
patientButton.centerYAnchor.constraint(equalTo: view.safeAreaLayoutGuide.centerYAnchor, constant: -100), | |
doctorButton.centerXAnchor.constraint(equalTo: view.centerXAnchor), | |
doctorButton.centerYAnchor.constraint(equalTo: patientButton.centerYAnchor, constant: 100) | |
]) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment