AddChoiceViewController Class Reference
| Inherits from | UIViewController |
| Conforms to | UIActionSheetDelegate UIPickerViewDataSource UIPickerViewDelegate UITableViewDataSource UITableViewDelegate |
| Declared in | AddChoiceViewController.h AddChoiceViewController.m |
Tasks
Other Methods
-
userproperty -
currentChoicePathproperty -
mediaLinksproperty -
referenceLinksproperty -
generalViewproperty -
contentViewproperty -
referenceViewproperty -
segmentControlproperty -
imageproperty -
descriptionproperty -
privateproperty -
ratingproperty -
ratingTextproperty -
groupPretextproperty -
groupButtonproperty -
contentproperty -
linksTableproperty
Other Methods
-
– viewDidLoad -
– viewWillAppear: -
– didReceiveMemoryWarning -
– textFieldShouldReturn: -
– touchesBegan:withEvent: -
– onSegmentClick: -
– onPasteImageClick: -
– onSelectGroupButtonClick: -
– onPrivateSwitched: -
– pickerView:titleForRow:forComponent: -
– numberOfComponentsInPickerView: -
– pickerView:numberOfRowsInComponent: -
– actionSheet:clickedButtonAtIndex: -
– onRatingChange: -
– onAddMediaLinkClick: -
– onAddReferenceLinkClick: -
– alertView:clickedButtonAtIndex: -
– numberOfSectionsInTableView: -
– tableView:numberOfRowsInSection: -
– tableView:titleForHeaderInSection: -
– tableView:cellForRowAtIndexPath: -
– onClickHelp: -
– onClickSave: -
– setRatingText
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
AddChoiceViewController.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
AddChoiceViewController.mdidReceiveMemoryWarning
Standard iOS delegate for handling memory warnings
- (void)didReceiveMemoryWarningDeclared In
AddChoiceViewController.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
AddChoiceViewController.mnumberOfSectionsInTableView:
Return number of Sections in the Collection View
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableViewParameters
- collectionView
this Collection View
Return Value
Return number of Sections
Declared In
AddChoiceViewController.monAddMediaLinkClick:
Handler for the Add Media Link button
- (IBAction)onAddMediaLinkClick:(id)senderParameters
- sender
Sender of the event
Declared In
AddChoiceViewController.monAddReferenceLinkClick:
Handler for the Add Reference Link button
- (IBAction)onAddReferenceLinkClick:(id)senderParameters
- sender
Sender of the event
Declared In
AddChoiceViewController.monClickHelp:
Handler for the Help button
- (IBAction)onClickHelp:(id)senderParameters
- sender
Sender of the event
Declared In
AddChoiceViewController.monClickSave:
Handler for the Save button
- (IBAction)onClickSave:(id)senderParameters
- sender
Sender of the event
Declared In
AddChoiceViewController.monPasteImageClick:
Handler for the Paste Image button
- (IBAction)onPasteImageClick:(id)senderParameters
- sender
Sender of the event
Declared In
AddChoiceViewController.monPrivateSwitched:
Handler for the Private Switch
- (IBAction)onPrivateSwitched:(UISwitch *)senderParameters
- sender
Sender of the event
Declared In
AddChoiceViewController.monRatingChange:
Handler for the Rating Slider change
- (IBAction)onRatingChange:(id)senderParameters
- sender
Sender of the event
Declared In
AddChoiceViewController.monSegmentClick:
Handler for the Segment Control
- (IBAction)onSegmentClick:(UISegmentedControl *)senderParameters
- sender
Sender of the event
Declared In
AddChoiceViewController.monSelectGroupButtonClick:
Handler for the Select Group button
- (IBAction)onSelectGroupButtonClick:(id)senderParameters
- sender
Sender of the event
Declared In
AddChoiceViewController.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
AddChoiceViewController.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
AddChoiceViewController.msetRatingText
Helper method to display the Rating
- (void)setRatingTextDeclared In
AddChoiceViewController.mtableView:cellForRowAtIndexPath:
Initialize a Cell in the Table View
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPathParameters
- tableView
The Table View
- indexPath
Index to the Cell in the Table View
Return Value
Return the Cell
Declared In
AddChoiceViewController.mtableView:numberOfRowsInSection:
Return number of Items in the Section of the Collection View
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)sectionParameters
- section
Section the Section
- collectionView
This Collection View
Return Value
Return the number of rows in the Collection
Declared In
AddChoiceViewController.mtableView:titleForHeaderInSection:
Set the titles of the Sections
- (NSString *)tableView:(UITableView *)tableView titleForHeaderInSection:(NSInteger)sectionParameters
- tableView
The Table View
- section
The Section in the Table View to update
Return Value
<#return value description#>
Declared In
AddChoiceViewController.mtextFieldShouldReturn:
Standard iOS delegate for keyboard handling in text boxes.
- (BOOL)textFieldShouldReturn:(UITextField *)textFieldReturn Value
<#return value description#>
Declared In
AddChoiceViewController.mtouchesBegan:withEvent:
Standard iOS delegate for dismissing keyboard in text boxes.
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)eventReturn Value
<#return value description#>
Declared In
AddChoiceViewController.m