Inherits from UICollectionViewController
Conforms to ADBannerViewDelegate
Declared in UpdateWinnersViewController.h
UpdateWinnersViewController.m

Instance Methods

bannerView:didFailToReceiveAdWithError:

Standard iOS delegate to handle iAD display error

- (void)bannerView:(ADBannerView *)banner didFailToReceiveAdWithError:(NSError *)error

Parameters

banner

The Banner

error

The Error

Declared In

UpdateWinnersViewController.m

collectionView:cellForItemAtIndexPath:

Initialize a Cell in the Collection View

- (UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath

Parameters

collectionView

This Collection View

indexPath

Index to the Cell

Return Value

Return the Cell

Declared In

UpdateWinnersViewController.m

collectionView:numberOfItemsInSection:

Return number of Items in the Section of the Collection View

- (NSInteger)collectionView:(UICollectionView *)collectionView numberOfItemsInSection:(NSInteger)section

Parameters

collectionView

This Collection View

section

Section the Section

Return Value

Return the number of rows in the Collection

Declared In

UpdateWinnersViewController.m

collectionView:viewForSupplementaryElementOfKind:atIndexPath:

Initialize Header in the Collection View

- (UICollectionReusableView *)collectionView:(UICollectionView *)collectionView viewForSupplementaryElementOfKind:(NSString *)kind atIndexPath:(NSIndexPath *)indexPath

Parameters

collectionView

this Collection View

kind

the kind of Collection View

indexPath

index to the Cell

Return Value

return the View

Declared In

UpdateWinnersViewController.m

didReceiveMemoryWarning

Standard iOS delegate to handle memory warning

- (void)didReceiveMemoryWarning

Declared In

UpdateWinnersViewController.m

getWinners:::

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.m

numberOfSectionsInCollectionView:

Return number of Sections in the Collection View

- (NSInteger)numberOfSectionsInCollectionView:(UICollectionView *)collectionView

Parameters

collectionView

this Collection View

Return Value

Return number of Sections

Declared In

UpdateWinnersViewController.m

onClickAwayTeam:

Handler for the Away Team button.

- (IBAction)onClickAwayTeam:(id)sender

Parameters

sender

The sender for the Event

Declared In

UpdateWinnersViewController.m

onClickHomeTeam:

Handler for the Home Team button.

- (IBAction)onClickHomeTeam:(id)sender

Parameters

sender

The sender for the Event

Declared In

UpdateWinnersViewController.m

onClickNextWeek:

Button handler for the Next Week button.

- (IBAction)onClickNextWeek:(id)sender

Parameters

sender

The sender for the Event

Declared In

UpdateWinnersViewController.m

onClickPrevWeek:

Button handler for the Previous Week button.

- (IBAction)onClickPrevWeek:(id)sender

Parameters

sender

The sender for the Event

Declared In

UpdateWinnersViewController.m

onClickSave:

Handler for the Save button.

- (IBAction)onClickSave:(id)sender

Parameters

sender

The sender for the Event

Declared In

UpdateWinnersViewController.m

supportedInterfaceOrientations

Standard iOS delegate to get the allowed orientation of the application.

- (NSUInteger)supportedInterfaceOrientations

Return Value

Return orientation mask

Declared In

UpdateWinnersViewController.m

viewDidLoad

Load and initialize the Controller for the Display Winners View.

- (void)viewDidLoad

Declared In

UpdateWinnersViewController.m