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 *)errorParameters
- banner
The Banner
- error
The Error
Declared In
DisplayResultsViewController.mcollectionView:cellForItemAtIndexPath:
Initialize the Cell in the Collection View
- (UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPathParameters
- collectionView
The Collection View
- indexPath
Index to the Cell
Return Value
Return the Cell
Declared In
DisplayResultsViewController.mcollectionView:numberOfItemsInSection:
Return the number of rows in the Collection
- (NSInteger)collectionView:(UICollectionView *)collectionView numberOfItemsInSection:(NSInteger)sectionParameters
- collectionView
The Collection View
- section
The Section
Return Value
Return the number of rows in the Collection
Declared In
DisplayResultsViewController.mdidReceiveMemoryWarning
Standard iOS delegate for handling memory warnings
- (void)didReceiveMemoryWarningDeclared In
DisplayResultsViewController.mgetPlayerResults:::
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.mnumberOfSectionsInCollectionView:
Return number of sections in the Collection View
- (NSInteger)numberOfSectionsInCollectionView:(UICollectionView *)collectionViewParameters
- collectionView
The Collection View
Return Value
Return the number of sections in the Collection View
Declared In
DisplayResultsViewController.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
DisplayResultsViewController.mshouldPerformSegueWithIdentifier:sender:
Seque handler for determining if to naviation the Office Pool View
- (BOOL)shouldPerformSegueWithIdentifier:(NSString *)identifier sender:(id)senderParameters
- void
sender The sender for the Event
Return Value
Return true to navigate
Declared In
DisplayResultsViewController.m