Created
January 16, 2011 23:11
-
-
Save mike3k/782248 to your computer and use it in GitHub Desktop.
MGSimpleNote login
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
- (IBAction)Login:(id)sender | |
{ | |
MGSimplenoteLogin *login = [[MGSimplenoteLogin alloc] init]; | |
loginStatus.text = @"Logging in..."; | |
login.email = self.userName.text; | |
login.password = self.password.text; | |
[login addObserver:self forSelector:@selector(login) success:@selector(loginSucceeded:) failure:@selector(loginFailed:)]; | |
[login login]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment