Files
GitHawk/Classes/View Controllers/CreateProfileViewController.swift
Dylan Lewis a3276615d5 [413] Use shared colours for standard UI components (#421)
* Update UISwitch on tint color

Align green with shared color

* Update tintColor of all UIAlertControllers

* Create factory for SFSafariViewController

* Update SFSafariViewController tint color

Only in the .configured factory

* Use SFSafariViewController factory everywhere

* Create factory for UIAlertController

* Use UIAlertController factory everywhere
2017-09-24 18:32:32 -04:00

16 lines
382 B
Swift

//
// CreateProfileViewController.swift
// Freetime
//
// Created by Ryan Nystrom on 6/29/17.
// Copyright © 2017 Ryan Nystrom. All rights reserved.
//
import UIKit
import SafariServices
func CreateProfileViewController(login: String) -> UIViewController {
let url = URL(string: "https://github.com/\(login)")!
return try! SFSafariViewController.configured(with: url)
}