equal
deleted
inserted
replaced
223 editableCell = (EditableCellView *)[tableView dequeueReusableCellWithIdentifier:CellIdentifier1]; |
223 editableCell = (EditableCellView *)[tableView dequeueReusableCellWithIdentifier:CellIdentifier1]; |
224 if (editableCell == nil) { |
224 if (editableCell == nil) { |
225 editableCell = [[[EditableCellView alloc] initWithStyle:UITableViewCellStyleDefault |
225 editableCell = [[[EditableCellView alloc] initWithStyle:UITableViewCellStyleDefault |
226 reuseIdentifier:CellIdentifier1] autorelease]; |
226 reuseIdentifier:CellIdentifier1] autorelease]; |
227 editableCell.delegate = self; |
227 editableCell.delegate = self; |
228 editableCell.tag = [indexPath row]; |
228 } |
229 } |
229 editableCell.tag = [indexPath row]; |
230 |
230 |
231 hogArray = [self.teamDictionary objectForKey:@"hedgehogs"]; |
231 hogArray = [self.teamDictionary objectForKey:@"hedgehogs"]; |
232 |
232 |
233 // draw the hat on top of the hog |
233 // draw the hat on top of the hog |
234 NSString *hatFile = [[NSString alloc] initWithFormat:@"%@/%@.png", HATS_DIRECTORY(), [[hogArray objectAtIndex:row] objectForKey:@"hat"]]; |
234 NSString *hatFile = [[NSString alloc] initWithFormat:@"%@/%@.png", HATS_DIRECTORY(), [[hogArray objectAtIndex:row] objectForKey:@"hat"]]; |