It might look simple but i am not able to figure it out for xcode 4.2. In older version there are option to set viewController but here i am not getting how to do.
In a view i have tab bar.I have added four items likes Services,history,favourites.
When i click on a Services it should move to serviceview class i mean .xib view of service class.when i click on history it should move to a .xib view of history class.so how do i do this?please anyone help me with sample code.Bcoz when i went through other tutorials there is a option in xib to set the view controller but in xcode 4.2 there is no option. so can anyone help me in doing this with sample code.
Your nib file should look like this:
You have to add ViewControllers or NavigationControllers to your TabBarController.
Drag and drop them from the side menu.
Then select your class:
And the nib file: