Skip to content

Instantly share code, notes, and snippets.

@TungVuDuc2805
Created June 10, 2020 01:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TungVuDuc2805/1b288d9c36492d48cce7d0fba8d857c2 to your computer and use it in GitHub Desktop.
Save TungVuDuc2805/1b288d9c36492d48cce7d0fba8d857c2 to your computer and use it in GitHub Desktop.
override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
if indexPath.row == 0 {
//cell.model = models[indexPath.row]
} else if indexPath.row == 1 {
//cell.model = models[indexPath.row]
}
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment