Created
April 12, 2015 14:19
-
-
Save Baekjoon/2d87ef29a0fdeda56690 to your computer and use it in GitHub Desktop.
ssodam-login-call
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
loginAlertController.addAction(UIAlertAction(title: "로그인", style: UIAlertActionStyle.Default, handler: { (alertAction) -> Void in | |
if let textFields = loginAlertController.textFields as? [UITextField] { | |
var username = textFields[0].text; | |
var password = textFields[1].text; | |
self.login(username: username, password: password); | |
} | |
})) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment