The app I am developing has five view controllers.
Lets call them A, B, C, D, and E, with A as root view controller.
A will have four buttons to navigate to each of the other view controllers. Similarly, B, C, D, and E will have four buttons each to navigate to all other view controllers.
Is it a good idea to to use presentViewController:
to implement the navigation, since there is no clear hierarchy in the relationship of the view controllers? I don't think I clearly understand the presented vs presenter relationship.
Does the dismissal of the presented view controller have to be handled by the presenter?
Suppose A presents B, and B then presents C, and C then presents A. Are any of the controllers released/dismissed? Who is handling whose dismissal? When A is finally presented, is B still in the memory?
The other approach I thought of is to design and write a View Controller Container and manage all the view controllers. I have read this is not an easy territory to walk on.
Which of these makes more sense?