UpdateWinnersViewController Class Reference
| Inherits from | UICollectionViewController |
| Conforms to | ADBannerViewDelegate |
| Declared in | UpdateWinnersViewController.h UpdateWinnersViewController.m |
Tasks
-
– viewDidLoad -
– supportedInterfaceOrientations -
– didReceiveMemoryWarning -
– bannerView:didFailToReceiveAdWithError: -
– numberOfSectionsInCollectionView: -
– collectionView:numberOfItemsInSection: -
– collectionView:viewForSupplementaryElementOfKind:atIndexPath: -
– collectionView:cellForItemAtIndexPath: -
– onClickAwayTeam: -
– onClickHomeTeam: -
– onClickPrevWeek: -
– onClickNextWeek: -
– onClickSave: -
– getWinners:::
Instance Methods
bannerView:didFailToReceiveAdWithError:
Standard iOS delegate to handle iAD display error
- (void)bannerView:(ADBannerView *)banner didFailToReceiveAdWithError:(NSError *)errorParameters
- banner
The Banner
- error
The Error
Declared In
UpdateWinnersViewController.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
UpdateWinnersViewController.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
UpdateWinnersViewController.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
UpdateWinnersViewController.mdidReceiveMemoryWarning
Standard iOS delegate to handle memory warning
- (void)didReceiveMemoryWarningDeclared In
UpdateWinnersViewController.mgetWinners:::
Helper method to call the Get Winners Service
- (void)getWinners:(int)id :Parameters
- id
Player ID
- group
Player Group
- week
The week to get Schedule for
Declared In
UpdateWinnersViewController.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
UpdateWinnersViewController.monClickAwayTeam:
Handler for the Away Team button.
- (IBAction)onClickAwayTeam:(id)senderParameters
- sender
The sender for the Event
Declared In
UpdateWinnersViewController.monClickHomeTeam:
Handler for the Home Team button.
- (IBAction)onClickHomeTeam:(id)senderParameters
- sender
The sender for the Event
Declared In
UpdateWinnersViewController.monClickNextWeek:
Button handler for the Next Week button.
- (IBAction)onClickNextWeek:(id)senderParameters
- sender
The sender for the Event
Declared In
UpdateWinnersViewController.monClickPrevWeek:
Button handler for the Previous Week button.
- (IBAction)onClickPrevWeek:(id)senderParameters
- sender
The sender for the Event
Declared In
UpdateWinnersViewController.monClickSave:
Handler for the Save button.
- (IBAction)onClickSave:(id)senderParameters
- sender
The sender for the Event
Declared In
UpdateWinnersViewController.m