MakePicksViewController Class Reference
| Inherits from | UICollectionViewController |
| Conforms to | ADBannerViewDelegate UIPickerViewDelegate UITabBarDelegate |
| Declared in | MakePicksViewController.h MakePicksViewController.m |
Tasks
Other Methods
-
pickerproperty -
– hideMenu
Other Methods
-
– viewDidLoad -
– viewWillAppear: -
– willAnimateRotationToInterfaceOrientation:duration: -
– tabBar:didSelectItem: -
– supportedInterfaceOrientations -
– didReceiveMemoryWarning -
– bannerView:didFailToReceiveAdWithError: -
– collectionView:viewForSupplementaryElementOfKind:atIndexPath: -
– numberOfSectionsInCollectionView: -
– collectionView:numberOfItemsInSection: -
– collectionView:cellForItemAtIndexPath: -
– onClickAwayTeam: -
– onClickHomeTeam: -
– onClickWeight: -
– pickerView:didSelectRow:inComponent: -
– onClickWeightDone: -
– onClickWeightCancel: -
– onClickPrevWeek: -
– onClickNextWeek: -
– onClickHelpSystem: -
– onClickMenu: -
– onClickSave: -
– onClickeBackButton: -
– onClickResults: -
– onClickProfile: -
– onClickWinners: -
– prepareForSegue:sender: -
– getScheduleAsync: -
– alertView:clickedButtonAtIndex: -
– displayPreviousWeek -
– displayNextWeek -
– displayRecordsView -
– displayProfileView -
– displayWinnersView -
– pickerView:numberOfRowsInComponent: -
– numberOfComponentsInPickerView: -
– pickerView:titleForRow:forComponent: -
– pickerView:widthForComponent: -
– showMenu -
– runTipsWizard
Instance Methods
alertView: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
MakePicksViewController.mbannerView:didFailToReceiveAdWithError:
Standard iOS delegate to handle iAD display error
- (void)bannerView:(ADBannerView *)banner didFailToReceiveAdWithError:(NSError *)errorParameters
- banner
The Banner
- error
The Error
Declared In
MakePicksViewController.mcollectionView:cellForItemAtIndexPath:
Initialize a Cell in the Collection View
- (UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPathParameters
- collectionView
This Collection View
- indexPath
Index to the Cell
Return Value
Return the Cell
Declared In
MakePicksViewController.mcollectionView:numberOfItemsInSection:
Return number of Items in the Section of the Collection View
- (NSInteger)collectionView:(UICollectionView *)collectionView numberOfItemsInSection:(NSInteger)sectionParameters
- collectionView
This Collection View
- section
Section the Section
Return Value
Return the number of rows in the Collection
Declared In
MakePicksViewController.mcollectionView:viewForSupplementaryElementOfKind:atIndexPath:
Initialize Header in the Collection View
- (UICollectionReusableView *)collectionView:(UICollectionView *)collectionView viewForSupplementaryElementOfKind:(NSString *)kind atIndexPath:(NSIndexPath *)indexPathParameters
- collectionView
this Collection View
- kind
the kind of Collection View
- indexPath
index to the Cell
Return Value
return the View
Declared In
MakePicksViewController.mdidReceiveMemoryWarning
Standard iOS delegate for handling memory warnings
- (void)didReceiveMemoryWarningDeclared In
MakePicksViewController.mdisplayNextWeek
Helper function to display Next Week
- (void)displayNextWeekDeclared In
MakePicksViewController.mdisplayPreviousWeek
Helper function to display Previous Week
- (void)displayPreviousWeekDeclared In
MakePicksViewController.mdisplayProfileView
Helper function to display Profile View
- (void)displayProfileViewDeclared In
MakePicksViewController.mdisplayRecordsView
Helper function to display Records View
- (void)displayRecordsViewDeclared In
MakePicksViewController.mdisplayWinnersView
Helper function to display Winners View
- (void)displayWinnersViewDeclared In
MakePicksViewController.mgetScheduleAsync:
Helper method to call the Get Schedule Service Asychronously
- (void)getScheduleAsync:(int)weekParameters
- week
The week to get the schedule for
Declared In
MakePicksViewController.mnumberOfComponentsInPickerView:
Set the Weight Picker with how many components it will have.
- (NSInteger)numberOfComponentsInPickerView:(UIPickerView *)pickerViewParameters
- pickerView
The Picker View
Return Value
Return number of components in the Picker
Declared In
MakePicksViewController.mnumberOfSectionsInCollectionView:
Return number of Sections in the Collection View
- (NSInteger)numberOfSectionsInCollectionView:(UICollectionView *)collectionViewParameters
- collectionView
this Collection View
Return Value
Return number of Sections
Declared In
MakePicksViewController.monClickAwayTeam:
Handler for the Away Team button.
- (IBAction)onClickAwayTeam:(id)senderParameters
- sender
The sender for the Event
Declared In
MakePicksViewController.monClickHelpSystem:
Handler for the Help System button
- (IBAction)onClickHelpSystem:(id)senderParameters
- sender
Sender of the event
Declared In
MakePicksViewController.monClickHomeTeam:
Handler for the Home Team button.
- (IBAction)onClickHomeTeam:(id)senderParameters
- sender
The sender for the Event
Declared In
MakePicksViewController.monClickMenu:
Handler for the Menu button
- (IBAction)onClickMenu:(id)senderParameters
- sender
Sender of the event
Declared In
MakePicksViewController.monClickNextWeek:
Button handler for the Next Week button.
- (IBAction)onClickNextWeek:(id)senderParameters
- sender
The sender for the Event
Declared In
MakePicksViewController.monClickPrevWeek:
Button handler for the Previous Week button.
- (IBAction)onClickPrevWeek:(id)senderParameters
- sender
The sender for the Event
Declared In
MakePicksViewController.monClickProfile:
Button handler for the Profile button.
- (IBAction)onClickProfile:(id)senderParameters
- sender
The sender for the Event
Declared In
MakePicksViewController.monClickResults:
Button handler for the Results button.
- (IBAction)onClickResults:(id)senderParameters
- sender
The sender for the Event
Declared In
MakePicksViewController.monClickSave:
Button handler for the Save button.
- (IBAction)onClickSave:(id)senderParameters
- sender
The sender for the Event
Declared In
MakePicksViewController.monClickWeight:
Handler for the Weight button.
- (IBAction)onClickWeight:(id)senderParameters
- sender
The sender for the Event
Declared In
MakePicksViewController.monClickWeightCancel:
Button handler for the Weight Picker Cancel button.
- (IBAction)onClickWeightCancel:(id)senderParameters
- sender
The sender for the Event
Declared In
MakePicksViewController.monClickWeightDone:
Button handler for the Weight Picker Done button.
- (IBAction)onClickWeightDone:(id)senderParameters
- sender
The sender for the Event
Declared In
MakePicksViewController.monClickWinners:
Button handler for the Winner button.
- (IBAction)onClickWinners:(id)senderParameters
- sender
The sender for the Event
Declared In
MakePicksViewController.monClickeBackButton:
Button handler for the Navigation Back button.
- (void)onClickeBackButton:(id)senderParameters
- sender
The sender for the Event
Declared In
MakePicksViewController.mpickerView:didSelectRow:inComponent:
Handler for selecting a row in the Weight Picker.
- (void)pickerView:(UIPickerView *)pickerView didSelectRow:(NSInteger)row inComponent:(NSInteger)componentParameters
- pickerView
The Picker View
- row
The row that got selected
- component
The component
Declared In
MakePicksViewController.mpickerView:numberOfRowsInComponent:
Set the Weight Picker with all the Weights
- (NSInteger)pickerView:(UIPickerView *)pickerView numberOfRowsInComponent:(NSInteger)componentParameters
- pickerView
The Picker View
- component
The Component
Return Value
Return number of rows in the Picker
Declared In
MakePicksViewController.mpickerView:titleForRow:forComponent:
Set the values for the Weight Picker.
- (NSString *)pickerView:(UIPickerView *)pickerView titleForRow:(NSInteger)row forComponent:(NSInteger)componentParameters
- pickerView
The Picker View
- row
The row to set the value for
- component
The Component
Return Value
Return the text for the Picker Row
Declared In
MakePicksViewController.mpickerView:widthForComponent:
Set the Weight Picker with the width of each row for a given component.
- (CGFloat)pickerView:(UIPickerView *)pickerView widthForComponent:(NSInteger)componentParameters
- pickerView
The Picker View
- component
The Component
Return Value
Return the width of the Picker
Declared In
MakePicksViewController.mprepareForSegue:sender:
Seque handler for passing data from this View into the Office Pool View
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)senderParameters
- void
sender The sender for the Event
Declared In
MakePicksViewController.msupportedInterfaceOrientations
Standard iOS delegate to get the allowed orientation of the application.
- (NSUInteger)supportedInterfaceOrientationsReturn Value
Return orientation mask
Declared In
MakePicksViewController.mtabBar:didSelectItem:
Standard iOS delegate to handle the Tab Bar.
- (void)tabBar:(UITabBar *)tabBar didSelectItem:(UITabBarItem *)itemParameters
- tabBar
tabBar The Tab Bar
- item
item Description of item selected
Declared In
MakePicksViewController.mviewDidLoad
Load and initialize the Controller for the Picks View.
- (void)viewDidLoadDeclared In
MakePicksViewController.mviewWillAppear:
Standard iOS delegate when this view is displayed.
- (void)viewWillAppear:(BOOL)animatedParameters
- animated
animated If animated view
Declared In
MakePicksViewController.mwillAnimateRotationToInterfaceOrientation:duration:
Standard iOS delegate when this view is rotated.
- (void)willAnimateRotationToInterfaceOrientation:(UIInterfaceOrientation)orientation duration:(NSTimeInterval)durationParameters
- duration
Duration of orientation
- toInterfaceOrientation
Orientation being displayed
Declared In
MakePicksViewController.m