#import <LoginSignUp.h>
Instance Methods | |
| (BOOL) | - validateEmail: |
| (void) | - standardLogin:withPassword:withCreated: |
| (IBAction) | - unwindToLoginScreen: |
Properties | |
| IBOutlet UIView * | emailView |
| The view for selecting email login/signup. | |
| IBOutlet UIView * | optionsView |
| The view for selecting which login/signup. | |
| IBOutlet UITextField * | emailTextField |
| The field where users enter email. | |
| IBOutlet UITextField * | passwordTextField |
| The field where users enter his/her password. | |
| IBOutlet UITextField * | usernameTextField |
| Username prompt for first time users. | |
| IBOutlet UIButton * | forgotPasswordButton |
| Button that allows users to reset password when loggin in. | |
| IBOutlet FBLoginView * | myFacebookView |
The view controller for selecting whether logging in or signing up manually or with social network.
| - (void) standardLogin: | (NSString *) | ||
| withPassword: | (NSString *) | password | |
| withCreated: | (BOOL) | justCreated | |
Standard login. Will be called for a normal login including after account creation Will use data to set user defaults.
| - (IBAction) unwindToLoginScreen: | (UIStoryboardSegue *) | segue |
Allows mobility to move back to login screen.
| - (BOOL) validateEmail: | (NSString *) | candidate |
catlan stackOF http://stackoverflow.com/questions/800123/what-are-best-practices-for-validating-email-addresses-in-objective-c-for-ios-2/1149894#1149894 a regular expression that regulates what user emails can create. WILL accept crazy emails !matt$=awesome@mail.aol.biz
1.8.8