【发布时间】:2017-05-18 16:21:19
【问题描述】:
我想修改这段代码
for (var i = tableView(self.tableView , numberOfRowsInSection: 0) - 1; i>0; i-=1 ) {
tableViewHeight = height + tableView(self.tableView, heightForRowAtIndexPath: NSIndexPath(forRow: i, inSection: 0) )
}
到斯威夫特。我在 for 处遇到错误。
【问题讨论】: