I have added a segment controller in the navigation bar. The segment controller has 3 segments. The first one is "My Schedule", "Others Schedule", "Options". So when the app is loaded the "My Schedule" is selected by default. It shows a tableview with 10 cells. When any one of the cell is clicked, it navigates to a second page with the detailed information of the schedule. Similarly, when the second segment is clicked, it should show the "Others schedule" with a similar navigation view. Could anyone help me understand or provide an example to connect the segmented controller to a table view..?