Advertisement
Guest User

Untitled

a guest
Feb 3rd, 2014
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
  2. {
  3.  
  4.     static NSString *CellIdentifier = @"StandingsIdent";
  5.     StandingsViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier forIndexPath:indexPath];
  6.  
  7.      NSDictionary *item = [tableData objectAtIndex:[indexPath row]];
  8.     long row = [indexPath row];
  9.     cell.cellTeamName.text = [item objectForKey:@"Team"];
  10.     cell.cellTeamLogo.image = [UIImage imageNamed:_teamLogos[row]];
  11.     cell.cellTeamPosition.text = _teamPosition[row];
  12.     cell.cellPlayed.text = [item objectForKey:@"Played"];
  13.     cell.cellWins.text = [item objectForKey:@"Won"];
  14.     cell.cellTies.text = [item objectForKey:@"Draw"];
  15.     cell.cellLoses.text = [item objectForKey:@"Lost"];
  16.     cell.cellPoints.text = [item objectForKey:@"Points"];
  17.     cell.cellInfo.text = _infoLeague[row];
  18.  
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement