cocoaTouch/GravesViewController.m
changeset 3373 c1ff724a5c34
parent 3364 e5403e2bf02c
child 3374 0d522416d97f
equal deleted inserted replaced
3372:5d3daec0d0b5 3373:c1ff724a5c34
    80 - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
    80 - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
    81     
    81     
    82     static NSString *CellIdentifier = @"Cell";
    82     static NSString *CellIdentifier = @"Cell";
    83     
    83     
    84     UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
    84     UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
    85     if (cell == nil) {
    85     if (cell == nil)
    86         cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier] autorelease];
    86         cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier] autorelease];
    87     }
       
    88     
    87     
    89     NSString *grave = [[graveArray objectAtIndex:[indexPath row]] stringByDeletingPathExtension];
    88     NSString *grave = [[graveArray objectAtIndex:[indexPath row]] stringByDeletingPathExtension];
    90     cell.textLabel.text = grave;
    89     cell.textLabel.text = grave;
    91     
    90     
    92     if ([grave isEqualToString:[teamDictionary objectForKey:@"grave"]]) {
    91     if ([grave isEqualToString:[teamDictionary objectForKey:@"grave"]]) {