Incompatible pointer type initializing 'CustomCellView *' with an expression of type UItableViewCell

前端 未结 3 1925
灰色年华
灰色年华 2021-02-07 04:16

Can you help me understandand/fix the error below. I don\'t understand as CustomCellView is a subclass of UItableViewCell. The code gets compiled but t

3条回答
  •  野趣味
    野趣味 (楼主)
    2021-02-07 04:44

    static NSString *CellIdentifier = @"CustomCell";
    CustomCellView *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier forIndexPath:indexPath];
    

提交回复
热议问题