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
| // If you have a userController that manages a view for logging-in/creating users | |
| - (IBAction)loginUser:(id)sender | |
| { | |
| // Log in the user and notify this class that logging-in completed | |
| [KCSUser loginWithUsername:self.username.text password:self.username.password withDelegate:self]; | |
| } | |
| - (IBAction)createUser:(id)sender | |
| { |
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
| ///--------------------------------------------------------------------------------------- | |
| /// @name Creating Users | |
| ///--------------------------------------------------------------------------------------- | |
| + (KCSUser *)userWithUsername: (NSString *)username password: (NSString *)password; | |
| + (void)checkForExistingUsernameWithBlock: (KCSUsernameCheckBlock)checkBlock; |
NewerOlder