Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save bizz84/268bf70767e06e554b598809259abc91 to your computer and use it in GitHub Desktop.
Save bizz84/268bf70767e06e554b598809259abc91 to your computer and use it in GitHub Desktop.
// MARK: UITableViewDelegate
func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath) {
let cell = tableView.cellForRowAtIndexPath(indexPath)
if shouldPerformSegue(cell) {
self.performSegueWithIdentifier("CellDetailSegue", sender: cell)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment