UINavigationController & UITableviewController with different number of sublevels
===

I'm working in an app with 1 master table view.

There are cells leading to a detailview after going through 1, 2 or 3 tableview levels based on certain parameters (for example BOOL sub).

The app behaviour is as follows:
                          
UINavigationController -> UITableViewController (sub == YES) -> UITableViewController (sub == NO)-> DetailViewController

UINavigationController -> UITableViewController (sub == YES) -> UITableViewController (sub == YES) -> UITableViewController (sub == NO) -> DetailViewController

And so on (max 3 levels).

Someone knows how to do that (using storyboard) with just 1 UITableViewController? 

Thanks in advance.