Hi I know this is my first post so hopefully I'm not breaking any rules, but I am trying to write my first app and have run into a problem which hopefully the following will explain. The app consists of a navigation bar and a tab bar controller and I push UIViewControllers on when a new page is selected. However with one view I have two views in the NIB/XIB that I wish to animate using a segmented control in the nav bar. So I push a new UIViewController with an empty NIB file and then try and load the UIView class in code and that is the bit I can't get to work. If I'm right from what I've read, for the animation I need a struct of UIView but the nav aspect of the app expects a struct of UIViewController. So what can I do to load the UIView class into the UIViewController class? Is the problem that I'm instanciating the view controller with a blank NIB? Your help would be appreciated but please bear in mind I'm new to this so accept I may not be doing it the correct way.