我看过Lynda iPhone教程,在关于Tableviews的课程中,有一种创建单元格的方法,如下所示。
//create cell
UITableViewCell *cell = [[UITableView alloc]
initWithStyle:UITableViewCellStyleDefault
reuseIdentidier:@"cell"];但是Xcode说没有这样的方法。而且显然没有代码感知来拾取它。
可以使用什么方法来代替上面的方法?谢谢/
问候
发布于 2010-07-01 00:09:53
示例包含错误:
使用[UITableViewCell分配...相反,[UITableView alloc...
https://stackoverflow.com/questions/3151139
复制相似问题