0
如何在中切换btw单元格cellForRowAtIndexPath?Swift:在cellForRowAtIndexPath中切换tableview单元格
我必须创建一个var index = indexpath.row
吗?
如何在中切换btw单元格cellForRowAtIndexPath?Swift:在cellForRowAtIndexPath中切换tableview单元格
我必须创建一个var index = indexpath.row
吗?
switch (IndexPath.row)
case 0:
///// add code here
case 1:
//////add code here
default:
//////add code here
}
你是什么意思你需要切换btw单元,你需要交换数据还是什么? – Qazi