Reputation: 13
How would I implement what is a Master-Detail View with another Detail view after?
So essentially a Master view with a TableView, Detail view with a Table View and then another Detail view with all the information. So you can select an item in the Master View which loads a TableView of items and then each item in that Detail view has its own details.
Basically a list of lists with details for sub-list's items.
Main Menu (multiple items within this list) -items (multiple items within this list) --details (details for each item in the list.
Upvotes: 0
Views: 279
Reputation: 104092
The segues don't fire because you made the segues from the one controller to the next controller. If you do that, you have to call the segue manually with performSegueWithIdentifier:sender:. However the better way is to delete those segues and remake them between the cell and the following controller -- the segue will then happen automatically when you tap the cell. You pass the data in prepareForSegue: using the sender argument (which will be the cell you touched) to get the indexPath and thus an index into the array you use to populate the tables.
Upvotes: 1