呼叫关闭导致Swift出错

问题描述:

我做错了什么? enter image description here呼叫关闭导致Swift出错

我有一个闭包,你可以在图像中看到。 CellType在控制器中被声明为ShoppingListTableViewCell。

您似乎试图将tableView.dequeueReusabeCellWithIdentiffier(..)转换为ShoppingListTableViewCell而不是CellType。 你确定你没有交换cell和shoppingList吗?

+0

谢谢!所有这些精益视图控制器的东西和极端的重构使代码难以阅读! –