【发布时间】:2011-09-10 15:38:27
【问题描述】:
您能帮我理解和/修复以下错误吗?我不明白CustomCellView 是UItableViewCell 的子类。代码已编译,但警告仍然存在:
Incompatible pointer type initializing 'CustomCellView *' with an expression of type `UItableViewCell`
我突出显示了下面的第二行:
static NSString *CellIdentifier = @"CustomCell";
CustomCellView *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
【问题讨论】:
标签: ios iphone uitableview ios4