UIView swapping


I have the following scenario

I have two xib files. One of these xibs is the Main view (loads automatically when application launches). The main view has a button. When I touch the button, the second view loads (slides into place).

I want to use the Page curl animation to load the second xib file. I don’t know how to do this. Any help would be appreciated.