Let give you an example to help clarify my question.
So I have a list of different types of restaurants: American, Chinese, Indian, etc set up in a table view.
I looking to, that upon selection of one of these types of restaurants, it brings you to a list of restaurants associated with that type of food.
So if a user clicked on American- you would be presented with a list of american restaurants such as Big Boy, McDonalds, etc.
I understand how to create the table view and list associated with the table, but I am unsure how to go about creating conditional segues for each cell/row. Do you have any ideas/suggestions I should look into? A code example would be extremely helpful as well.
I believe the action requires setting up an index path.row for each type of restaurant type, but I am unsure how to go about it.
Any help would be appreciated. thanks!
So I have a list of different types of restaurants: American, Chinese, Indian, etc set up in a table view.
I looking to, that upon selection of one of these types of restaurants, it brings you to a list of restaurants associated with that type of food.
So if a user clicked on American- you would be presented with a list of american restaurants such as Big Boy, McDonalds, etc.
I understand how to create the table view and list associated with the table, but I am unsure how to go about creating conditional segues for each cell/row. Do you have any ideas/suggestions I should look into? A code example would be extremely helpful as well.
I believe the action requires setting up an index path.row for each type of restaurant type, but I am unsure how to go about it.
Any help would be appreciated. thanks!