今天做项目的时候,在使用SKSTableView的时候,遇到这样子的问题
Assertion failure in -[SKSTableView _configureCellForDisplay:forIndexPath:], /SourceCache/UIKit_Sim/UIKit-2935.137/UITableView.m:6509,经排查,是因为在
-(UITableViewCell*)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath 返回值为nil,导致程序crash.