197 UIImage *img = [[self.ammoStoreImage cutAt:CGRectMake(x, y, 32, 32)] makeRoundCornersOfSize:CGSizeMake(7, 7)]; |
197 UIImage *img = [[self.ammoStoreImage cutAt:CGRectMake(x, y, 32, 32)] makeRoundCornersOfSize:CGSizeMake(7, 7)]; |
198 customCell.weaponIcon.image = img; |
198 customCell.weaponIcon.image = img; |
199 customCell.weaponName.text = [ammoNames objectAtIndex:row]; |
199 customCell.weaponName.text = [ammoNames objectAtIndex:row]; |
200 customCell.tag = row; |
200 customCell.tag = row; |
201 |
201 |
202 [customCell.initialQt setValue:[[NSString stringWithFormat:@"%c",quantity[row]] intValue] animated:NO]; |
202 [customCell.initialSli setValue:[[NSString stringWithFormat:@"%c",quantity[row]] intValue] animated:NO]; |
203 [customCell.probabilityQt setValue:[[NSString stringWithFormat:@"%c", probability[row]] intValue] animated:NO]; |
203 [customCell.probabilitySli setValue:[[NSString stringWithFormat:@"%c", probability[row]] intValue] animated:NO]; |
204 [customCell.delayQt setValue:[[NSString stringWithFormat:@"%c", delay[row]] intValue] animated:NO]; |
204 [customCell.delaySli setValue:[[NSString stringWithFormat:@"%c", delay[row]] intValue] animated:NO]; |
205 [customCell.crateQt setValue:[[NSString stringWithFormat:@"%c", crateness[row]] intValue] animated:NO]; |
205 [customCell.crateSli setValue:[[NSString stringWithFormat:@"%c", crateness[row]] intValue] animated:NO]; |
206 cell = customCell; |
206 cell = customCell; |
207 } |
207 } |
208 |
208 |
209 cell.selectionStyle = UITableViewCellSelectionStyleNone; |
209 cell.selectionStyle = UITableViewCellSelectionStyleNone; |
210 return cell; |
210 return cell; |