Skip to content

Instantly share code, notes, and snippets.

@cardoso
Last active June 11, 2020 01:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cardoso/25b05c84f80fc3e080c8434bae826866 to your computer and use it in GitHub Desktop.
Save cardoso/25b05c84f80fc3e080c8434bae826866 to your computer and use it in GitHub Desktop.
import UIKit
extension UserViewController {
func setupViews() {
view.backgroundColor = .systemBackground
setupSupportButton()
}
func setupSupportButton() {
supportButton.image = UIImage(systemName: "exclamationmark.bubble")
navigationItem.rightBarButtonItem = supportButton
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment