Is there a way to have a single ContainerView with multiple embed segues? The aim is for a ContainerView to hold a few different ViewControllers depending on what buttons have b
I've achieved that by making use of -shouldPerformSegueWithIdentifier:sender:
. I have a container that is passed an object and depending on the type of this object decides which child view controller to show.
The structure seems a little over complicated but allows the base view controller to ignore the different types of tasks I have, leaving that to the container view controller. The container view controller has then multiple container views which segues are only performed depending on the type of task.
I don't know if you can actually perform the embed segues manually by calling -performSegueWithIdentifier:sender:
but that could also be a possibility.