Inherits from UIViewController
Declared in ProfileViewController.h
ProfileViewController.m

Properties

controls

@property (weak, nonatomic) IBOutlet UISwitch *controls

group

@property (weak, nonatomic) IBOutlet UILabel *group

groupPicker

@property (weak, nonatomic) IBOutlet UIPickerView *groupPicker

ignoreGoingAway

@property (assign, nonatomic) BOOL ignoreGoingAway

name

@property (weak, nonatomic) IBOutlet UILabel *name

password

@property (weak, nonatomic) IBOutlet UITextField *password

setControlsButton

@property (weak, nonatomic) IBOutlet UIButton *setControlsButton

user

@property (nonatomic, strong) UserModel *user

workingControls

@property (nonatomic, strong) ParentalControlModel *workingControls

workingGroups

@property (strong, nonatomic) NSMutableArray *workingGroups

Instance Methods

alertView:clickedButtonAtIndex:

Standard iOS Alert Box button handlers

- (void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex

Parameters

alertView

The Alert View

buttonIndex

Index to the button that was clicked

Declared In

ProfileViewController.m

numberOfComponentsInPickerView:

Standard delegate for PickerView for number of components in the picker

- (NSInteger)numberOfComponentsInPickerView:(UIPickerView *)thepickerView

Parameters

thepickerView

The PickerView

Return Value

Return count of Components

Declared In

ProfileViewController.m

onAddGroupButtonClick:

Handler for Add Group Button

- (IBAction)onAddGroupButtonClick:(id)sender

Parameters

sender

Sender of the event

Declared In

ProfileViewController.m

onClickHelp:

Handler for the Help button

- (IBAction)onClickHelp:(id)sender

Parameters

sender

Sender of the event

Declared In

ProfileViewController.m

onClickSave:

Handler for the Save button

- (IBAction)onClickSave:(id)sender

Parameters

sender

Sender of the event

Declared In

ProfileViewController.m

onControlsClick:

Handler for Controls Switch

- (IBAction)onControlsClick:(id)sender

Parameters

sender

Sender of the event

Declared In

ProfileViewController.m

onSetControlsClick:

Handler for Set Controls Button

- (IBAction)onSetControlsClick:(id)sender

Parameters

sender

Sender of the event

Declared In

ProfileViewController.m

onViewGroupsButtonClick:

Handler for View Groups Button

- (IBAction)onViewGroupsButtonClick:(id)sender

Parameters

sender

Sender of the event

Declared In

ProfileViewController.m

pickerView:numberOfRowsInComponent:

Standard delegate for PickerView for number of rows in the picker

- (NSInteger)pickerView:(UIPickerView *)thepickerView numberOfRowsInComponent:(NSInteger)component

Parameters

thepickerView

The PickerView

component

The PickerView Component

Return Value

Return count of rows

Declared In

ProfileViewController.m

pickerView:titleForRow:forComponent:

Standard delegate for PickerView to display rows in the picker

- (NSString *)pickerView:(UIPickerView *)pickerView titleForRow:(NSInteger)row forComponent:(NSInteger)component

Parameters

pickerView

The PickerView

row

The row in the PickerView

component

THe PickerView Component

Return Value

Return row display content

Declared In

ProfileViewController.m

textFieldShouldReturn:

Standard iOS delegate for keyboard handling in text boxes.

- (BOOL)textFieldShouldReturn:(UITextField *)textField

Return Value

<#return value description#>

Declared In

ProfileViewController.m

touchesBegan:withEvent:

Standard iOS delegate for dismissing keyboard in text boxes.

- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event

Return Value

<#return value description#>

Declared In

ProfileViewController.m

viewDidLoad

Load and initialize the Controller for the Update Profile View

- (void)viewDidLoad

Declared In

ProfileViewController.m

viewWillAppear:

Standard iOS delegate when this view is displayed.

- (void)viewWillAppear:(BOOL)animated

Parameters

animated

animated If animated view

Declared In

ProfileViewController.m

viewWillDisappear:

Standard iOS delegate when this view is disappearing.

- (void)viewWillDisappear:(BOOL)animated

Parameters

animated

animated If animated view

Declared In

ProfileViewController.m