Created
October 5, 2017 12:45
-
-
Save koromiko/df132d8c3b00df3e7a97ca26f5d498a7 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
func tableView(_ tableView: UITableView, willSelectRowAt indexPath: IndexPath) -> IndexPath? { | |
self.viewModel.userPressed(at: indexPath) | |
if viewModel.isAllowSegue { | |
return indexPath | |
}else { | |
return nil | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment