Created
May 14, 2019 07:39
-
-
Save Mintri1199/e9b9c259337d0121248ef25518302524 to your computer and use it in GitHub Desktop.
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
// New network call | |
fileprivate func callKeywordApi() { | |
NetworkManager().newGetKeywords { (result) in | |
switch result { | |
case .success(let keywords): | |
self.listOfKeywords = keywords | |
case .failure(let error): | |
print(error.localizedDescription) | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment