'UITableView dataSource must return a cell from tableView:cellForRowAtIndexPath:
该错误发生的原因是在创建tableViewCell时identifier的设置,需要在storybord中tableView 中,选中cell 并设置该属性
在代码中也需要根据该属性创建cell
+ (instancetype)cellWithTableView:(UITableView *)tableView
{
static NSString *identfier = @"contacts";//此行就是属性的设置
return [tableView dequeueReusableCellWithIdentifier:identfier];
}