I'm doing a swift 2 course plus the version I'm using is 3, so I'm researching the codes when I have some error to do the fix, plus some I have not found.
Thank you if anyone can help
error: can not invoke initializer for type int with an argument of type ()
func tableView(_ tableView: UITableView, cellForRowAtIndexPath indexPath: IndexPath) -> UITableViewCell {
let cell = UITableViewCell(style:UITableViewCellStyle.default, reuseIdentifier:"cell")
let timesTabel = Int(btnSliderValor.value = 20) //erro
cell.textLabel?.text = String(timesTabel = indexPath.row)
return cell
}