One of the table view delegate methods handles row taps. I'm not in front of my dev computer right now so I can't give you the actual function prototype, but you can find it in the documentation. Just put your code to load and push a new view controller in that function. You can easily make each row do something different by checking the values stored in the indexPath variable that's passed to that function.
|