Last active
June 5, 2020 03:55
-
-
Save vedon/682517f288520d469f5c26c6d2b875ec to your computer and use it in GitHub Desktop.
This file contains hidden or 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
typealias Login = (_ name: String, _ password: String) -> Void | |
class LoginViewController { | |
func login(_ login: Login, name: String, password: String) { | |
... | |
login(name, password) | |
... | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment