Q:

How to use didSelectRowAtIndexPath to navigate to a specific tableview controller? (Swift)

I know I need to use didSelectRowAtIndexPath, but despite searching I can't seem to find a simple explanation.
I wish to use a TableView as an index for 10 other ViewControllers, but am having problems finding a simple resource that explains how to link each cell to a subsequent TableViewController.

A:

if you are getting Dictionary for bodyParts then you should use like this:
e.g. 
NSDictionary *bodyparts; //containg data from database
func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath) {

    let tblView = self.storyboard?.instantiateViewControllerWithIdentifier("Identifier") as UITableViewController
    switch(indexPath.row)
    {
        //data is array of tableviewcontorller
    case 0:
        tblView.Data = [bodyparts objectForKey:@"Arms"];//if You are getting array for key "Arms"
        break;
    case 1:
        tblView.Data = [bodyparts objectForKey:@"Legs"];
        break;
    and so on....
    default:
        break;
    }
}

you have to set storyboard identifier in storyboard

