【_NSArrayM objectAtIndex:】:index 0 beyond bounds for empty array
解决方法:
if
(indexPath.row< array.count) {
mainCell.model= array[indexPath.row];
mainCell.model= array[indexPath.row];
}
【_NSArrayM objectAtIndex:】:index 0 beyond bounds for empty array