views:

94

answers:

1

Hi,

It's my understanding that in order to move between xib files one usually uses either a Navigation Controller, Tab Controller, or Flipside Controller or combination of them.

But my question is- can I write my own custom controller, and use Core Animation to move between Views or are these default controllers (navigation/tab/flipside) the only options to transition between xib files?

+2  A: 

Yes you can. One way to do this is to have a root level view controller, call it RootViewController, that knows about the child view controllers. Then it's just a matter of setting up and running an animation block that removes one childViewController's view from RootViewController and adds another childViewController's view to RootViewController. The animation block would probably be triggered from some action method.

Rob Jones