Skip to content

Instantly share code, notes, and snippets.

@AndreyPanov
Created January 12, 2017 15:57
Show Gist options
  • Save AndreyPanov/6a7fb4374d61ead5a4b57f3e441bdc49 to your computer and use it in GitHub Desktop.
Save AndreyPanov/6a7fb4374d61ead5a4b57f3e441bdc49 to your computer and use it in GitHub Desktop.
CellForRow
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
if 🍌🍌 {
router.openControllerA()
} else if 🍌🍌🍌 {
router.openControllerB()
} else if 🍐 {
router.openControllerC()
} else if 🍐🍐 {
router.openControllerD()
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment