ChoiceListViewController Class Reference
| Inherits from | UITableViewController |
| Declared in | ChoiceListViewController.h ChoiceListViewController.m |
Tasks
Other Methods
-
pathTextproperty -
upPathButtonproperty -
userproperty -
currentChoicePathproperty -
topicsproperty -
choicesproperty
Other Methods
-
– viewDidLoad -
– viewWillAppear: -
– didReceiveMemoryWarning -
– numberOfSectionsInTableView: -
– tableView:numberOfRowsInSection: -
– tableView:titleForHeaderInSection: -
– tableView:cellForRowAtIndexPath: -
– tableView:accessoryButtonTappedForRowWithIndexPath: -
– tableView:didSelectRowAtIndexPath: -
– onUpPathClick: -
– getChoices: -
– initializeChoicesListView -
– initStarRating::: -
– resetChoices
Instance Methods
didReceiveMemoryWarning
Standard iOS delegate for handling memory warnings
- (void)didReceiveMemoryWarningDeclared In
ChoiceListViewController.mgetChoices:
Helper method to call the Get Choices Service
- (void)getChoices:(NSString *)pathDeclared In
ChoiceListViewController.minitStarRating:::
Initialize the Star Rating image for a Choice
- (void)initStarRating:(ChoiceListCell *)cell :Parameters
- rating
Star Rating to set
Declared In
ChoiceListViewController.minitializeChoicesListView
Helper method to initilaize this View from the Current Choice Path in the parent Tab Bar Controller
- (void)initializeChoicesListViewDeclared In
ChoiceListViewController.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
ChoiceListViewController.monUpPathClick:
Handler for the Up Path button
- (IBAction)onUpPathClick:(id)senderParameters
- sender
Sender of the event
Declared In
ChoiceListViewController.mresetChoices
Helper method to reset the current Choice Topics and Choices so initializeChoicesListView() will load new Choices
- (void)resetChoicesDeclared In
ChoiceListViewController.mtableView:accessoryButtonTappedForRowWithIndexPath:
When a Disclosure Button in the Table Cell is clicked
- (void)tableView:(UITableView *)tableView accessoryButtonTappedForRowWithIndexPath:(NSIndexPath *)indexPathParameters
- tableView
The Table View
- indexPath
Index to the Cell in the Table View
Return Value
Return the Cell
Declared In
ChoiceListViewController.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
ChoiceListViewController.mtableView:didSelectRowAtIndexPath:
When a Cell in the Table View is selected
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPathParameters
- tableView
The Table View
- indexPath
Index to the Cell in the Table View
Return Value
Return the Cell
Declared In
ChoiceListViewController.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
ChoiceListViewController.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
ChoiceListViewController.m