AddChoiceTopicViewController Class Reference
| Inherits from | UIViewController |
| Conforms to | UIActionSheetDelegate UIPickerViewDataSource UIPickerViewDelegate |
| Declared in | AddChoiceTopicViewController.h AddChoiceTopicViewController.m |
Tasks
Other Methods
-
userproperty -
currentChoicePathproperty -
nameproperty -
shortDescriptionproperty -
longDescriptionproperty -
imageproperty -
privateproperty -
groupPretextproperty -
groupButtonproperty
Other Methods
-
– viewDidLoad -
– viewWillAppear: -
– didReceiveMemoryWarning -
– textFieldShouldReturn: -
– touchesBegan:withEvent: -
– onPasteImageClick: -
– onSelectGroupButtonClick: -
– onPrivateSwitched: -
– pickerView:titleForRow:forComponent: -
– numberOfComponentsInPickerView: -
– pickerView:numberOfRowsInComponent: -
– actionSheet:clickedButtonAtIndex: -
– onClickHelp: -
– onClickSave: -
– alertView:clickedButtonAtIndex:
Instance Methods
actionSheet:clickedButtonAtIndex:
Standard delegate to handle events from Action Sheet
- (void)actionSheet:(UIActionSheet *)actionSheet clickedButtonAtIndex:(NSInteger)buttonIndexParameters
- actionSheet
The Action Sheet
- buttonIndex
The button that was clicked
Declared In
AddChoiceTopicViewController.malertView:clickedButtonAtIndex:
Standard iOS Alert Box button handlers
- (void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndexParameters
- alertView
The Alert View
- buttonIndex
Index to the button that was clicked
Declared In
AddChoiceTopicViewController.mdidReceiveMemoryWarning
Standard iOS delegate for handling memory warnings
- (void)didReceiveMemoryWarningDeclared In
AddChoiceTopicViewController.mnumberOfComponentsInPickerView:
Standard delegate for PickerView for number of components in the picker
- (NSInteger)numberOfComponentsInPickerView:(UIPickerView *)thepickerViewParameters
- thepickerView
The PickerView
Return Value
Return count of Components
Declared In
AddChoiceTopicViewController.monClickHelp:
Handler for the Help button
- (IBAction)onClickHelp:(id)senderParameters
- sender
Sender of the event
Declared In
AddChoiceTopicViewController.monClickSave:
Handler for the Save button
- (IBAction)onClickSave:(id)senderParameters
- sender
Sender of the event
Declared In
AddChoiceTopicViewController.monPasteImageClick:
Handler for the Paste Image button
- (IBAction)onPasteImageClick:(id)senderParameters
- sender
Sender of the event
Declared In
AddChoiceTopicViewController.monPrivateSwitched:
Handler for the Private Switch
- (IBAction)onPrivateSwitched:(UISwitch *)senderParameters
- sender
Sender of the event
Declared In
AddChoiceTopicViewController.monSelectGroupButtonClick:
Handler for the Select Group button
- (IBAction)onSelectGroupButtonClick:(id)senderParameters
- sender
Sender of the event
Declared In
AddChoiceTopicViewController.mpickerView:numberOfRowsInComponent:
Standard delegate for PickerView for number of rows in the picker
- (NSInteger)pickerView:(UIPickerView *)thepickerView numberOfRowsInComponent:(NSInteger)componentParameters
- thepickerView
The PickerView
- component
The PickerView Component
Return Value
Return count of rows
Declared In
AddChoiceTopicViewController.mpickerView:titleForRow:forComponent:
Standard delegate for PickerView to display rows in the picker
- (NSString *)pickerView:(UIPickerView *)pickerView titleForRow:(NSInteger)row forComponent:(NSInteger)componentParameters
- pickerView
The PickerView
- row
The row in the PickerView
- component
THe PickerView Component
Return Value
Return row display content
Declared In
AddChoiceTopicViewController.mtextFieldShouldReturn:
Standard iOS delegate for keyboard handling in text boxes.
- (BOOL)textFieldShouldReturn:(UITextField *)textFieldReturn Value
<#return value description#>
Declared In
AddChoiceTopicViewController.mtouchesBegan:withEvent:
Standard iOS delegate for dismissing keyboard in text boxes.
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)eventReturn Value
<#return value description#>
Declared In
AddChoiceTopicViewController.m