For my application, I have one UIViewController
and about 8 UIView
s. The views are all properties of the view controller, linked via the Interface Builder (IBOutlet
). So when the view controller loads, all of the views are also loaded, and I have built-in methods to switch back and forth between the different views.
Is it bad to have them all linked to one view controller -- should each view have its own view controller? Because they're all linked to one, I'm assuming they're all in memory at the same time and are never released because the view controller itself is never released.
What is the standard practice for this?