Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save daniloc/9c84c901e50f9a04b506b4920b18d968 to your computer and use it in GitHub Desktop.
Save daniloc/9c84c901e50f9a04b506b4920b18d968 to your computer and use it in GitHub Desktop.
override func tableView(_ tableView: UITableView, willSelectRowAt indexPath: IndexPath) -> IndexPath? {
if (indexPath.section == TableSections.staticSection.rawValue) {
return nil
} else {
return indexPath
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment