I've been following this tutorial(www.vimeo.com/1450817) on using Multiple XIB files and I wanted more Transition animations besides flipping and Curling.
I've also came across the CATransition class and I wanted to use it but all the tutorial that I've seen with it shows how to use it only if there are views in the same XIB file.
so far this is my code with regular transition from the tutorial
-(void)flipToTypeFromMain
{
TypeViewController * aTypeView = [[TypeViewController alloc] initWithNibName:@"TypeView" bundle:nil];
[self setTypeViewController:aTypeView];
[aTypeView release];
[UIView beginAnimations:nil context:NULL];
[UIView setAnimationDuration:1.0];
[UIView setAnimationTransition:UIViewAnimationTransitionFlipFromLeft forView:window cache:YES];
[viewController.view removeFromSuperview];
[self.window addSubview:[typeViewController view]];
[UIView commitAnimations];
}
anyone know what I could do to use CATransition?