I\'m making a navigation controller class for Mac OS X.
I want to replace the current view with a kCATransitionPush animation. Like in this post:
kCATransitionPush
Add below code
CATransition *transition = [CATransition animation]; transition.type = kCATransitionPush; transition.subtype = kCATransitionFromLeft; [transition setDuration:0.5]; [self.view.layer addAnimation:transition forKey:kCATransition];