Inherits from UIViewController
Conforms to UITableViewDataSource
Declared in PlayerManagerViewController.h
PlayerManagerViewController.m

Properties

tableView

@property (weak, nonatomic) IBOutlet UITableView *tableView

Instance Methods

didReceiveMemoryWarning

Standard iOS delegate for handling memory warnings

- (void)didReceiveMemoryWarning

Declared In

PlayerManagerViewController.m

getPlayers

Helper method to call the Get Players Service

- (void)getPlayers

Declared In

PlayerManagerViewController.m

onClickAddPlayer:

Handler for the Add Player button.

- (IBAction)onClickAddPlayer:(id)sender

Parameters

sender

Sender of the event

Declared In

PlayerManagerViewController.m

supportedInterfaceOrientations

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

- (NSUInteger)supportedInterfaceOrientations

Return Value

<#return value description#>

Declared In

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

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

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

PlayerManagerViewController.m

viewDidLoad

Load and initialize the Controller for the Player Manager View

- (void)viewDidLoad

Declared In

PlayerManagerViewController.m