DisplayRecordsViewController Class Reference
Inherits from | UIViewController |
Conforms to | ADBannerViewDelegate UITableViewDataSource |
Declared in | DisplayRecordsViewController.h DisplayRecordsViewController.m |
Tasks
Other Methods
-
prevButton
property -
week
property -
nextButton
property -
error
property -
tableView
property
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 *)error
Parameters
- banner
The Banner
- error
The Error
Declared In
DisplayRecordsViewController.m
clearHeader
Helper method to clear Header
- (void)clearHeader
Declared In
DisplayRecordsViewController.m
didReceiveMemoryWarning
Standard iOS delegate for handling memory warnings
- (void)didReceiveMemoryWarning
Declared In
DisplayRecordsViewController.m
displayHeader:
Helper method to display Header a given week
- (void)displayHeader:(NameValuePairModel *)week
Parameters
- week
The Named/Value pair to the week
Declared In
DisplayRecordsViewController.m
getGroupRecords:
Helper method to call the Get Group Records Service
- (void)getGroupRecords:(int)week
Parameters
- week
The week to get a Group Record for
Declared In
DisplayRecordsViewController.m
onClickNextWeek:
Handler for the Next button
- (IBAction)onClickNextWeek:(id)sender
Parameters
- sender
The sender of the event
Declared In
DisplayRecordsViewController.m
onClickPrevWeek:
Handler for the Previous button
- (IBAction)onClickPrevWeek:(id)sender
Parameters
- sender
The sender of the event
Declared In
DisplayRecordsViewController.m
prepareForSegue:sender:
Keep track of which Player ID is selected
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender
Parameters
- segue
The Seque
- sender
The Sender of the event
Declared In
DisplayRecordsViewController.m
supportedInterfaceOrientations
Standard iOS delegate to get the allowed orientation of the application.
- (NSUInteger)supportedInterfaceOrientations
Return Value
<#return value description#>
Declared In
DisplayRecordsViewController.m
tableView:cellForRowAtIndexPath:
Initialize a Cell in the Table View
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
Parameters
- tableView
The Table View
- indexPath
Index to the Cell in the Table View
Return Value
Return the Cell
Declared In
DisplayRecordsViewController.m
tableView:commitEditingStyle:forRowAtIndexPath:
- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath
tableView:editActionsForRowAtIndexPath:
Initialize Swipe Left buttons in the Table View
- (NSArray *)tableView:(UITableView *)tableView editActionsForRowAtIndexPath:(NSIndexPath *)indexPath
Parameters
- indexPath
Index to the Cell in the Table View
Return Value
Return array of Table Actions
Declared In
DisplayRecordsViewController.m
tableView:numberOfRowsInSection:
Return number of rows in the Table View
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
Parameters
- tableView
The Table View
- section
The Section
Return Value
Return the number of rows in the Table
Declared In
DisplayRecordsViewController.m