Created
June 10, 2020 01:59
-
-
Save TungVuDuc2805/ea4395fc469eecafbc77df5e0508a563 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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