Last active
September 24, 2017 01:20
-
-
Save allgamesallfree/4f257710f512dececdb7428ab942ce2a to your computer and use it in GitHub Desktop.
CryptoTracker_InitialAPI
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
private func makeValueGETRequest(url: URL, completion: @escaping (_ value: NSNumber?) -> Void) { | |
let request = URLSession.shared.dataTask(with: url) { (data, response, error) in | |
// TODO: Get the data and return it | |
} | |
request.resume() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment