Hi,
I have a view controller and I want to host a UITabBar on it. When the user clicks on different tab items, I want to show different views. I have this working, but it's hard to maintain.
In InterfaceBuilder, I simply created all my tab views, hide them. In my project, when the user clicks on one of the tab items, I simply set the hidden property of the linked view to false so it appears.
The xib looks like a disaster though, because I have about 4 views layered on top of one another. To make things easier, I set the hidden property to true in InterfaceBuilder for the views, hoping it would completely hide some so it's easier to see what I'm doing. InterfaceBuilder simply changes the view's opacity to like 30% though, so you still see them all layered on top of one another.
I'm wondering if there is a better way to do this. I don't want to programatically generate all the views for this UI if possible.
Thanks