Created
July 13, 2016 21:24
-
-
Save bizz84/268bf70767e06e554b598809259abc91 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
// 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