tableView.dequeueReusableCell(withIdentifier: cellID, for: indexPath)
作用:复用cell.可以用标识符从表视图中获得可重用单元格.for: indexPath通过指定单元格位置获得可重用单元格,不需要判断.
tableView.dequeueReusableCell(withIdentifier: cellID, for: indexPath)
作用:复用cell.可以用标识符从表视图中获得可重用单元格.for: indexPath通过指定单元格位置获得可重用单元格,不需要判断.