Skip to content

Instantly share code, notes, and snippets.

@IsaAliev
Created February 23, 2018 19:14
Show Gist options
  • Save IsaAliev/90051c2bbda96a7ff3c35f182905624d to your computer and use it in GitHub Desktop.
Save IsaAliev/90051c2bbda96a7ff3c35f182905624d to your computer and use it in GitHub Desktop.
import UIKit
class ViewController: UIViewController {
let ghReposService: ReposGettable = ReposAPI()
override func viewDidLoad() {
super.viewDidLoad()
ghReposService.getRepos { (repos) in
print(repos)
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment