Possible Duplicate:
Xcode: Storyboard Tabbed Application Passing Data Back and Forth
Basically I have 2 view controllers
1st view controller : contains table view
2nd view controller: contains image view
I want to load the image on 2nd view controller based upon the value selected from table view (from 1st view contrller)
I know I can capture the value of selected cell using following code
NSString *CellVal = [[NSString alloc]init];
CellVal = [exercises objectAtIndex:indexPath.row];
but how do I refer the value of "CellVal" in 2nd View conroller ?