0
我想遍歷包含自定義類「tempCell」的單元格的UITableView中的單元格,但是,我收到錯誤type of expression is ambiguous without more context
。遍歷UITableView中的自定義單元格
for cell in tableView.visibleCells() {
if let customCell as? TempCell {
customCell.textField.enabled = false
}
}