CellIdentifier = @"ProdetailTableViewCell";
NSString *_cellIdentifier =
[NSString stringWithFormat:@"%@%ld", CellIdentifier, indexPath.row];
ProdetailTableViewCell *cell =
[tableView dequeueReusableCellWithIdentifier:_cellIdentifier];
if (!cell || refresh) {
[tableView registerNib:[UINib nibWithNibName:@"ProdetailTableViewCell"
bundle:nil]
forCellReuseIdentifier:_cellIdentifier];
cell = [tableView dequeueReusableCellWithIdentifier:_cellIdentifier];
if ((NSNull *)AllMenuItems != [NSNull null] && AllMenuItems.count > 0) {
NSDictionary *selectDict = [AllMenuItems objectAtIndex:indexPath.row];
[cell setData:selectDict];
}
}
NSString *_cellIdentifier =
[NSString stringWithFormat:@"%@%ld", CellIdentifier, indexPath.row];
ProdetailTableViewCell *cell =
[tableView dequeueReusableCellWithIdentifier:_cellIdentifier];
if (!cell || refresh) {
[tableView registerNib:[UINib nibWithNibName:@"ProdetailTableViewCell"
bundle:nil]
forCellReuseIdentifier:_cellIdentifier];
cell = [tableView dequeueReusableCellWithIdentifier:_cellIdentifier];
if ((NSNull *)AllMenuItems != [NSNull null] && AllMenuItems.count > 0) {
NSDictionary *selectDict = [AllMenuItems objectAtIndex:indexPath.row];
[cell setData:selectDict];
}
}