MVC UIViewController vs UIView advice
I have an app that I originally built using 4 separate UIViewControllers so that I could have my AppDelegate call the appropriate view controller for the specific layout and view configuration. It seemed reasonable at the time.
Now, I want the user to be able to change the layout while running the app, and it doesn't seem to make sense to dismiss the entire view controller to restart the app from the AppDelegate level.
So, I think I should split the current view controller up into parts, with the base viewController having all the common elements, and then have the variable layouts (which each have a bunch of buttons) as separate UIViews which I just read from a nib file so only one layout is in memory at a time.
I separated the UIView elements into separate .xib files, but...
The only problem with that is there doesn't seem to be an way to simply read in a UIView from a nib file to add them to the existing view controller.
For MVC, it was my understanding that you only have one VC active at a time, so using a separate viewController to read in the appropriate button layout for only one small section of the screen was not appropriate.
Am I understanding that properly, or is it perfectly fine to have one VC controlling the top and bottom of the screen, a 2nd VC to handle the button layout view on the left side of the screen and a 3rd VC to handle the text display with clipping of the view to show only a portion allowing the main background (controlled by the first VC) to show through?
Or, if only one can be active, how should I manage the individual views?
Once this is re-done, I plan to add views for the iPad, and just have to manage the views that are different between the platforms, so whatever mechanism I choose should als work for universal apps.
Thanks!