Skip to content

Instantly share code, notes, and snippets.

@vedon
Last active June 5, 2020 03:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vedon/1b8b867b2a1dabf2e5df5fe504a7594e to your computer and use it in GitHub Desktop.
Save vedon/1b8b867b2a1dabf2e5df5fe504a7594e to your computer and use it in GitHub Desktop.
class LoginViewController {
private let userSession: UserSession
init(_ userSession: UserSession) {
self.userSession = userSession
}
func login(_ userName: String, password: String) {
userSession.login(userName, password)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment