DisplayResultsViewController Class Reference
Inherits from | UICollectionViewController |
Conforms to | ADBannerViewDelegate |
Declared in | DisplayResultsViewController.h DisplayResultsViewController.m |
Tasks
-
– viewDidLoad
-
– supportedInterfaceOrientations
-
– didReceiveMemoryWarning
-
– bannerView:didFailToReceiveAdWithError:
-
– numberOfSectionsInCollectionView:
-
– collectionView:numberOfItemsInSection:
-
– collectionView:cellForItemAtIndexPath:
-
– shouldPerformSegueWithIdentifier:sender:
-
– prepareForSegue:sender:
-
– getPlayerResults:::
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
DisplayResultsViewController.m
collectionView:cellForItemAtIndexPath:
Initialize the Cell in the Collection View
- (UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath
Parameters
- collectionView
The Collection View
- indexPath
Index to the Cell
Return Value
Return the Cell
Declared In
DisplayResultsViewController.m
collectionView:numberOfItemsInSection:
Return the number of rows in the Collection
- (NSInteger)collectionView:(UICollectionView *)collectionView numberOfItemsInSection:(NSInteger)section
Parameters
- collectionView
The Collection View
- section
The Section
Return Value
Return the number of rows in the Collection
Declared In
DisplayResultsViewController.m
didReceiveMemoryWarning
Standard iOS delegate for handling memory warnings
- (void)didReceiveMemoryWarning
Declared In
DisplayResultsViewController.m
getPlayerResults:::
Help method to get the Player Results for this week
- (void)getPlayerResults:(int)id :
Parameters
- id
Player ID
- group
Player Group
- week
Week to get the Player Results for
Declared In
DisplayResultsViewController.m
numberOfSectionsInCollectionView:
Return number of sections in the Collection View
- (NSInteger)numberOfSectionsInCollectionView:(UICollectionView *)collectionView
Parameters
- collectionView
The Collection View
Return Value
Return the number of sections in the Collection View
Declared In
DisplayResultsViewController.m
prepareForSegue:sender:
Seque handler for passing data from this View into the Office Pool View
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender
Parameters
- void
sender The sender for the Event
Declared In
DisplayResultsViewController.m
shouldPerformSegueWithIdentifier:sender:
Seque handler for determining if to naviation the Office Pool View
- (BOOL)shouldPerformSegueWithIdentifier:(NSString *)identifier sender:(id)sender
Parameters
- void
sender The sender for the Event
Return Value
Return true to navigate
Declared In
DisplayResultsViewController.m