3
Good night,
I would like to know what is the difference between the parameters below, if one is but effective than the other, less chances of error etc. From what I see in practice both do the same thing. Ever since I thank.
1)
override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
let cell = tableView.dequeueReusableCell(withIdentifier:"cellName”, for: indexPath)
}
2)
override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
let cell = UITableViewCell(style: UITableViewCellStyle.default, reuseIdentifier: "cellName")
}
Thanks Andreza, for the clarification I had no idea.
– An. Jorge