DisplayRecordsViewController Class Reference
| Inherits from | UIViewController |
| Conforms to | ADBannerViewDelegate UITableViewDataSource |
| Declared in | DisplayRecordsViewController.h DisplayRecordsViewController.m |
Tasks
Other Methods
-
prevButtonproperty -
weekproperty -
nextButtonproperty -
errorproperty -
tableViewproperty
Other Methods
-
– viewDidLoad -
– supportedInterfaceOrientations -
– didReceiveMemoryWarning -
– bannerView:didFailToReceiveAdWithError: -
– tableView:numberOfRowsInSection: -
– tableView:cellForRowAtIndexPath: -
– tableView:editActionsForRowAtIndexPath: -
– tableView:commitEditingStyle:forRowAtIndexPath: -
– prepareForSegue:sender: -
– onClickPrevWeek: -
– onClickNextWeek: -
– getGroupRecords: -
– clearHeader -
– displayHeader:
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
DisplayRecordsViewController.mclearHeader
Helper method to clear Header
- (void)clearHeaderDeclared In
DisplayRecordsViewController.mdidReceiveMemoryWarning
Standard iOS delegate for handling memory warnings
- (void)didReceiveMemoryWarningDeclared In
DisplayRecordsViewController.mdisplayHeader:
Helper method to display Header a given week
- (void)displayHeader:(NameValuePairModel *)weekParameters
- week
The Named/Value pair to the week
Declared In
DisplayRecordsViewController.mgetGroupRecords:
Helper method to call the Get Group Records Service
- (void)getGroupRecords:(int)weekParameters
- week
The week to get a Group Record for
Declared In
DisplayRecordsViewController.monClickNextWeek:
Handler for the Next button
- (IBAction)onClickNextWeek:(id)senderParameters
- sender
The sender of the event
Declared In
DisplayRecordsViewController.monClickPrevWeek:
Handler for the Previous button
- (IBAction)onClickPrevWeek:(id)senderParameters
- sender
The sender of the event
Declared In
DisplayRecordsViewController.mprepareForSegue:sender:
Keep track of which Player ID is selected
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)senderParameters
- segue
The Seque
- sender
The Sender of the event
Declared In
DisplayRecordsViewController.msupportedInterfaceOrientations
Standard iOS delegate to get the allowed orientation of the application.
- (NSUInteger)supportedInterfaceOrientationsReturn Value
<#return value description#>
Declared In
DisplayRecordsViewController.mtableView:cellForRowAtIndexPath:
Initialize a Cell in the Table View
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPathParameters
- tableView
The Table View
- indexPath
Index to the Cell in the Table View
Return Value
Return the Cell
Declared In
DisplayRecordsViewController.mtableView:commitEditingStyle:forRowAtIndexPath:
- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPathtableView:editActionsForRowAtIndexPath:
Initialize Swipe Left buttons in the Table View
- (NSArray *)tableView:(UITableView *)tableView editActionsForRowAtIndexPath:(NSIndexPath *)indexPathParameters
- indexPath
Index to the Cell in the Table View
Return Value
Return array of Table Actions
Declared In
DisplayRecordsViewController.mtableView:numberOfRowsInSection:
Return number of rows in the Table View
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)sectionParameters
- tableView
The Table View
- section
The Section
Return Value
Return the number of rows in the Table
Declared In
DisplayRecordsViewController.m