Last active
October 15, 2019 08:09
-
-
Save drrost/e4dc678d24cf334be623df4176b07d9d to your computer and use it in GitHub Desktop.
ViewController with library call import
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
import UIKit | |
import Networking // 1 | |
class ViewController: UIViewController { | |
let authService = AuthenticationService() // 2 | |
override func viewDidLoad() { | |
super.viewDidLoad() | |
let token = authService.login("user", "S7eo#0-2K&b") // 3 | |
print("token: \(token)") // 4 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment