Skip to content

Instantly share code, notes, and snippets.

@TungVuDuc2805
Created June 10, 2020 01:59
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/ea4395fc469eecafbc77df5e0508a563 to your computer and use it in GitHub Desktop.
Save TungVuDuc2805/ea4395fc469eecafbc77df5e0508a563 to your computer and use it in GitHub Desktop.
override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
if indexPath.row == 0 {
//cell.imageView.image = ...
//cell.titleLabel.text = ...
} else if indexPath.row == 1 {
//configure cell type 2
}
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment