I have a grouped table view with multiple cells in each group.What I want is, when user selects any perticular cell; I want to show child element of the particular selected cell.
For example: If user selects "A" then I should show "A1","A2","A3"... Or "B" then it should show "B1","B2","B3"...**In another viewcontroller’s table object.**
There is no restriction on hard-coding the child values. My segue is connected from the table view to another viewcontroller.
In your second view controller create a property
and synthesize it in .m file
In your first tableview controller create an ivar
and in your table delegate
Now implement the following function it will run right when you trigger your segue
Now in your SecondView controller with the help of parentIndex you know, which section’s which row was selected and you can display the data accordingly
Same way you can even pass the data Array for your child cells.
Hope this will help you,