MMRegistrationViewController Class Reference
| Inherits from | UITableViewController |
| Conforms to | MMRegistrationPopoverDelegate UIPopoverControllerDelegate UITextFieldDelegate |
| Declared in | MMRegistrationViewController.h MMRegistrationViewController.m |
Overview
This view allows a user to provide additional information for their profile.
We provide the user with options to fill in their city, gender, birthday.
Tasks
Other Methods
-
emailFieldproperty -
passwordFieldproperty -
confirmPasswordFieldproperty -
firstNameFieldproperty -
lastNameFieldproperty -
cityFieldproperty -
provinceFieldproperty -
genderFieldproperty -
birthdayFieldproperty -
scrollViewproperty -
activeFieldproperty -
locationPopoverControllerproperty -
cityPopoverViewControllerproperty -
provincePopoverViewControllerproperty -
genderPopoverViewControllerproperty -
birthdayPopoverViewControllerproperty -
userProfileproperty -
validationManagerproperty -
userNameValidatorproperty -
– unwindToLoginScreen: -
– next: -
– getPopoverViewControllerForTextField: -
– getPopoverViewSizeForTextField:
Other Methods
Properties
activeField
- Current selected UITextField
@property (nonatomic, weak) IBOutlet UITextField *activeFieldDeclared In
MMRegistrationViewController.hbirthdayField
- Users chosen birthday textfield
@property (nonatomic, weak) IBOutlet UITextField *birthdayFieldDeclared In
MMRegistrationViewController.hbirthdayPopoverViewController
- Birthday Popover
@property (nonatomic, strong) MMRegistrationPopoverViewController *birthdayPopoverViewControllerDeclared In
MMRegistrationViewController.hcityField
- Users chosen city textfield
@property (nonatomic, weak) IBOutlet UITextField *cityFieldDeclared In
MMRegistrationViewController.hcityPopoverViewController
- City Popover
@property (nonatomic, strong) MMRegistrationPopoverViewController *cityPopoverViewControllerDeclared In
MMRegistrationViewController.hconfirmPasswordField
- Users chosen password confirm textfield
@property (nonatomic, weak) IBOutlet UITextField *confirmPasswordFieldDeclared In
MMRegistrationViewController.hemailField
- Users chosen email textfield
@property (nonatomic, weak) IBOutlet UITextField *emailFieldDeclared In
MMRegistrationViewController.hfirstNameField
- Users chosen first name textfield
@property (nonatomic, weak) IBOutlet UITextField *firstNameFieldDeclared In
MMRegistrationViewController.hgenderField
- Users chosen gender textfield
@property (nonatomic, weak) IBOutlet UITextField *genderFieldDeclared In
MMRegistrationViewController.hgenderPopoverViewController
- Gener Popover
@property (nonatomic, strong) MMRegistrationPopoverViewController *genderPopoverViewControllerDeclared In
MMRegistrationViewController.hlastNameField
- Users chosen last name textfield
@property (nonatomic, weak) IBOutlet UITextField *lastNameFieldDeclared In
MMRegistrationViewController.hlocationPopoverController
- The UIPopover controller
@property (nonatomic, strong) UIPopoverController *locationPopoverControllerDeclared In
MMRegistrationViewController.hpasswordField
- Users chosen password textfield
@property (nonatomic, weak) IBOutlet UITextField *passwordFieldDeclared In
MMRegistrationViewController.hprovinceField
- Users chosen province textfield
@property (nonatomic, weak) IBOutlet UITextField *provinceFieldDeclared In
MMRegistrationViewController.hprovincePopoverViewController
- Province Popover
@property (nonatomic, strong) MMRegistrationPopoverViewController *provincePopoverViewControllerDeclared In
MMRegistrationViewController.hscrollView
- The scroll view to move the view up for the keyboard
@property (nonatomic, weak) IBOutlet UIScrollView *scrollViewDeclared In
MMRegistrationViewController.huserNameValidator
- used to check if the username is valid, and avaliable.
@property (nonatomic, strong) MMUserNameValidator *userNameValidatorDeclared In
MMRegistrationViewController.huserProfile
- The current user that we are “creating”
@property (readwrite) MMUser *userProfileDeclared In
MMRegistrationViewController.hvalidationManager
- Validates the form (MMUser)
@property (nonatomic, strong) MMValidationManager *validationManagerDeclared In
MMRegistrationViewController.hInstance Methods
didSelectBirthday:
- Send the selected value of the birthday from
- (void)didSelectBirthday:(NSDate *)birthdayDiscussion
the popover view controller to the parent
view controller.
*
@param birthday The date value of the birthday
that was selected.
Declared In
MMRegistrationPopoverDelegate.hdidSelectCity:
- Send the selected value of the city from
- (void)didSelectCity:(NSString *)cityDiscussion
the popover view controller to the parent
view controller.
*
- @param city The city that was selected.
Declared In
MMRegistrationPopoverDelegate.hdidSelectGender:
- Send the selected gender from
- (void)didSelectGender:(NSString *)genderDiscussion
the popover view controller to the parent
view controller.
*
- @param gender The gender that was selected.
Declared In
MMRegistrationPopoverDelegate.hdidSelectProvince:
- Send the selected value of the province from
- (void)didSelectProvince:(NSString *)provinceDiscussion
the popover view controller to the parent
view controller.
*
- @param province The province that was selected.
Declared In
MMRegistrationPopoverDelegate.hgetPopoverViewControllerForTextField:
- Returns the popover for the selected textfield, if needed
- (id)getPopoverViewControllerForTextField:(UITextField *)textFieldDiscussion
*
- @param textField UITextField
*
- @return Returns the view controller for the UITextField
Declared In
MMRegistrationViewController.hgetPopoverViewSizeForTextField:
- Returns the size needed for the popover
- (CGSize)getPopoverViewSizeForTextField:(UITextField *)textFieldDiscussion
*
- @param textField UITextField
*
- @return CGSize needed to show all content.
Declared In
MMRegistrationViewController.h