我正在使用此方法返回故事板“dequeueReusableCellWithIdentifier”中已创建的单元格,这是代码
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
    static NSString *CellIdentifier = @"Cell";
    switch ( indexPath.row )
    {
        case 0:
            CellIdentifier = @"map";
            break;
        case 1:
            CellIdentifier = @"blue";
            break;
        case 2:
            CellIdentifier = @"red";
            break;
    }
    UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier: CellIdentifier     forIndexPath: indexPath];
    return cell;
}
但我有这个错误:'NSInternalInconsistencyException',原因:'无法使用标识符映射出列单元格 - 必须为标识符注册一个 nib 或一个类或连接故事板中的原型单元格
注意:我在情节提要中添加了标识符,因为它在这里但它不起作用,另一个重要的事情是:这个项目正在运行,但现在它停止了!!!!我从 appcoda.com 下载它