Skip to content

Instantly share code, notes, and snippets.

@c1800054work
Created March 24, 2022 10:29
Show Gist options
  • Select an option

  • Save c1800054work/3c4d0fe37244809684a13f199681fabf to your computer and use it in GitHub Desktop.

Select an option

Save c1800054work/3c4d0fe37244809684a13f199681fabf to your computer and use it in GitHub Desktop.
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
let cell: UITableViewCell = tableView.dequeueReusableCell(withIdentifier: "cell") ?? UITableViewCell(style: .value2, reuseIdentifier: "cell")
cell.textLabel?.text = "left"
cell.detailTextLabel?.text = "right"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment