Ste*_*eve 20 iphone uitableview ios4 ios
你能帮我理解和/解决下面的错误.我不明白这CustomCellView是一个子类UItableViewCell.代码被编译但警告仍然存在:
Incompatible pointer type initializing 'CustomCellView *' with an expression of type `UItableViewCell`
Run Code Online (Sandbox Code Playgroud)
我得到了第二行高亮度:
static NSString *CellIdentifier = @"CustomCell";
CustomCellView *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
Run Code Online (Sandbox Code Playgroud)
Pra*_*n-K 41
static NSString *CellIdentifier = @"CustomCell";
CustomCellView *cell =(CustomCellView*) [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
Run Code Online (Sandbox Code Playgroud)
你需要输入你的单元格
| 归档时间: |
|
| 查看次数: |
10232 次 |
| 最近记录: |