Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
- {
- static NSString *CellIdentifier = @"StandingsIdent";
- StandingsViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier forIndexPath:indexPath];
- NSDictionary *item = [tableData objectAtIndex:[indexPath row]];
- long row = [indexPath row];
- cell.cellTeamName.text = [item objectForKey:@"Team"];
- cell.cellTeamLogo.image = [UIImage imageNamed:_teamLogos[row]];
- cell.cellTeamPosition.text = _teamPosition[row];
- cell.cellPlayed.text = [item objectForKey:@"Played"];
- cell.cellWins.text = [item objectForKey:@"Won"];
- cell.cellTies.text = [item objectForKey:@"Draw"];
- cell.cellLoses.text = [item objectForKey:@"Lost"];
- cell.cellPoints.text = [item objectForKey:@"Points"];
- cell.cellInfo.text = _infoLeague[row];
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement