Inherits from UITableViewController
Conforms to MMDetailViewController
MMRegistrationPopoverDelegate
UIPopoverControllerDelegate
UITextFieldDelegate
Declared in MMAccountViewController.h
MMAccountViewController.m

Overview

Controller for the settings view

Properties

changePasswordButton

Button to update your password

@property (nonatomic, weak) IBOutlet UIButton *changePasswordButton

Declared In

MMAccountViewController.h

confirmPasswordField

Confirm New Password View

@property (nonatomic, weak) IBOutlet UITextField *confirmPasswordField

Declared In

MMAccountViewController.h

defaultCity

Default Location View

@property (nonatomic, weak) IBOutlet UITextField *defaultCity

Declared In

MMAccountViewController.h

defaultLocality

Province Field

@property (nonatomic, weak) IBOutlet UITextField *defaultLocality

Declared In

MMAccountViewController.h

emailAddressField

Email Adress field

@property (nonatomic, weak) IBOutlet UITextField *emailAddressField

Declared In

MMAccountViewController.h

givenNameField

First Name View

@property (nonatomic, weak) IBOutlet UITextField *givenNameField

Declared In

MMAccountViewController.h

locationPopoverController

Reference to the location popover controller.

@property (nonatomic, strong) UIPopoverController *locationPopoverController

Declared In

MMAccountViewController.h

navigationPaneBarButtonItem

Button to pull out list on left side when in portrait mode

@property (nonatomic, strong) UIBarButtonItem *navigationPaneBarButtonItem

Declared In

MMAccountViewController.h

surnameField

Last Name View

@property (nonatomic, weak) IBOutlet UITextField *surnameField

Declared In

MMAccountViewController.h

updateLocationButton

BUtton to change your location

@property (nonatomic, weak) IBOutlet UIButton *updateLocationButton

Declared In

MMAccountViewController.h

updatedPasswordField

New Password View

@property (nonatomic, weak) IBOutlet UITextField *updatedPasswordField

Declared In

MMAccountViewController.h

Instance Methods

didSelectCity:

  • Send the selected value of the city from
- (void)didSelectCity:(NSString *)city

Discussion

  • the popover view controller to the parent

  • view controller.

*

  • @param city The city that was selected.

Declared In

MMRegistrationPopoverDelegate.h

didSelectProvince:

  • Send the selected value of the province from
- (void)didSelectProvince:(NSString *)province

Discussion

  • the popover view controller to the parent

  • view controller.

*

  • @param province The province that was selected.

Declared In

MMRegistrationPopoverDelegate.h

logout:

Logs the current user out.

- (IBAction)logout:(id)sender

Discussion

@param sender

Declared In

MMAccountViewController.h

updateDefaultLocation:

Saves the users new locations

- (IBAction)updateDefaultLocation:(id)sender

Discussion

@param sender

Declared In

MMAccountViewController.h

updatePassword:

Saves the users new password

- (IBAction)updatePassword:(id)sender

Discussion

@param sender

Declared In

MMAccountViewController.h