First of all I am getting memory leak while scrolling tableview out of bounds. The same issue as here.
Also, my scroll is fast enough but it 'kind of trembles' while I scroll it. The cells are reusable.
Code:
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
static NSString *CellIdentifier = @"Cell";
Country *country=[[self.items objectAtIndex:[indexPath section]] objectAtIndex:[indexPath row]];
CountryCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
cell.imageView.image=[UIImage imageNamed:country.countryFlag];
cell.countryName.text=country.countryName;
cell.currencyCode.text=country.code;
cell.currencyOriginalName.text=country.originalUnitName;
return cell;
}
App: iOS 5, ARC, Storyboard.
What can be the real reason of this tableView behavior and how to fix it ?