Skip to content

Instantly share code, notes, and snippets.

Last active June 2, 2020 23:11
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
extension JoinViewController {
func setupViews() {
func setupPatientButton() {
patientButton.translatesAutoresizingMaskIntoConstraints = false
patientButton.setTitleColor(.systemBlue, for: .normal)
patientButton.setTitle("Patient 🤧", for: .normal)
patientButton.titleLabel?.font = .systemFont(ofSize: 32)
func setupDoctorButton() {
doctorButton.translatesAutoresizingMaskIntoConstraints = false
doctorButton.setTitleColor(.systemBlue, for: .normal)
doctorButton.setTitle("Doctor 👩‍⚕️", for: .normal)
doctorButton.titleLabel?.font = .systemFont(ofSize: 32)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment