基于Tableview的滚动,如何处理数据不变的问题-----待整理
http://hi.baidu.com/justtmiss/item/f3f6d50ce395f1d872e67630--感谢这边文章的作者,我从里面得到了启发
http://hi.baidu.com/justtmiss/item/f3f6d50ce395f1d872e67630
NSString *CellIdentifier = [NSStringstringWithFormat:@"Cell%d%d", [indexPathsection], [indexPath row]];
UITableViewCell *cell = [tableViewdequeueReusableCellWithIdentifier:
CellIdentifier];
if (cell == nil) {
cell = [[[UITableViewCellalloc] initWithStyle:UITableViewCellStyleDefault
reuseIdentifier: CellIdentifier]autorelease];
}
这是我程序里面的正确代码,由于目前项目紧张。我打算过一段时间在好好描述一下问题和解决方案。